<?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: Diff. Between Pool &amp; Cluster Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096124#M102195</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Irfan,&lt;/P&gt;&lt;P&gt;Table pools (pools) and table clusters (clusters) are special table types in the ABAP Dictionary. The data from several different tables can be stored together in a table pool or table cluster. Tables assigned to a table pool or table cluster are referred to as pooled tables or cluster tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table pool or table cluster should be used exclusively for storing internal control information (screen sequences, program parameters, temporary data, continuous texts such as documentation). Data of commercial relevance is usually stored in transparent tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Table Pool&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;A table in the database in which all records from the pooled tables assigned to the table pool are stored corresponds to a table pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The definition of a pool consists essentially of two key fields (Tabname and Varkey) and a long argument field (Vardata). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Cluster table:&amp;lt;/b&amp;gt;&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 cluster key consists of a series of freely definable key fields and a field (Pageno) for distinguishing continuation records. A cluster also contains a long field (Vardata) that contains the contents of the data fields of the cluster tables for this key. If the data does not fit into the long field, continuation records are created. Control information on the structure of the data string is still written at the beginning of the Vardata field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagarajan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Dec 2005 06:45:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-19T06:45:40Z</dc:date>
    <item>
      <title>Diff. Between Pool &amp; Cluster Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096121#M102192</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;Could any just let me know regarding the Basic Diff. B/w&lt;/P&gt;&lt;P&gt;Pool &amp;amp; Clsuter Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Irfan Hussain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2005 06:32:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096121#M102192</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-19T06:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. Between Pool &amp; Cluster Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096122#M102193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;A transparent table is a table that stores data directly. You can read these tables directly on the database from outside SAP with for instance an SQL statement.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transparent table is a one to one relation table i.e. when you create one transparent table then exactly same table will create in data base and if is basically used to store transaction data.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A clustered and a pooled table cannot be read from outside SAP because certain data are clustered and pooled in one field.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the possible reasons is for instance that their content can be variable in length and build up. Database manipulations in Abap are limited as well.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But pool and cluster table is a many to one relationship table. This means many pool table store in a database table which is know as table pool. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the pool table stored table in table pool does not need to have any foreign key relationship but in the case of cluster table it is must. And pool and cluster table is basically use to store application data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table pool can contain 10 to 1000 small pool table which has 10 to 100 records. But cluster table can contain very big but few (1 to 10)  cluster table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For pool and cluster table you can create secondary index and you can use select distinct, group for pool and cluster table. You can use native SQL statement for pool and cluster table.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A structure is a table without data. It is only filled by program logic at the moment it is needed starting from tables.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A view is a way of looking at the contents of tables. It only contains the combination of the tables at the basis and the way the data needs to be represented. You actually call directly upon the underlying tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2005 06:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096122#M102193</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2005-12-19T06:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. Between Pool &amp; Cluster Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096123#M102194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Table Pools&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data is stored as a table pool in the database server which consists of&lt;/P&gt;&lt;P&gt;all the (physical) records from the tables present in that particular table pool.&lt;/P&gt;&lt;P&gt;Technically, The table name and the field name are the key fields in case&lt;/P&gt;&lt;P&gt;of pooled tables.&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;Logical data records from different tables are stored as single PHYSICAL record&lt;/P&gt;&lt;P&gt;in the table clusters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technically. There can be n number keys (usually generated by the system ) for a&lt;/P&gt;&lt;P&gt;record in a cluster table and field called pageno is used to track the continuation&lt;/P&gt;&lt;P&gt;of the records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BOTH TABLE POOLS AND TABLE CLUSTERS ARE NOT PHYSICALLY AVAILABLE IN THE DB SERVER&lt;/P&gt;&lt;P&gt;BUT THEY ARE LOGICALLY POOLED OR CLUSTERED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooled tables in the dictionary has a many-to-one relation with the table in database. Table in the database has the different name as in the dictionary. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A pooled table is used to combine several logical tables in the ABAP/4 dictionary. Pooled tables are logical tables that must be assigned to a table pool when they are defined. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cluster tables:&lt;/P&gt;&lt;P&gt;Cluster table are logical tables that must be assigned to a table cluster when they are defined. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cluster table can be used to store control data they can also used to store temporary data or text such as documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;If this helps u reward with points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2005 06:38:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096123#M102194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-19T06:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. Between Pool &amp; Cluster Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096124#M102195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Irfan,&lt;/P&gt;&lt;P&gt;Table pools (pools) and table clusters (clusters) are special table types in the ABAP Dictionary. The data from several different tables can be stored together in a table pool or table cluster. Tables assigned to a table pool or table cluster are referred to as pooled tables or cluster tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table pool or table cluster should be used exclusively for storing internal control information (screen sequences, program parameters, temporary data, continuous texts such as documentation). Data of commercial relevance is usually stored in transparent tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Table Pool&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;A table in the database in which all records from the pooled tables assigned to the table pool are stored corresponds to a table pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The definition of a pool consists essentially of two key fields (Tabname and Varkey) and a long argument field (Vardata). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Cluster table:&amp;lt;/b&amp;gt;&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 cluster key consists of a series of freely definable key fields and a field (Pageno) for distinguishing continuation records. A cluster also contains a long field (Vardata) that contains the contents of the data fields of the cluster tables for this key. If the data does not fit into the long field, continuation records are created. Control information on the structure of the data string is still written at the beginning of the Vardata field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps u,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nagarajan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2005 06:45:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096124#M102195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-19T06:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. Between Pool &amp; Cluster Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096125#M102196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Irfan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooled Table :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; A pooled table in R/3 has a many-to-one&lt;/P&gt;&lt;P&gt; relationship.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; When you look at a pooled table in R/3, you see a&lt;/P&gt;&lt;P&gt; description of a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; R/3 uses table pools to hold a large number (tens to&lt;/P&gt;&lt;P&gt; thousands) of very small tables (about 10 to 100&lt;/P&gt;&lt;P&gt; rows each).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Table pools reduce the amount of database resources&lt;/P&gt;&lt;P&gt; needed when many small tables have to be open at the&lt;/P&gt;&lt;P&gt; same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; SAP uses them for system data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; You might create a table pool if you need to create&lt;/P&gt;&lt;P&gt; hundreds of small tables that each hold only a few&lt;/P&gt;&lt;P&gt; rows of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Pooled tables are primarily used by SAP to hold&lt;/P&gt;&lt;P&gt; customizing data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cluster Table :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; A cluster table is similar to a pooled table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It has a many-to-one relationship with a table in&lt;/P&gt;&lt;P&gt; the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Many cluster tables are stored in a single table in&lt;/P&gt;&lt;P&gt; the database called a table cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It holds many tables within it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The tables it holds are all cluster tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Like pooled tables, cluster tables are another&lt;/P&gt;&lt;P&gt; proprietary SAP construct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; They are used to hold data from a few (approximately&lt;/P&gt;&lt;P&gt; 2 to 10) very large tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; They would be used when these tables have a part of&lt;/P&gt;&lt;P&gt; their primary keys in common, and if the data in&lt;/P&gt;&lt;P&gt; these tables are all accessed simultaneously.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Table clusters contain fewer tables than table pools&lt;/P&gt;&lt;P&gt; and, unlike table pools, the primary key of each&lt;/P&gt;&lt;P&gt; table within the table cluster begins with the same&lt;/P&gt;&lt;P&gt; field or fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; A cluster is advantageous in the case where data is&lt;/P&gt;&lt;P&gt; accessed from multiple tables simultaneously and&lt;/P&gt;&lt;P&gt; those tables have at least one of their primary key&lt;/P&gt;&lt;P&gt; fields in common.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cluster tables reduce the number of database reads&lt;/P&gt;&lt;P&gt; and thereby improve performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Pooled and cluster tables are usually used only by&lt;/P&gt;&lt;P&gt; SAP and not used by customers, probably because of&lt;/P&gt;&lt;P&gt; the proprietary format of these tables within the&lt;/P&gt;&lt;P&gt; database and because of technical restrictions&lt;/P&gt;&lt;P&gt; placed upon their use within ABAP/4 programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cluster table can only be read and display via your&lt;/P&gt;&lt;P&gt; ABAP program.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; For furthur details visit this link...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm"&amp;gt;http://www.sap-img.com/abap/the-different-types-of-sap-tables.htm&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Best Regards,&lt;/P&gt;&lt;P&gt; Maheswaran.B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2005 07:01:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096125#M102196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-19T07:01:09Z</dc:date>
    </item>
    <item>
      <title>Re: Diff. Between Pool &amp; Cluster Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096126#M102197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Irfan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. First thing to understand is this that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Either Pooled data, or cluster Data.&lt;/P&gt;&lt;P&gt;  Both have SOME PHYSICAL table in the database.&lt;/P&gt;&lt;P&gt;  (The table name will be different)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. POOL TABLE &lt;/P&gt;&lt;P&gt;  Suppose we have 15 different&lt;/P&gt;&lt;P&gt;   tables in ABAP Dictionary &lt;/P&gt;&lt;P&gt;   and only 1 table in physcial table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  So, the data of all these 15 tables&lt;/P&gt;&lt;P&gt;  will be stored in the 1 physical table.&lt;/P&gt;&lt;P&gt; (it will be stored in a raw data format,&lt;/P&gt;&lt;P&gt;  but it will be provided to the programs&lt;/P&gt;&lt;P&gt;  in a structured way)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  This concept is called POOL.&lt;/P&gt;&lt;P&gt;  If all these 15 tables have 10 records each,&lt;/P&gt;&lt;P&gt;  Then,&lt;/P&gt;&lt;P&gt;  In the poooled table there will be&lt;/P&gt;&lt;P&gt;  15 x 10 = 150 records.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;Each record of the physical table&lt;/P&gt;&lt;P&gt;contains, &lt;/P&gt;&lt;P&gt;name of the table&lt;/P&gt;&lt;P&gt;Primary key value of the table&lt;/P&gt;&lt;P&gt;so that to identify the record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. CLUSTER&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   In a cluster table,&lt;/P&gt;&lt;P&gt;   there is 1 physical table.&lt;/P&gt;&lt;P&gt;   Each record contains a RAW Data.&lt;/P&gt;&lt;P&gt;   The format of raw data is such&lt;/P&gt;&lt;P&gt;   that it contains (NESTED DEEP STRUCTURE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ie.&lt;/P&gt;&lt;P&gt;   this raw data of 1 record,&lt;/P&gt;&lt;P&gt;   contains data of many INTERNAL TABLES.&lt;/P&gt;&lt;P&gt;  (These tables are just defined as structure&lt;/P&gt;&lt;P&gt;   in database dictionary so that its definition&lt;/P&gt;&lt;P&gt;  is there while saving and extracting)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  Eg. &lt;/P&gt;&lt;P&gt;   Salary of 1 employee, 1 month&lt;/P&gt;&lt;P&gt;   will have 1 record in database table.&lt;/P&gt;&lt;P&gt;  But this 1 record raw data will contain&lt;/P&gt;&lt;P&gt;   information about these many internal tables.&lt;/P&gt;&lt;P&gt;   Company data&lt;/P&gt;&lt;P&gt;   salary figures&lt;/P&gt;&lt;P&gt;   bank figures data&lt;/P&gt;&lt;P&gt;   Provident fund data&lt;/P&gt;&lt;P&gt;   etc. etc.&lt;/P&gt;&lt;P&gt;  &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;Regards,&lt;/P&gt;&lt;P&gt;Amit M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2005 07:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-pool-cluster-table/m-p/1096126#M102197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-19T07:41:24Z</dc:date>
    </item>
  </channel>
</rss>

