<?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 Creating index in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index/m-p/4388988#M1043724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we have to create an index?. How it is uefull?.&lt;/P&gt;&lt;P&gt;Kindly give me a detail explanation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2008 16:58:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-15T16:58:23Z</dc:date>
    <item>
      <title>Creating index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index/m-p/4388988#M1043724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we have to create an index?. How it is uefull?.&lt;/P&gt;&lt;P&gt;Kindly give me a detail explanation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2008 16:58:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index/m-p/4388988#M1043724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-15T16:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index/m-p/4388989#M1043725</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;Creating an Index in the DDIC ? If yes, i suggest you to post it in related forum.&lt;/P&gt;&lt;P&gt;Anyways, you would find a button for Indexes in Table definition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Wajid Hussain P.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 11:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index/m-p/4388989#M1043725</guid>
      <dc:creator>former_member200872</dc:creator>
      <dc:date>2008-08-16T11:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index/m-p/4388990#M1043726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi T Vennila,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Need to create Secondary index depends on many circumstances... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assume that u r fetching data from a DDIC table which contains huge data (records) and Primary key is not suffecient to get the data in timely manner... as it's taking a long time to execute u can create a secondary index for that table based on fields in where condition of ur select query...  But it's not good to create secondary index without any such a need... it can make the performance worst if u create a secondary index on wrong fields and wrong tables... So take a lot care before creating secondary index...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Primary index :&lt;/STRONG&gt; Its the index which is automatically created for the PRIMARY KEY FIELD(S) of the table.&lt;/P&gt;&lt;P&gt;The primary index is always created automatically in the R/3 System. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Secondary index :&lt;/STRONG&gt; Its created as and when required,&lt;/P&gt;&lt;P&gt;based upon other field(s) of the table,&lt;/P&gt;&lt;P&gt;on which search criteria is used in sqls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondary indexes should contain columns that you use frequently in a selection, and that are as highly selective as possible. The fewer table entries that can be selected by a certain column, the higher that column&amp;#146;s selectivity. Place the most selective fields at the beginning of the index. Your secondary index should be so selective that each index entry corresponds to at most five percent of the table entries. If this is not the case, it is not worth creating the index. You should also avoid creating indexes for fields that are not always filled, where their value is initial for most entries in the table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CREATION&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;go to SE11&lt;/P&gt;&lt;P&gt;enter table name&lt;/P&gt;&lt;P&gt;press display&lt;/P&gt;&lt;P&gt;from menu GOTO-&amp;gt; indexes&lt;/P&gt;&lt;P&gt;press create button&lt;/P&gt;&lt;P&gt;enter the fields for which you need the index&lt;/P&gt;&lt;P&gt;save and activate&lt;/P&gt;&lt;P&gt;use those fields in the Where condition of the select statement and see&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also have a look on below threads&lt;/P&gt;&lt;P&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="4670893"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&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="3973891"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also request you to put ur Question in appropriate Forums so that u will also get good and Quick answer and it will be maintained in a good manner...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2008 11:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-index/m-p/4388990#M1043726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-16T11:35:45Z</dc:date>
    </item>
  </channel>
</rss>

