<?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 buffer in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer/m-p/2232719#M480541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai, experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    by creating table y ru used buffer maintains alloed/restriction, buffer allowed , buffer not allowed  plz send the answer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2007 02:57:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-25T02:57:50Z</dc:date>
    <item>
      <title>buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer/m-p/2232719#M480541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai, experts&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    by creating table y ru used buffer maintains alloed/restriction, buffer allowed , buffer not allowed  plz send the answer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 02:57:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer/m-p/2232719#M480541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T02:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer/m-p/2232720#M480542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI SHEIK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF WE DOES NOT GIVE BUFFER OPTIONS, WHEN WE ARE GOING TO ACCESS DATA FROM THE TABLE THEN DIRECTLY WE HAVE TO HIT ON THE DATABASE, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we enable buffer maintenance option allowed it will be buffered in Application server, If we want to access same table mmultiple times then for us no need to go to database, we can fetch data from AS with which performance will be increased alot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 04:20:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer/m-p/2232720#M480542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T04:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer/m-p/2232721#M480543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through this info.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buffering&lt;/P&gt;&lt;P&gt;You must define whether and how a table is buffered in the&lt;/P&gt;&lt;P&gt;technical settings for the table. There are three possibilities&lt;/P&gt;&lt;P&gt;here:&lt;/P&gt;&lt;P&gt;1&amp;gt; Buffering not permitted: Table buffering is not permitted,&lt;/P&gt;&lt;P&gt;for&lt;/P&gt;&lt;P&gt;example because application programs always need the&lt;/P&gt;&lt;P&gt;most&lt;/P&gt;&lt;P&gt;recent data from the table or the table is changed too&lt;/P&gt;&lt;P&gt;frequently.&lt;/P&gt;&lt;P&gt;2&amp;gt; Buffering permitted but not activated: Buffering is&lt;/P&gt;&lt;P&gt;permitted from the business and technical points of view.&lt;/P&gt;&lt;P&gt;Applications which access the table execute correctly with&lt;/P&gt;&lt;P&gt;and without table buffering.&lt;/P&gt;&lt;P&gt;Whether or not table buffering will result in a gain in&lt;/P&gt;&lt;P&gt;performance depends on the table size and access profile&lt;/P&gt;&lt;P&gt;of the table (frequency of the different types of table&lt;/P&gt;&lt;P&gt;access).&lt;/P&gt;&lt;P&gt;Table buffering is deactivated because it is not possible to&lt;/P&gt;&lt;P&gt;know what these values will be in the customer system. If&lt;/P&gt;&lt;P&gt;table buffering would be advantageous for the table size and&lt;/P&gt;&lt;P&gt;access profile of the table, you can activate it in the customer&lt;/P&gt;&lt;P&gt;system at any time.&lt;/P&gt;&lt;P&gt;3&amp;gt; Buffering activated: The table should be buffered. In this&lt;/P&gt;&lt;P&gt;case you must specify a buffering type.&lt;/P&gt;&lt;P&gt;Buffering types:&lt;/P&gt;&lt;P&gt;1&amp;gt; Single-Record buffering&lt;/P&gt;&lt;P&gt;With single-record buffering, only the records that are actually&lt;/P&gt;&lt;P&gt;read are loaded into the buffer. Single-record buffering therefore&lt;/P&gt;&lt;P&gt;requires less storage space in the buffer than generic and full&lt;/P&gt;&lt;P&gt;buffering. The administrative costs in the buffer, however, are&lt;/P&gt;&lt;P&gt;greater than for generic or full buffering. Considerably more&lt;/P&gt;&lt;P&gt;database accesses are necessary to load the records than for&lt;/P&gt;&lt;P&gt;the other buffering types.&lt;/P&gt;&lt;P&gt;When Should you Use Single-Record Buffering?&lt;/P&gt;&lt;P&gt;Single-record buffering should be used particularly for&lt;/P&gt;&lt;P&gt;large tables where only a few records are accessed with&lt;/P&gt;&lt;P&gt;SELECT SINGLE. The size of the records being accessed&lt;/P&gt;&lt;P&gt;should be between 100 and 200 KB.&lt;/P&gt;&lt;P&gt;Full buffering is usually more suitable for smaller tables&lt;/P&gt;&lt;P&gt;that are accessed frequently. This is because only one&lt;/P&gt;&lt;P&gt;database access is necessary to load such a table with full&lt;/P&gt;&lt;P&gt;buffering, whereas several database accesses are&lt;/P&gt;&lt;P&gt;necessary for single-record buffering.&lt;/P&gt;&lt;P&gt;2&amp;gt; Generic buffering&lt;/P&gt;&lt;P&gt;With generic buffering, all the records in the buffer whose&lt;/P&gt;&lt;P&gt;generic key fields match this record are loaded when one&lt;/P&gt;&lt;P&gt;record of the table is accessed. The generic key is a part of&lt;/P&gt;&lt;P&gt;the primary key of the table that is left-justified.&lt;/P&gt;&lt;P&gt;3&amp;gt; Full buffering&lt;/P&gt;&lt;P&gt;With full buffering, either the entire table is in the&lt;/P&gt;&lt;P&gt;buffer or the table is not in the buffer at all. All the&lt;/P&gt;&lt;P&gt;records of the table are loaded into the buffer when&lt;/P&gt;&lt;P&gt;one record of the table is read.&lt;/P&gt;&lt;P&gt;When Should you Use Full Buffering?&lt;/P&gt;&lt;P&gt;When deciding whether a table should be fully buffered, you&lt;/P&gt;&lt;P&gt;should take into account the size of the table, the number of&lt;/P&gt;&lt;P&gt;read accesses,&lt;/P&gt;&lt;P&gt;and the number of write accesses. Tables best suited to full&lt;/P&gt;&lt;P&gt;buffering are small, read frequently, and rarely written.&lt;/P&gt;&lt;P&gt;Full buffering is recommended in the following cases:&lt;/P&gt;&lt;P&gt;Tables up to 30 KB in size. If a table is accessed frequently, but&lt;/P&gt;&lt;P&gt;allaccesses are read accesses, this value can be exceeded.&lt;/P&gt;&lt;P&gt;However, youshould always pay attention to the buffer&lt;/P&gt;&lt;P&gt;utilization.&lt;/P&gt;&lt;P&gt;Larger tables where large numbers of records are frequently&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Provide some points if it is helpful.&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;P.Naganjana Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 04:22:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer/m-p/2232721#M480543</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-25T04:22:37Z</dc:date>
    </item>
    <item>
      <title>Re: buffer</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffer/m-p/2232722#M480544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sheik, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Here are some info about buffering of table and esp about generic biffering .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    With generic buffering, all the records in the buffer whose generic key fields match this record are loaded when one record of the table is accessed. The generic key is a part of the primary key of the table that is left-justified.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When Should you Use Full Buffering?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table should be buffered generically if only certain generic areas of the table are normally needed for processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Client-specific, fully-buffered tables are automatically generically buffered since normally it is not possible to work in all clients at the same time on an application server. The client field is the generic key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Language-specific tables are another example where generic buffering is recommended. In general, only records of one language will be needed on an application server. In this case, the generic key includes all the key fields up to and including the language field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How Should you Define the Generic Key?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In generic buffering, it is crucial to define a suitable generic key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the generic key is too small, the buffer will contain a few very large areas. During access, too much data might be loaded in the buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the generic key is too large, the buffer might contain too many small generic areas. These can reduce buffer performance since there is an administrative entry for every buffered generic area. It is also possible that too many accesses will bypass the buffer and go directly to the database, since they do not fully define the generic key of the table. If there are only a few records in each generic area, it is usually better to fully buffer the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only 64 bytes of the generic key are used. You can specify a longer generic key, but the part of the key exceeding 64 bytes is not used to create the generic areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access to Buffered Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It only makes sense to generically buffer a table if the table is accessed with fully-specified generic key fields. If a field of the generic key is not assigned a value in a SELECT statement, it is read directly from the database, bypassing the buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you access a generic area that is not in the buffer with a fully-specified generic key, you will access the database to load the area. If the table does not contain any records in the specified area ("No record found"), this area in the buffer is marked as non-existent. It is not necessary to access the database if this area is needed again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful !&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2007 05:27:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffer/m-p/2232722#M480544</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-04-25T05:27:47Z</dc:date>
    </item>
  </channel>
</rss>

