<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Time execution using bypassing buffer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307176#M1636212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the time difference comes from the fact that the first SELECT rwad from the db discs and the second from the db cache.&lt;/P&gt;&lt;P&gt;Sooner or later the data will not be in the cache and you will need the longer time again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table buffer is a different topic, I advise you to consult the sap.help first and come then back with a more specific question.&lt;/P&gt;&lt;P&gt;There are reasons why BYPASSING BUFFER is needed. But sometimes it is a bug. If the data would come from the buffer the time could go down by a factor of 10 or more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Nov 2011 12:43:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-11-02T12:43:16Z</dc:date>
    <item>
      <title>Time execution using bypassing buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307170#M1636206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I´m testing a performance of program. When i logon in system, I enter in SE30 and execute my program. In one select return to me 47.669.083 milisec. This select has BYPASSING BUFFER clause.&lt;/P&gt;&lt;P&gt;When i execute this program again in SE30, this return to me 5.452.061 milisec. in same select.&lt;/P&gt;&lt;P&gt;Why this happen? BYPASSING BUFFER doesn´t work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 10:38:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307170#M1636206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-28T10:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Time execution using bypassing buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307171#M1636207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This statement affects buffering in shared memory on the application server. There might be more levels of buffering/caching involved, e.g. on the database, that are not influenced by this statement.&lt;/P&gt;&lt;P&gt;It will take one of our real database buff(er)s in this forum to explain this in detail.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2011 13:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307171#M1636207</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-10-28T13:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Time execution using bypassing buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307172#M1636208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned by Thomas, the BYPASSING BUFFER addition avoids the usage of the SAP application server buffer always reading from the database.&lt;/P&gt;&lt;P&gt;The database itself has its own buffer (data cache) which is used to operate on data blocks. During the processing of a SELECT statement all involved data blocks are read from disk and placed into the buffer if they are not already there. Other statements will displace blocks from cache following simplier or more complex LRU-algorythms. If you execute your statement for the second time with a small delay, there is a high chance that many blocks are still in DB cache and do not have to be read from disk. That's why your second execution is much faster.&lt;/P&gt;&lt;P&gt;But if you wait for minutes/hours before executing the statement again, the corresponding blocks will be displaced from the cache and the next execution will be long again (due to the disk accesses).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 09:25:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307172#M1636208</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-10-31T09:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: Time execution using bypassing buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307173#M1636209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has any way to calculate time without any buffer? I try logoff and logon but not work, time was reduced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 13:11:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307173#M1636209</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-31T13:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: Time execution using bypassing buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307174#M1636210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Execute transaction ST05 in parallel with both SELECTs and then compare the explains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Not entirely sure this will work, but it may be worth a try.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On second thought, I doubt if this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Oct 31, 2011 9:55 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2011 13:46:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307174#M1636210</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-10-31T13:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Time execution using bypassing buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307175#M1636211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has any way to calculate time without any buffer? I try logoff and logon but not work, time was reduced.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hello Rodrigo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, there is a way. Wait for the long time (ideally one day or so) and before executing the coding switch the SQL trace on. Then you will have "documented" time of the first execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;  Yuri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 08:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307175#M1636211</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2011-11-02T08:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Time execution using bypassing buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307176#M1636212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the time difference comes from the fact that the first SELECT rwad from the db discs and the second from the db cache.&lt;/P&gt;&lt;P&gt;Sooner or later the data will not be in the cache and you will need the longer time again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table buffer is a different topic, I advise you to consult the sap.help first and come then back with a more specific question.&lt;/P&gt;&lt;P&gt;There are reasons why BYPASSING BUFFER is needed. But sometimes it is a bug. If the data would come from the buffer the time could go down by a factor of 10 or more.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Nov 2011 12:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/time-execution-using-bypassing-buffer/m-p/8307176#M1636212</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-11-02T12:43:16Z</dc:date>
    </item>
  </channel>
</rss>

