<?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: database table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366154#M807768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;tables: which  contain  MANDT field Means  It  is a Client  Dependent  TABLE  and  IF not  It  is  a Client  Indipendent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cluster tables and Pooled tables have many to one relationship with the underlying database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table pool corresponds to a table in the database in which all records from the pooled tables assigned to it are stored.&lt;/P&gt;&lt;P&gt;Several logical data records from different cluster tables can be stored together in one physical record in a table cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A pooled table cannot have the name having more than 10 characters. &lt;/P&gt;&lt;P&gt;All the key fields of the pooled table must be of character data type. &lt;/P&gt;&lt;P&gt;In pooled tables, the maximum length of the key field/data fields should not exceed the length of varkey/vardata of the pool respectively. &lt;/P&gt;&lt;P&gt;In cluster table the records having the same key are stored in a single key in the cluster. &lt;/P&gt;&lt;P&gt;If there is an overflow of the data records a continuation record is created with the same table key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Feb 2008 11:20:56 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-02T11:20:56Z</dc:date>
    <item>
      <title>database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366148#M807762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what are the client independent table and&lt;/P&gt;&lt;P&gt;what are the dependent tables?&lt;/P&gt;&lt;P&gt; what is difference between pooled, cluster tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 13:44:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366148#M807762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-01T13:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366149#M807763</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;A table is client independent, if the first key field of it is not the MANDT field (you can check it in SE11 transaction).&lt;/P&gt;&lt;P&gt;A table is client dependent, if the first key field of it is the MANDT field (you can check it in SE11 transaction).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 13:47:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366149#M807763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-01T13:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366150#M807764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;client dependent tables - tables which are having client field as primary key field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;client indepent tables - not having client field as primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cluster and polled tables  chk below link -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f083446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21f083446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 13:51:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366150#M807764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-01T13:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366151#M807765</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;1) Client dependent table is that table which contains Field name as&lt;/P&gt;&lt;P&gt;   MANDT (not compulsory.it can be any thing)  but must have type as CLNT (Compulsory).&lt;/P&gt;&lt;P&gt;2) And which does not contain is client independent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 16:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366151#M807765</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-01T16:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366152#M807766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can find the answer by searching this forum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click 'search forum'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter 'difference pooled cluster table' or any such question before actually putting the question for discussion. That saves lot of either sides effort.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read through the replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rahul Dwivedi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2008 17:54:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366152#M807766</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-01T17:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366153#M807767</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;Client independent tables dosent have MANDT field.&lt;/P&gt;&lt;P&gt;Client dependent tables have first key field MANDT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cluster tables and Pooled tables have many to one relationship with the underlying database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table pool corresponds to a table in the database in which all records from the pooled tables assigned to it are stored.&lt;/P&gt;&lt;P&gt;Several logical data records from different cluster tables can be stored together in one physical record in a table cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A pooled table cannot have the name having more than 10 characters. &lt;/P&gt;&lt;P&gt;All the key fields of the pooled table must be of character data type. &lt;/P&gt;&lt;P&gt;In pooled tables, the maximum length of the key field/data fields should not exceed the length of varkey/vardata of the pool respectively. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In cluster table the records having the same key are stored in a single key in the cluster. &lt;/P&gt;&lt;P&gt;If there is an overflow of the data records a continuation record is created with the same table key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2008 02:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366153#M807767</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-02T02:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366154#M807768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;tables: which  contain  MANDT field Means  It  is a Client  Dependent  TABLE  and  IF not  It  is  a Client  Indipendent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cluster tables and Pooled tables have many to one relationship with the underlying database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table pool corresponds to a table in the database in which all records from the pooled tables assigned to it are stored.&lt;/P&gt;&lt;P&gt;Several logical data records from different cluster tables can be stored together in one physical record in a table cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A pooled table cannot have the name having more than 10 characters. &lt;/P&gt;&lt;P&gt;All the key fields of the pooled table must be of character data type. &lt;/P&gt;&lt;P&gt;In pooled tables, the maximum length of the key field/data fields should not exceed the length of varkey/vardata of the pool respectively. &lt;/P&gt;&lt;P&gt;In cluster table the records having the same key are stored in a single key in the cluster. &lt;/P&gt;&lt;P&gt;If there is an overflow of the data records a continuation record is created with the same table key.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2008 11:20:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366154#M807768</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-02T11:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366155#M807769</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;when we add a field MANDT of type MANDT then our table is client dependent&lt;/P&gt;&lt;P&gt; and is visible to only that client. But if this Field is not added to the &lt;/P&gt;&lt;P&gt;table then we can access the table using any client number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables which can be access by all user are client independent (no mandt field in table) &lt;/P&gt;&lt;P&gt;tables which can be access by some specific user are client dependent (use mandt field in table)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table pools (pools) and table clusters (clusters) are&lt;/P&gt;&lt;P&gt;special table types in the ABAP Dictionary. The data from&lt;/P&gt;&lt;P&gt;several different tables can be stored together in a table&lt;/P&gt;&lt;P&gt;pool or table cluster. Tables assigned to a table pool or&lt;/P&gt;&lt;P&gt;table cluster are referred to as pooled tables or cluster&lt;/P&gt;&lt;P&gt;tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Pools&lt;/P&gt;&lt;P&gt;===========&lt;/P&gt;&lt;P&gt;A table pool or table cluster should be used exclusively for&lt;/P&gt;&lt;P&gt;storing internal control information (screen sequences,&lt;/P&gt;&lt;P&gt;program parameters, temporary data, continuous texts such as&lt;/P&gt;&lt;P&gt;documentation). Data of commercial relevance is usually&lt;/P&gt;&lt;P&gt;stored in transparent tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table in the database in which all records from the pooled&lt;/P&gt;&lt;P&gt;tables assigned to the table pool are stored corresponds to&lt;/P&gt;&lt;P&gt;a table pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table Clusters&lt;/P&gt;&lt;P&gt;==============&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Several logical data records from different cluster tables&lt;/P&gt;&lt;P&gt;can be stored together in one physical record in a table&lt;/P&gt;&lt;P&gt;cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A cluster key consists of a series of freely definable key&lt;/P&gt;&lt;P&gt;fields and a field (Pageno) for distinguishing continuation&lt;/P&gt;&lt;P&gt;records. A cluster also contains a long field (Vardata) that&lt;/P&gt;&lt;P&gt;contains the contents of the data fields of the cluster&lt;/P&gt;&lt;P&gt;tables for this key. If the data does not fit into the long&lt;/P&gt;&lt;P&gt;field, continuation records are created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;sowjanya.gosala.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 07:34:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366155#M807769</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T07:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366156#M807770</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;Tables having 'MANDT' as one of the primary key is a client dependent table. And those tables which are linked to other table throught Foreign Key relationships are called Dependedt table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following documentation below will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The following are the table types used in SAP :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Transparent Tables&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;There is a physical table on the database for each transparent table. &lt;/P&gt;&lt;P&gt;The names of the physical table and the logical table definition in the&lt;/P&gt;&lt;P&gt;ABAP/4 Dictionary agree. All the business and application data is store&lt;/P&gt;&lt;P&gt;in transparent tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pooled table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Pooled tables can be used to store control data (e.g. screen sequences,&lt;/P&gt;&lt;P&gt;program parameters or temporary data). Several pooled tables can be&lt;/P&gt;&lt;P&gt;combined to form a table pool. The table pool corresponds to a physical&lt;/P&gt;&lt;P&gt;table on the database in which all the records of the allocated pooled&lt;/P&gt;&lt;P&gt;tables are stored.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cluster table&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Cluster tables contain continuous text, for example documentation.&lt;/P&gt;&lt;P&gt;Several cluster tables can be combined to form a table cluster. Several logical lines of different tables are combined to form a physical record in this table category. This permits object-by-object storage or object-by-object access. In order to combine tables in clusters, at least part of the keys must agree. Several cluster tables are stored in one corresponding table on the database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I.&lt;/STRONG&gt; Transparent tables (BKPF, VBAK, VBAP, KNA1, COEP)&lt;/P&gt;&lt;P&gt;Allows secondary indexes (SE11-&amp;gt;Display Table-&amp;gt;Indexes)&lt;/P&gt;&lt;P&gt;Can be buffered (SE11-&amp;gt;Display Table-&amp;gt;technical settings) Heavily updated tables should not be buffered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;II.&lt;/STRONG&gt; Pool Tables (match codes, look up tables)&lt;/P&gt;&lt;P&gt;Should be accessed via primary key or&lt;/P&gt;&lt;P&gt;Should be buffered (SE11-&amp;gt;Display Table-&amp;gt;technical settings)&lt;/P&gt;&lt;P&gt;No secondary indexes&lt;/P&gt;&lt;P&gt;Select * is Ok because all columns retrieved anyway&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;III.&lt;/STRONG&gt; Cluster Tables (BSEG,BSEC)&lt;/P&gt;&lt;P&gt;Should be accessed via primary key - very fast retrieval otherwise very slow&lt;/P&gt;&lt;P&gt;No secondary indexes&lt;/P&gt;&lt;P&gt;Select * is Ok because all columns retrieved anyway. Performing an operation on multiple rows is more efficient than single row operations. Therefore you still want to select into an internal table. If many rows are being selected into the internal table, you might still like to retrieve specific columns to cut down on the memory required.&lt;/P&gt;&lt;P&gt;Statistical SQL functions (SUM, AVG, MIN, MAX, etc) not supported&lt;/P&gt;&lt;P&gt;Can not be buffered&lt;/P&gt;&lt;P&gt;IV. Buffered Tables (includes both Transparent &amp;amp; Pool Tables)&lt;/P&gt;&lt;P&gt;While buffering database tables in program memory (SELECT into internal table) is generally a good idea for performance, it is not always necessary. Some tables are already buffered in memory. These are mostly configuration tables. If a table is already buffered, then a select statement against it is very fast. To determine if a table is buffered, choose the 'technical settings' soft button from the data dictionary display of a table (SE12). Pool tables should all be buffered.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Tables Documentation&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25c1f5d1-0901-0010-d495-e96d02a0cb01" target="test_blank"&gt;https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/25c1f5d1-0901-0010-d495-e96d02a0cb01&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Rajesh.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward points if found helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 09:16:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366156#M807770</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T09:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: database table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366157#M807771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The client field must be included for client-dependent tables/views.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Overview of the DB table types&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In addition to transparent tables, where the definition in the ABAP Dictionary and&lt;/P&gt;&lt;P&gt;in the database are identical, there are &lt;STRONG&gt;pool and cluster tables&lt;/STRONG&gt; in the R/3 system.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pool and cluster tables&lt;/STRONG&gt; are characterized by the fact that several tables logically&lt;/P&gt;&lt;P&gt;defined in the ABAP Dictionary are combined in a physical database table (table&lt;/P&gt;&lt;P&gt;pool or cluster).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pool tables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The basic idea of a table pool, as opposed to table clusters, is the storage of data&lt;/P&gt;&lt;P&gt;records from the tables defined in the ABAP Dictionary that are not dependent on&lt;/P&gt;&lt;P&gt;one another. You would like to combine small R/3 tables to a database table.&lt;/P&gt;&lt;P&gt;In the example above, you can recognize that the intersection of the key fields of&lt;/P&gt;&lt;P&gt;TABA and TABB is empty. Despite this, the data records from TABA and TABB&lt;/P&gt;&lt;P&gt;are stored in the TABAB table pool.&lt;/P&gt;&lt;P&gt;The key for a data record of the TABAB table pool consists of both the fields&lt;/P&gt;&lt;P&gt;TABNAME and VARKEY. The TABNAME field assumes the name of the pool&lt;/P&gt;&lt;P&gt;table. The VARKEY field consists of the concatenation of the key fields of the&lt;/P&gt;&lt;P&gt;pool table. This arises in the necessity that the key fields of a pool table must&lt;/P&gt;&lt;P&gt;be of the type C.&lt;/P&gt;&lt;P&gt;In the VARDATA field, the non-key fields of the pool tables are stored in an&lt;/P&gt;&lt;P&gt;unstructured way, in compressed form by the database interface. The DATALN&lt;/P&gt;&lt;P&gt;field contains the length of the VARDATA field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Cluster tables&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The idea of cluster tables is that you store functionally dependent data which is&lt;/P&gt;&lt;P&gt;divided among different tables in one database table. Accordingly, the intersection&lt;/P&gt;&lt;P&gt;of the key fields of the cluster tables is formed by the key of the table cluster&lt;/P&gt;&lt;P&gt;(cluster key).&lt;/P&gt;&lt;P&gt;The data dependent on one cluster key are stored in the VARDATA field of the&lt;/P&gt;&lt;P&gt;table cluster. If the VARDATA field does not have the capacity to take on all&lt;/P&gt;&lt;P&gt;dependent data, the database interface creates an overflow record. The uniqueness&lt;/P&gt;&lt;P&gt;within the table cluster is guaranteed by the PAGNO field.&lt;/P&gt;&lt;P&gt;The content of the VARDATA field is compressed by the databse interface.&lt;/P&gt;&lt;P&gt;Accordingly, the VARDATA field contains a description for decompressing its&lt;/P&gt;&lt;P&gt;data. The TIMESTAMP and PAGELG fields contain administrative information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The advantages and disadvantages of pool and cluster tables:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;1.The decisive advantage of pool and cluster tables is that the data can be stored&lt;/P&gt;&lt;P&gt;in compressed form in the database. This reduces the memory space required&lt;/P&gt;&lt;P&gt;as well as the network load.&lt;/P&gt;&lt;P&gt;2.The combination of tables into table pools to table clusters means less tables and&lt;/P&gt;&lt;P&gt;the compressing means less fields in the database. The result is that fewer different&lt;/P&gt;&lt;P&gt;SQL statements are carried out.&lt;/P&gt;&lt;P&gt;3.Pool and cluster tables are not stored as separate tables in the database. In this way,&lt;/P&gt;&lt;P&gt;the administration becomes simpler. With cluster tables, functionally dependent&lt;/P&gt;&lt;P&gt;data are read together, which results in fewer database accesses.&lt;/P&gt;&lt;P&gt;4.The decisive disadvantage lies in the restricted database functionality. It is not&lt;/P&gt;&lt;P&gt;possible for non-key fields to create an index. There are neither primary indices&lt;/P&gt;&lt;P&gt;nor indices on a subset of the key fields. The use of database views or ABAP&lt;/P&gt;&lt;P&gt;JOINs is also ruled out, as are Table Appends. You can access the data in pool or&lt;/P&gt;&lt;P&gt;cluster tabels only via OPEN SQL (no Native SQL).&lt;/P&gt;&lt;P&gt;5.For pool tables, only the WHERE conditions for key fields and for pool tables,&lt;/P&gt;&lt;P&gt;only the WHERE conditions for the fields of the cluster key (subset of the key&lt;/P&gt;&lt;P&gt;fields) are transferred to the database. ORDER BY (or GROUP BY) clauses&lt;/P&gt;&lt;P&gt;are not transferred for non-key fields. You need longer keys than semantically&lt;/P&gt;&lt;P&gt;necessary for pool tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 20:37:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table/m-p/3366157#M807771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T20:37:22Z</dc:date>
    </item>
  </channel>
</rss>

