<?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: Buffering ????? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789837#M339865</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of hitting the database table again &amp;amp; again we used to buffer the data.&lt;/P&gt;&lt;P&gt;to reduce the network we go to buffering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while creating table itself we will specify whether the table to be buffered or not.&lt;/P&gt;&lt;P&gt;If buffered we have to specify the type .See the technical setting in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u want the updated data from the table means we have to use &lt;/P&gt;&lt;P&gt;select query with bypass buffer option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2006 06:16:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-12-20T06:16:38Z</dc:date>
    <item>
      <title>Buffering ?????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789835#M339863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;                  could anyone explain me what is buffering in data dictionary? what is the use of it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ramana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 06:12:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789835#M339863</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T06:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering ?????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789836#M339864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check sap help.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_47x200/helpdata/en/c4/3a6de2505211d189550000e829fbbd/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_47x200/helpdata/en/c4/3a6de2505211d189550000e829fbbd/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 06:14:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789836#M339864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T06:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering ?????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789837#M339865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;instead of hitting the database table again &amp;amp; again we used to buffer the data.&lt;/P&gt;&lt;P&gt;to reduce the network we go to buffering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;while creating table itself we will specify whether the table to be buffered or not.&lt;/P&gt;&lt;P&gt;If buffered we have to specify the type .See the technical setting in table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u want the updated data from the table means we have to use &lt;/P&gt;&lt;P&gt;select query with bypass buffer option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 06:16:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789837#M339865</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T06:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering ?????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789838#M339866</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;Buffering  means of keeping the table data in the buffer of the application server after the first access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buffering allows you to read the data from main memory next time it is accessed, thus saving a further database access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The buffering type is defined in the technical settings for a table.&lt;/P&gt;&lt;P&gt;There are three types of buffering:&lt;/P&gt;&lt;P&gt;Full buffering: All the records of the table are loaded into the buffer when one record of the table is accessed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generic buffering: When a record of the table is accessed, all the records having this record in the generic key fields (part of the table key that is left-justified, identified by specifying a number of key fields) are loaded into the buffer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Single-record buffering: Only the records of a table that are really accessed are loaded into the buffer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just have a look at these links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="274144"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gunasree.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 06:24:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789838#M339866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-20T06:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Buffering ?????</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789839#M339867</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;Whenever an Open SQL statement is used to read a record, the data buffer is checked first to see whether it is there. If not, the data is read from the database. If the table's attributes indicate that the data should be buffered, the record is saved in RAM on the application server in data buffers. Later, if that record is read again, it is read from the buffer instead of the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By buffering data, you increase performance in two important ways: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The programs using the buffered data run faster because they don't have to wait for it to come from the database. This reduces delays waiting for the database and the network that connects it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other programs that need to access the database run faster because there is less load on the database and less traffic on the network. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Three types of buffering are possible: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full buffering &lt;/P&gt;&lt;P&gt;Generic buffering &lt;/P&gt;&lt;P&gt;Single-record buffering &lt;/P&gt;&lt;P&gt;Although you use a check box to indicate the buffering type, only one type can be selected at a time. If you choose more than one, an error message will be displayed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two data buffers on each application server, and the buffering type chosen determines which buffer is used. On an application sever there are: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The generic record buffer &lt;/P&gt;&lt;P&gt;The single-record buffer &lt;/P&gt;&lt;P&gt;The generic record buffer is called TABL (short for "table"). The single-record buffer is TABLP ("P"' stands for "partial"). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full Buffering:&lt;/P&gt;&lt;P&gt;To activate the full buffering type, tickmark the Full check box. When an attempt is made to read data from a fully buffered table, the system looks in the TABL buffer for it. If it is not found there, all rows are loaded from the database into TABL . This happens whenever a select statement for it is executed, no matter how many records match the where clause. Even if no records match, all are loaded into the buffer if the table is not already there or if it has been invalidated due to buffer synchronization. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loading of TABL does not occur with select single statements; only select/ endselect does this. If the table is fully buffered and a select single statement is executed, no records are loaded into TABL. However, if the table is already loaded into TABL, select single will read records from it. &lt;/P&gt;&lt;P&gt;During buffer synchronization, the entire table is invalidated if any record within it changes. The next time data is read the entire table is reloaded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Full buffering is appropriate for small tables that seldom change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generic Buffering:&lt;/P&gt;&lt;P&gt;With generic buffering, a group of records is loaded into TABL instead of the entire table. To activate this type of buffering, tickmark the Generic check box and put a number n in the No. of Key Fields so that the n left-most fields of the primary key will group records. When a record is read and n is 1, all records having the same value in the first field of the primary key are loaded into the buffer. When a record is read and n is 2, all records having the same value in the first two fields of the primary key are loaded into the buffer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generic buffering is suitable for tables in which records are usually accessed in sets or groups. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Single Record Buffering:&lt;/P&gt;&lt;P&gt;With this type of buffering, select single picks one record into the single record buffer TABLP. With this buffering type, records are only buffered when the select single statement is executed. Select/endselect does not load or read TABLP. &lt;/P&gt;&lt;P&gt;Single-record buffering is appropriate for very large tables in which a small percentage of the records are read often. For single-record buffering to work, records must be read using the select single statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two buffers: TABL (the generic record buffer) and TABLP (the single record buffer). There are also two varieties of the select statement: select and select single. The select statement loads TABL and the select single statement loads TABLP. &lt;/P&gt;&lt;P&gt;When reading, select only reads TABL; it ignores TABLP. select single reads both buffers. This behavior is summarized in Figure 5.20. Remember that a record can only be in one buffer at a time because a table can only have one buffering type. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2006 06:27:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/buffering/m-p/1789839#M339867</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-20T06:27:14Z</dc:date>
    </item>
  </channel>
</rss>

