<?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: Shared memory &amp; table buffering in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581154#M1566386</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[SHMA/SHMM Presentation|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/98dedf90-0201-0010-7790-b299be258b63?quicklink=events&amp;amp;overridelayout=true]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's something I used for a presentation to my colleagues.   Not sure it helps, but check out the propogation settings and the lifetime settings...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jan 2011 13:17:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-01-26T13:17:49Z</dc:date>
    <item>
      <title>Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581151#M1566383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a transactional SAP screen which will be used by approximately 400 users simultaneously,&lt;/P&gt;&lt;P&gt;and I'm designing a good performance model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This program is using material master, customer master and some other master data too frequently,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than off course I'm using table buffering ( especially full buffering )  too improve the performance, &lt;/P&gt;&lt;P&gt;because master tables in our system is not being changed frequently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Here is my problem :&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created an area in shared object memory using transaction SHMA,&lt;/P&gt;&lt;P&gt;I'm storing an object there to store material master data and this object supplies me some methods &lt;/P&gt;&lt;P&gt;for fast searching like BINARY SEARCH technique etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything is working fine , different users are able to access this memory too quickly&lt;/P&gt;&lt;P&gt;by using attach / detach methods and search mechanism is very fast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my problem is about the server synchronization, &lt;/P&gt;&lt;P&gt;I should refresh the data in that shared object when our material master tables changed by a user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I mean I should read data again from database when the buffers of this tables are invalidated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP's buffer mechanism is already achieving this process by using profile parameter rdisp/bufretime (frequency )&lt;/P&gt;&lt;P&gt;and logging changes in table DDLOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to refresh when table buffer is invalidated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any function module that returns the buffer for a table is invalidated or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or how can I refresh my data parallel to SAP's buffer &lt;/P&gt;&lt;P&gt;without reading all data with SELECT a statement each read access ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your time reading this small novel &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bulent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 11:37:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581151#M1566383</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2011-01-26T11:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581152#M1566384</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;Isn't this done by preloading? Just look for the "Session ID: ABAP251" document on google. Part of this document handles preloading and it sounds to me that's what you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 12:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581152#M1566384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-26T12:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581153#M1566385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the answer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I've already read that document but it's not mentioning about how can I understand&lt;/P&gt;&lt;P&gt;database table has changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to use this before preloading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 12:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581153#M1566385</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2011-01-26T12:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581154#M1566386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;[SHMA/SHMM Presentation|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/98dedf90-0201-0010-7790-b299be258b63?quicklink=events&amp;amp;overridelayout=true]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's something I used for a presentation to my colleagues.   Not sure it helps, but check out the propogation settings and the lifetime settings...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 13:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581154#M1566386</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-26T13:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581155#M1566387</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;The link contains the same document unfortunately. I've already read this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 14:29:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581155#M1566387</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2011-01-26T14:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581156#M1566388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bulent,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sounds like you want to reimplement the table buffer synchronization for shared objects... i'm not sure whether this is a good idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can specify a life time for your shared objects. If you refresh your shared objects every few hours, is that not good enough? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The table buffers are synchronized every 2 minutes. Do you really need the changed master data that quickly in your shared objects? If so i would question the usage of shared objects i think. They were not designed for frequent updates or fast synchronization but for shared and copy free reading of data that changes rarely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However coming to your question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are the function modules:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SBUF_SEL_DDLOG_DATA&lt;/P&gt;&lt;P&gt;SBUF_SEL_DDLOG_RECS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the fist one tells you nr. of records an minimum and maximum time stamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the second one reads records for a given minimum and maximum time stamp and returns them&lt;/P&gt;&lt;P&gt;in this structure:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SYSTEM_ID&lt;/P&gt;&lt;P&gt;SEQ_NR&lt;/P&gt;&lt;P&gt;TIMESTAMP&lt;/P&gt;&lt;P&gt;CLASS&lt;/P&gt;&lt;P&gt;TABNAME&lt;/P&gt;&lt;P&gt;MODE&lt;/P&gt;&lt;P&gt;KEY_LNG&lt;/P&gt;&lt;P&gt;KEY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you could check for TABNAME.... .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- the function modules are not released&lt;/P&gt;&lt;P&gt;- polling DDLOG frequently adds load on your system&lt;/P&gt;&lt;P&gt;- i would probaly not do this in a production system but instead work with the life time of shared objects&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 15:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581156#M1566388</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2011-01-26T15:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581157#M1566389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; The table buffers are synchronized every 2 minutes.&lt;/P&gt;&lt;P&gt;But only if necessary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;He said:&lt;/P&gt;&lt;P&gt;&amp;gt;because master tables in our system is not being changed frequently.&lt;/P&gt;&lt;P&gt;so it is the question how often something changes. It can be there are only one or two changes in a day, but after the change the shared objects should also be adapted in few minutes. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can schedule a check of the DDLOG entries and trigger an update of the shared objects if necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you should also store the time stamp of each shared objects update and should prevent that can become to frequent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 16:32:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581157#M1566389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-26T16:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581158#M1566390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &amp;gt; The table buffers are synchronized every 2 minutes.&lt;/P&gt;&lt;P&gt;&amp;gt; But only if necessary. &lt;/P&gt;&lt;P&gt;agreed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; So you can schedule a check of the DDLOG entries and trigger an update of the shared objects if necessary.&lt;/P&gt;&lt;P&gt;&amp;gt; However, you should also store the time stamp of each shared objects update and should prevent that can &lt;/P&gt;&lt;P&gt;&amp;gt; become to frequent.&lt;/P&gt;&lt;P&gt;good idea. with this measures reading only intervals every few minutes and checks that it is not updated too &lt;/P&gt;&lt;P&gt;often... i think as well: why not? &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 16:43:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581158#M1566390</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2011-01-26T16:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581159#M1566391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Dear Siegfried and Hermann, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for allocating your time,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually SAP application servers are already checking the invalidated table buffer records from DDLOG,&lt;/P&gt;&lt;P&gt;in cycles of profile parameter rdisp/bufreftime. ( The default value of this parameter 120 seconds in transaction RZ11 )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And than if the buffer is invalidated for a table, data of this table will be reloaded from database &lt;/P&gt;&lt;P&gt;on next - first SELECT statement from that application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the application server knows that buffers is invalidated. Keeping this information somewhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I was actually asking is there any system function or function module exists in system to get this information...&lt;/P&gt;&lt;P&gt;it would be more useful if exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But keeping the last timestamp in a shared object attribute and checking the DDLOG at regular intervals is a good idea,&lt;/P&gt;&lt;P&gt;it won't create a load on system and I can make the interval time as a customizable parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anymore I can put a spoiler behind the system after doing this for all necessary master data &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bulent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 21:27:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581159#M1566391</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2011-01-26T21:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581160#M1566392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;By the way,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if anyone reading this thread has information about the system function or function module I mentioned above,&lt;/P&gt;&lt;P&gt;it still would be very useful for me. Please let us know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 21:32:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581160#M1566392</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2011-01-26T21:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581161#M1566393</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 see what you mean... .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what you want is the status of a buffered table from the local apllication server, right?&lt;/P&gt;&lt;P&gt;In case it is not valid (it had DDLOG records and got invalidated) you will trigger an update of&lt;/P&gt;&lt;P&gt;your shared objects. In that case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For generic or fully buffered tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SBUF_GENERIC_SHOW_OBJECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input -&amp;gt; tabname     output -&amp;gt;  stat_id  (status) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For single record buffered tables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SBUF_PARTIAL_SHOW_OBJECT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;input -&amp;gt; tabname     output -&amp;gt;  stat_id  (status) &lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 07:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581161#M1566393</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2011-01-27T07:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581162#M1566394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; So the application server knows that buffers is invalidated. Keeping this information somewhere.&lt;/P&gt;&lt;P&gt;This is relevant, because there are lots of tables, you must decide something on the basis of the tables connected to your shared object. I see nothing simpler than to check whether the connected tables have created DDLOG entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;And than if the buffer is invalidated for a table, data of this table will be reloaded from database &lt;/P&gt;&lt;P&gt;&amp;gt;on next - first SELECT statement from that application server.&lt;/P&gt;&lt;P&gt;no, not on the next SELECT ... there are several SELECTs which go to the database (pending and loadable buffer status). The buffer is not loaded with the next SELECT and it is only for the for application server on which this SELECT appears. Only the local application server on which the update was executed has always an up-to-date buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the table buffer keeps the load from the invalidations small, what you should also do if the shared object is invalidated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 12:31:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581162#M1566394</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-01-27T12:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581163#M1566395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Siegfried,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I researched about it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes you are right ..  buffer of the application server is not being refreshed at next first select &lt;/P&gt;&lt;P&gt;after an invalidation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Documents I found says next "n" read access are forwarded to database to protect buffer frequent invalidations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use st02 to display status of buffer for a table, after I modify a full buffered table&lt;/P&gt;&lt;P&gt;status is set to "pending" and I use st05 to understand buffer used or not .. Buffer is not used for a long time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Than I wrote a small a program to send 1000 select pieces to that table.. but the status "pending" is not being changed.. &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After a period of 24 hours I checked the st02.. is still the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u clarify me when the buffer gets status "valid" again? &lt;/P&gt;&lt;P&gt;Is it belong to a profile parameter? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use many of tables except for my shared memory object,&lt;/P&gt;&lt;P&gt;so this pending period can cause a countable load for our system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jan 2011 09:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581163#M1566395</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2011-01-29T09:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581164#M1566396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And Dear Hermann&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The functions SBUF_GENERIC_SHOW_OBJECT and SBUF_PARTIAL_SHOW_OBJECT&lt;/P&gt;&lt;P&gt;are exactly what I'm looking for when I was posting this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jan 2011 09:07:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581164#M1566396</guid>
      <dc:creator>bbalci</dc:creator>
      <dc:date>2011-01-29T09:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Shared memory &amp; table buffering</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581165#M1566397</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;&amp;gt; Can u clarify me when the buffer gets status "valid" again? &lt;/P&gt;&lt;P&gt;&amp;gt; Is it belong to a profile parameter? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes. Check parmeters documentation for&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; zcsa/sync_reload_c &lt;/P&gt;&lt;P&gt; zcsa/inval_reload_c &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in RZ11. However these parameters should not be changed&lt;/P&gt;&lt;P&gt;in production systems. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the table that was not loaded anymore... was there enough free space&lt;/P&gt;&lt;P&gt;in the table buffer available? Was your statement able to use the buffer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw: you can find more information about table buffer usage here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-press.com/products/ABAP-Performance-Tuning.html" target="test_blank"&gt;http://www.sap-press.com/products/ABAP-Performance-Tuning.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jan 2011 12:57:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-table-buffering/m-p/7581165#M1566397</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2011-01-29T12:57:11Z</dc:date>
    </item>
  </channel>
</rss>

