<?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 Database tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329202#M512274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the diff b/w POOLED TABLES and CLUSTER TABLES?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2007 14:02:35 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-06T14:02:35Z</dc:date>
    <item>
      <title>Database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329202#M512274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the diff b/w POOLED TABLES and CLUSTER TABLES?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 14:02:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329202#M512274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T14:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329203#M512275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narsaiah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transparent Table: &lt;/P&gt;&lt;P&gt;Exists with the same structure both in dictionary as well as in database exactly with the same data and fields. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pooled Table: &lt;/P&gt;&lt;P&gt;Pooled tables are logical tables that must be assigned to a table pool when they are defined. Pooled tables are used to store control data. Several pooled tables can be cominied in a table pool. The data of these pooled tables are then sorted in a common table in the database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cluster Table: &lt;/P&gt;&lt;P&gt;Cluster tables are logical tables that must be assigned to a table cluster when they are defined. Cluster tables can be used to strore control data. They can also be used to store temporary data or texts, such as documentation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.datamanagementgroup.com/Resources/Articles/Article_0106_2.asp" target="test_blank"&gt;http://www.datamanagementgroup.com/Resources/Articles/Article_0106_2.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;more info&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2004/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cma.zdnet.com/book/abap/ch03/ch03.htm" target="test_blank"&gt;http://cma.zdnet.com/book/abap/ch03/ch03.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this links.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/4f/991f82446d11d189700000e8322d00/applet.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.techinterviews.com/?p=198" target="test_blank"&gt;http://www.techinterviews.com/?p=198&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward pts if usefull &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sathish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 04:19:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329203#M512275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T04:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329204#M512276</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;Here you go with the difference :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/81/415d363640933fe10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward for all helpful answers !&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ranjita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 04:34:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329204#M512276</guid>
      <dc:creator>former_member196299</dc:creator>
      <dc:date>2007-06-07T04:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329205#M512277</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;Pooled table&lt;/P&gt;&lt;P&gt;A pooled table in R/3 has a many-to-one relationship with a table in the database.&lt;/P&gt;&lt;P&gt; For one table in the database, there are many tables in the R/3 Data Dictionary. &lt;/P&gt;&lt;P&gt;The table in the database has a different name than the tables in the DDIC, it has a different number of fields,&lt;/P&gt;&lt;P&gt; and the fields have different names as well. Pooled tables are an SAP proprietary construct. &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 description of a table.&lt;/P&gt;&lt;P&gt; However, in the database, it is stored along with other pooled tables in a single table called a table pool. &lt;/P&gt;&lt;P&gt;A table pool is a database table with a special structure that enables the data of many R/3 tables to be stored within it.&lt;/P&gt;&lt;P&gt; It can only hold pooled tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R/3 uses table pools to hold a large number (tens to thousands) of very small tables (about 10 to 100 rows each). Table pools reduce the amount of database resources needed when many small tables have to be open at the same time. SAP uses them for system data. You might create a table pool if you need to create hundreds of small tables that each hold only a few rows of data. To implement these small tables as pooled tables, you first create the definition of a table pool in R/3 to hold them all. When activated, an associated single table (the table pool) will be created in the database. You can then define pooled tables within R/3 and assign them all to your table pool.Pooled tables are primarily used by SAP to hold customizing data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cluster Table&lt;/P&gt;&lt;P&gt;A cluster table is similar to a pooled table. It has a many-to-one relationship with a table in the database.&lt;/P&gt;&lt;P&gt; Many cluster tables are stored in a single table in the database called a table cluster. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A table cluster is similar to a table pool. It holds many tables within it. 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 proprietary SAP construct. &lt;/P&gt;&lt;P&gt;They are used to hold data from a few (approximately 2 to 10) very large tables. &lt;/P&gt;&lt;P&gt;They would be used when these tables have a part of their primary keys in common,&lt;/P&gt;&lt;P&gt; and if the data in these tables are all accessed simultaneously. The data is stored logically. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table clusters contain fewer tables than table pools and, unlike table pools, &lt;/P&gt;&lt;P&gt;the primary key of each table within the table cluster begins with the same field or fields. &lt;/P&gt;&lt;P&gt;Rows from the cluster tables are combined into a single row in the table cluster. &lt;/P&gt;&lt;P&gt;The rows are combined based on the part of the primary key they have in common. &lt;/P&gt;&lt;P&gt;Thus, when a row is read from any one of the tables in the cluster, &lt;/P&gt;&lt;P&gt;all related rows in all cluster tables are also retrieved, but only a single I/O is needed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A cluster is advantageous in the case where data is accessed from multiple tables simultaneously &lt;/P&gt;&lt;P&gt;and those tables have at least one of their primary key fields in common. &lt;/P&gt;&lt;P&gt;Cluster tables reduce the number of database reads and thereby improve performance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restrictions on Pooled and Cluster Tables&lt;/P&gt;&lt;P&gt;Pooled and cluster tables are usually used only by SAP and not used by customers, &lt;/P&gt;&lt;P&gt;probably because of the proprietary format of these tables within the database &lt;/P&gt;&lt;P&gt;and because of technical restrictions placed upon their use within ABAP/4 programs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On a pooled or cluster table: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Secondary indexes cannot be created. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;You cannot use the ABAP/4 constructs select distinct or group by. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;You cannot use native SQL. &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;You cannot specify field names after the order by clause. order by primary key is the only permitted variation. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anversha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 04:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329205#M512277</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-06-07T04:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Database tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329206#M512278</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 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;&amp;lt;b&amp;gt;Pooled Tables :&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Different tables which are not linked to each other with a common key can be combined into a Table Pool. The tables contained within this pool are called Pooled Tables. A table pool is stored in the database a simple table. The table's data sets contain, in separate fields, the actual key for the data set to be stored, the name of the pooled table and the contents of the data set to be stored. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this schema, several logical tables are combined into a single real database table. Although the data structure of each set is lost during the write to the table pool, it is restored during the read by the ABAP/4 Data Dictionary. The ABAP/4 Data Dictionary utilizes its meta-data to accomplish this. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since information must be prepared (defined) within the ABAP/4 Data Dictionary when it is read or written to (or accessed), this process itself defines these as not transparent tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Cluster Tables :&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Occasionally, several tables may be linked by a common key. The ABAP/4 Data Dictionary can also combine these tables into a single table. Each data set of the real table within the database contains a key and in a single data field, several data sets of the subsequent table for this key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned above, these table types require special data handling, therefore they are not transparent tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Both Pooled and Cluster Tables are stored as tables within the database. Only the structures of the two table types which represent a single logical view of the data are defined within the ABAP/4 Data Dictionary. The data is actually stored in bulk storage in a different structure. These tables are commonly loaded into memory (i.e., 'buffered') due to the fact they are typically used for storing internal control information and other types of data with little or no external (business) relevance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some really good links&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2952163"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3510743"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2952198"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="772874"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="2409635"&gt;&lt;/A&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;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3400173"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2007 04:48:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-tables/m-p/2329206#M512278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-07T04:48:19Z</dc:date>
    </item>
  </channel>
</rss>

