<?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 Index in data base table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302609#M790786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a Ztable ,it has 2 key fields and 2 index fields.&lt;/P&gt;&lt;P&gt;what is the use of index fields ? how is it diff from key fields?&lt;/P&gt;&lt;P&gt;how can i create index for my Ztable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be reward all helpfull answer.&lt;/P&gt;&lt;P&gt;JNJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Feb 2008 08:37:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-02T08:37:39Z</dc:date>
    <item>
      <title>Index in data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302609#M790786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a Ztable ,it has 2 key fields and 2 index fields.&lt;/P&gt;&lt;P&gt;what is the use of index fields ? how is it diff from key fields?&lt;/P&gt;&lt;P&gt;how can i create index for my Ztable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To be reward all helpfull answer.&lt;/P&gt;&lt;P&gt;JNJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2008 08:37:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302609#M790786</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-02T08:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Index in data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302610#M790787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Primary and secondary indexes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Index: Technical key of a database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Primary index: The primary index contains the key fields of the table and a pointer to the non-key fields of the table. The primary index is created automatically when the table is created in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondary index: Additional indexes could be created considering the most frequently accessed dimensions of the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Structure of an Index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index can be used to speed up the selection of data records from a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index can be considered to be a copy of a database table reduced to certain fields. The data is stored in sorted form in this copy. This sorting permits fast access to the records of the table (for example using a binary search). Not all of the fields of the table are contained in the index. The index also contains a pointer from the index entry to the corresponding table entry to permit all the field contents to be read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When creating indexes, please note that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An index can only be used up to the last specified field in the selection! The fields which are specified in the WHERE clause for a large number of selections should be in the first position. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only those fields whose values significantly restrict the amount of data are meaningful in an index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you change a data record of a table, you must adjust the index sorting. Tables whose contents are frequently changed therefore should not have too many indexes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that the indexes on a table are as disjunctive as possible.&lt;/P&gt;&lt;P&gt;(That is they should contain as few fields in common as possible. If two indexes on a table have a large number of common fields, this could make it more difficult for the optimizer to choose the most selective index.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Accessing tables using Indexes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The database optimizer decides which index on the table should be used by the database to access data records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must distinguish between the primary index and secondary indexes of a table. The primary index contains the key fields of the table. The primary index is automatically created in the database when the table is activated. If a large table is frequently accessed such that it is not possible to apply primary index sorting, you should create secondary indexes for the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The indexes on a table have a three-character index ID. '0' is reserved for the primary index. Customers can create their own indexes on SAP tables; their IDs must begin with Y or Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the index fields have key function, i.e. they already uniquely identify each record of the table, an index can be called a unique index. This ensures that there are no duplicate index fields in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you define a secondary index in the ABAP Dictionary, you can specify whether it should be created on the database when it is activated. Some indexes only result in a gain in performance for certain database systems. You can therefore specify a list of database systems when you define an index. The index is then only created on the specified database systems when activated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2008 09:19:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302610#M790787</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-02T09:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Index in data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302611#M790788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Creating the index for Ztable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Goto SE11-&amp;gt; enter u r data base table name&lt;/P&gt;&lt;P&gt;At application tool bar it have pushbutton &amp;#145;INDEXES&amp;#146; click it.&lt;/P&gt;&lt;P&gt;Then a popup will come &lt;/P&gt;&lt;P&gt;Enter indexname of 3 characters and descrioption.&lt;/P&gt;&lt;P&gt;Then press &amp;#145;CREATE&amp;#146; button then other popup will comes with dbtable name and index ID&lt;/P&gt;&lt;P&gt;Enter id: &amp;lt;XX&amp;gt;.&lt;/P&gt;&lt;P&gt;Then other screen will comes then enter the fields on which u need to create secondary index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2008 09:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302611#M790788</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-02T09:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Index in data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302612#M790789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if we have huge amount of data and for select statement if we don't have key fields to pass to where condition then we go for secondary index for where condition.ie if primary index is not suite for our condition then we go for secondary index.&lt;/P&gt;&lt;P&gt;in the tool bar idex button is available by by clicking on then we will get subscreen.&lt;/P&gt;&lt;P&gt;in that subscreen create is there then give index name.&lt;/P&gt;&lt;P&gt;a new window will open then give fields,desc of index etc&lt;/P&gt;&lt;P&gt;save and activate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 06:50:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302612#M790789</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T06:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: Index in data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302613#M790790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  JNJ ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;     First think why you required index. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Index :&lt;/STRONG&gt; Create in a z table or SAP table when there is much data in the table and its taking so much time to retrive data from table on the basic of primery fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       To resolve such type of problem SAP recommand to create Index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Although you can add primery key in your z table also if possible. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;About the definatation and how to create index previous mail are quite enough for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Swati...........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 08:24:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302613#M790790</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T08:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Index in data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302614#M790791</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;Proceed as follows to create a secondary index on a table:&lt;/P&gt;&lt;P&gt;In the field maintenance screen for the table, choose Goto --&amp;gt; Indexes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; If you went to the field maintenance screen of the table in display mode, only correct the index (and not the table).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If indexes already exist on the table, a list of these indexes is displayed. Choose Create. A dialog box appears in which you must enter the three-place index identifier. If there are no indexes, go directly to the dialog box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; Enter the index identifier and choose Continue. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will go to the maintenance screen for indexes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;3.&lt;/STRONG&gt; Enter an explanatory short text in the field Short text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;4.&lt;/STRONG&gt; Choose TabFields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A list of all the fields of the table is displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;5.&lt;/STRONG&gt;Select the fields which you want to copy to the index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;6.&lt;/STRONG&gt;Choose Copy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selected fields are copied to the index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;7.&lt;/STRONG&gt; If the values in the index fields already uniquely identify each record of the table, select Unique index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A unique index is automatically created on the database during activation because a unique index also has a functional meaning (prevents double entries of the index fields).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;8.&lt;/STRONG&gt; If it is not a unique index, leave Non-unique index selected. In this case you can use the corresponding radio buttons to define whether the index should be created automatically on the database for all database systems, for selected database systems or for no database system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;9.&lt;/STRONG&gt; If you chose For selected database systems, you must specify these systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You have two possibilities here:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;List of inclusions&lt;/STRONG&gt;: The index is only created automatically during activation for the database systems specified in the list. The index is not created on the database for the other database systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;List of exclusions&lt;/STRONG&gt;: The index is not created automatically on the database during activation for the specified database systems. The index is automatically created on the database for the other database systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the arrow symbol behind the radio buttons. A dialog box appears in which you can define up to 4 database systems. Use the corresponding radio buttons to decide whether this list should be treated as a list of inclusions or exclusions.&lt;/P&gt;&lt;P&gt;Activate the index with Index ® Activate. The activation log tells you about the flow of the activation. Call it with Utilities ® Act.log. If an error occurred when activating the secondary index, you will automatically go to this log. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The secondary index is automatically created on the database during activation if the corresponding table has already been created there and index creation was not excluded for the database system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If possible, check whether the database uses the index you created for selection. For more information see Checking whether an Index is Used.&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;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 09:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302614#M790791</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T09:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Index in data base table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302615#M790792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Structure of an Index&lt;/STRONG&gt;An index can be used to speed up the selection of data records from a table.&lt;/P&gt;&lt;P&gt;An index can be considered to be a copy of a database table reduced to certain&lt;/P&gt;&lt;P&gt;fields. The data is stored in sorted form in this copy. This sorting permits fast&lt;/P&gt;&lt;P&gt;access to the records of the table (for example using a binary search). Not all&lt;/P&gt;&lt;P&gt;of the fields of the table are contained in the index. The index also contains a&lt;/P&gt;&lt;P&gt;pointer from the index entry to the corresponding table entry to permit all the&lt;/P&gt;&lt;P&gt;field contents to be read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#149; &lt;STRONG&gt;When creating indexes, please note:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#150; An index can only be used up to the last specified field in the selection!&lt;/P&gt;&lt;P&gt;The fields that are specified in the WHERE clause for a large number&lt;/P&gt;&lt;P&gt;of selections should be in the first position.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#150; Only those fields whose values significantly restrict the amount of&lt;/P&gt;&lt;P&gt;data are meaningful in an index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp;#150; When you change a data record of a table, you must adjust the index&lt;/P&gt;&lt;P&gt;sorting. Tables whose contents are frequently changed should not have&lt;/P&gt;&lt;P&gt;too many indexes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;#150; Make sure that the indexes on a table are as disjunct as possible.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The database optimizer decides which index on the table should be used by the&lt;/P&gt;&lt;P&gt;database to access data records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must distinguish between the primary index and secondary indexes of a table.&lt;/P&gt;&lt;P&gt;The primary index contains the key fields of the table. The primary index is&lt;/P&gt;&lt;P&gt;automatically created in the database when the table is activated. If a large table&lt;/P&gt;&lt;P&gt;is frequently accessed such that it is not possible to apply primary index sorting,&lt;/P&gt;&lt;P&gt;you should create secondary indexes for the table.&lt;/P&gt;&lt;P&gt;Indexes of a table have a three-place index ID. 0 is reserved for the primary index.&lt;/P&gt;&lt;P&gt;Customers can create their own indexes on SAP tables; their IDs must begin&lt;/P&gt;&lt;P&gt;with Y or Z.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the index fields have key function, for example, they already uniquely identify&lt;/P&gt;&lt;P&gt;each record of the table, an index can be called a unique index. This ensures that&lt;/P&gt;&lt;P&gt;there are no duplicate index fields in the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you define a secondary index in the ABAP Dictionary, you can specify&lt;/P&gt;&lt;P&gt;whether it should be created on the database when it is activated. Some indexes&lt;/P&gt;&lt;P&gt;only result in a gain in performance for certain database systems. You can&lt;/P&gt;&lt;P&gt;therefore specify a list of database systems when you define an index. The index&lt;/P&gt;&lt;P&gt;is then only created on the specified database systems when activated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 20:41:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index-in-data-base-table/m-p/3302615#M790792</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T20:41:24Z</dc:date>
    </item>
  </channel>
</rss>

