<?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 creation in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637441#M1442883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;Somehow I am able to activate table cluster and cluster table.&lt;/P&gt;&lt;P&gt;I have given FIELD1 and FIELD2 in table cluster( not sure what difference it makes if i give , and what is the use of giving field names here). same names which i used in cluster table.&lt;/P&gt;&lt;P&gt;I am not understanding what is the use of giving cluster table fieldnames in table cluster??????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALso, I am able to use select, insert,delete statments on this cluster table. but when i am trying to use modify table using wa tranporting FIELD1, nothing is getting updated.&lt;/P&gt;&lt;P&gt;I am trying to modify a value of a filed in the table( this is not happening).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this is the way we use to retrienve . modify.insert delete data from cluster tables? or any other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u provide inputs&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;RD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Feb 2010 00:08:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-23T00:08:09Z</dc:date>
    <item>
      <title>database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637431#M1442873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;need some help on this.&lt;/P&gt;&lt;P&gt;I have to store data in a data base table. basically the table will have millions of records.&lt;/P&gt;&lt;P&gt;I have a program which updates/creates/deletes the data in this heavy table in background job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But strong point i want to mention here is its very very huge table ( like 900,000 is minimum records and it can increase 4 to 5 times of 900,000).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I even have a FM which reads the data from this table which some conditions .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so what is the best way in this scenario? what kind of table shall i create ? transparant? pooled/cluster? secondary indexes? etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the best approach so that i may not come accross performance issues.. &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;RD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 00:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637431#M1442873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T00:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637432#M1442874</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;we can create transparent table  size up to 120 000 000 to some 50 billions so that, your required records are only 900000 records ,&lt;/P&gt;&lt;P&gt;but performance of retrieving data is depends up on making of index that is secondary index . so create a transparent table with size category  9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cluster tables :&lt;/P&gt;&lt;P&gt;&amp;gt;maintains prinary key reationship.&lt;/P&gt;&lt;P&gt;&amp;gt;these are less no of cluster table which had large no of records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pooled tables :&lt;/P&gt;&lt;P&gt;&amp;gt; doesn't maintain any primary key relationship&lt;/P&gt;&lt;P&gt;&amp;gt;these are more no of pooled table which had less no of records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;we cant access these tables from outside sap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sivakrishna boddapati on Feb 12, 2010 1:11 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 07:18:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637432#M1442874</guid>
      <dc:creator>sivakrishna_boddapati</dc:creator>
      <dc:date>2010-02-12T07:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637433#M1442875</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;There are two ways you can create table which suits your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.You can analysze the data and can splits the tables into 2 or more (whic is called as Normalization) and then maintain foreign key relation ships between them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This solves your problem w.r.t. Data volume.Hence then data stored in the database drastically decreases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.You can maontain a single table but choose the Size category to the maximun which suits to ur requiremnet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama.P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 10:42:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637433#M1442875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T10:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637434#M1442876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So are you saying no reason to create a pooled/cluster table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i want to make secondary indexes, do i need to make it to each field in that table? sorry, i m new to ABAP so...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if i want to go with pooled/cluster tables, is it possible to update/modify/delete/insert records the same way we do to transperant tables? like INSERT,MODIFY,UPDATE,DELETE statementss???&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to create and see the data in pooled/table? can u explain me this scenario aswell&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;RD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2010 22:23:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637434#M1442876</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-16T22:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637435#M1442877</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;Create a transparent table with dataclass APPL1 and size category 6 and create an secondary index to the table according to your select statment where condition,which retrieves data in your program which is updating or deleting data from this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 08:40:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637435#M1442877</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-17T08:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637436#M1442878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   You can do everymodifications, Insertions, Deletions and updates same as in transparent tables in pooled\clusterd tables also.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;pavan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 06:56:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637436#M1442878</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-18T06:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637437#M1442879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;which will give the good performance, cluster table or tarnsparent table with secondary index. ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also when i create a secondary index, i can give more than one field of the table to that index? how does this work?&lt;/P&gt;&lt;P&gt;when i say i have 5 fields in table with 3 key fields. Now i created 1 secondary index with all those 3 key fields, how does the select query works?&lt;/P&gt;&lt;P&gt;what is the use of secondary indexes? do i need to select all the fields for secondary index, which are used in my wehre condition of select?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u pls give me some explaination on this secondary indexes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks and appreciate your answers&lt;/P&gt;&lt;P&gt;RD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 00:27:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637437#M1442879</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T00:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637438#M1442880</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;I think cluster and pooled tables won't support the secondary INDEXes. You can create secondary index only for transparent table. So go ahead with transparent table and create the secondary index based on the fields that is mostly used in the where clause of the selects in your FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Too many secondary indexes is also not suggested and it has serious performance implications when you update the table with data because when ever a record is created changed, pointers of secondary indexes also updated.(index works on pointers concept of C language where we directly have the address id of a record in the database)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 06:19:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637438#M1442880</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-02-19T06:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637439#M1442881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mr Singh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When it comes to DB tables, whenever you want to optimise database access it is highly recommended that you use transparent tables, preferably with secondary indexes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Indexes work like this: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whenever data is stored in the DB, a default index is created for all the entries. This is done based on the primary key. &lt;/P&gt;&lt;P&gt;However there may be instances where you execute specific queries on the DB using a specific set of fields, which are not the key fields.&lt;/P&gt;&lt;P&gt;In this case, you create a secondary index for the DB using the above-mentioned fields.&lt;/P&gt;&lt;P&gt;This way, every time the DB is accessed through SELECT statements using these (and only these) fields, data will be retrieved much much faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please note that indexes are physically maintained by the system and not calculated at runtime. Hence, if your table gets updated frequently, the system must not only update the table entries, it must also update the secondary index. This is why you must be extra cautious and create secondary indexes prudently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not want a secondary index, you can completely skip this. This is especially true if most of your database queries involve your primary keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this link for understanding more on this topic: &lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3973891"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps! Please revert if you need anything else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Shailesh.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Always provide feedback for helpful answers&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 11:39:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637439#M1442881</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-19T11:39:16Z</dc:date>
    </item>
    <item>
      <title>Re: database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637440#M1442882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having issues in creating cluster table.&lt;/P&gt;&lt;P&gt;I created a table cluster  It came up by default with fields: VARKEY ( key field ),  PAGENO( Key field) , TIMESTMP, PAGELG, VARDATA.  ( I donno what and why these fields are used ).. can someboday tell me??? what these fileds are for?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Acitvate this table cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Created a transperant table and created fields FIELD1( KEY FIELD), FIELD2(KEY FIELD), FIELD3( KEY FIELD) AND FIELD4( NON KEY FIELD).&lt;/P&gt;&lt;P&gt;NOW utilites-&amp;gt;table category, i selected table cluster and in delivery and maintaince entered the table cluster which i created before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when i check it , this is throwing error " Generic key field is missing from logical cluster VARKEY "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what does this mean?&lt;/P&gt;&lt;P&gt;I am confused why those defaults fields populated in table cluster? &lt;/P&gt;&lt;P&gt;can someone explain me? i even saw BSEG, and there are some custom fields are also entered in the table cluster ( RFBLG ).. BUKRS&lt;/P&gt;&lt;P&gt;BELNR&lt;/P&gt;&lt;P&gt;GJAHR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the use of giving those BUKRS&lt;/P&gt;&lt;P&gt;BELNR&lt;/P&gt;&lt;P&gt;GJAHR fields in table cluster ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think something related to the size is also been seen, like the size is exceeded when i tried to enter some more fields FIELD1,FIELD2, FIELD3 in table cluster? what is this mean??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replies will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnks,&lt;/P&gt;&lt;P&gt;RD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 22:11:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637440#M1442882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-22T22:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: database table creation</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637441#M1442883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Friends,&lt;/P&gt;&lt;P&gt;Somehow I am able to activate table cluster and cluster table.&lt;/P&gt;&lt;P&gt;I have given FIELD1 and FIELD2 in table cluster( not sure what difference it makes if i give , and what is the use of giving field names here). same names which i used in cluster table.&lt;/P&gt;&lt;P&gt;I am not understanding what is the use of giving cluster table fieldnames in table cluster??????&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALso, I am able to use select, insert,delete statments on this cluster table. but when i am trying to use modify table using wa tranporting FIELD1, nothing is getting updated.&lt;/P&gt;&lt;P&gt;I am trying to modify a value of a filed in the table( this is not happening).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this is the way we use to retrienve . modify.insert delete data from cluster tables? or any other way?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u provide inputs&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;RD&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Feb 2010 00:08:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/database-table-creation/m-p/6637441#M1442883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-23T00:08:09Z</dc:date>
    </item>
  </channel>
</rss>

