<?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: Index in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227394#M478903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Mar 2010 07:33:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-19T07:33:51Z</dc:date>
    <item>
      <title>Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227386#M478895</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;How many Primary ,Secondary index can be there for a table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 08:15:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227386#M478895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T08:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227387#M478896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Primary can only be one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Secondary can be many, depending upon the database limits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&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>Thu, 26 Apr 2007 08:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227387#M478896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T08:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227388#M478897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Number of primary key columns per table is 512.&lt;/P&gt;&lt;P&gt;Check this link for more info:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdb.org/htmhelp/32/60a014540911d5a9fd00a0c9449261/frameset.htm" target="test_blank"&gt;http://www.sapdb.org/htmhelp/32/60a014540911d5a9fd00a0c9449261/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 08:17:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227388#M478897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T08:17:53Z</dc:date>
    </item>
    <item>
      <title>Re: Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227389#M478898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;Go through this info.&lt;/P&gt;&lt;P&gt;Disadvantages:&lt;/P&gt;&lt;P&gt;Basically index are provided to improver performance. i.e with index select on db tables retrieves data much faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are writting select statement on the table where in where clause you have non-primary keys then it takes longer to retriev data from DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have select in dbtable on non-primary key you can create Secondary index with keys as per your where clause which result in faster DB table access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But remember not to create too many secondary indexes on same table which could result in slow / degrage performance..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can check out the link below for more inforamation on indexes&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.idig.za.net/mysqlindexes/2006/11/09/" target="test_blank"&gt;http://www.idig.za.net/mysqlindexes/2006/11/09/&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="2936648"&gt;&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Advantages :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondary indexes are used to enhancement performance when retrieving data. For example, say you have a table AFKO where the key to the table is AUFNR. You can select data from this table using AUFNR, the performance will be great because you are using the key. Say you need to hit this table with GLTRP(finish date), it is not part of the key, so the performance would be poor. If you created a secondard index using this field GLTRP, the performance would be improved. Make sense?&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=1052972&amp;amp;messageID=1633228" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=1052972&amp;amp;messageID=1633228&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_470/helpdata/en/cf/21eb20446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_470/helpdata/en/cf/21eb20446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sap.ittoolbox.com/documents/popular-q-and-a/specifying-the-index-to-be-used-2462&lt;/P&gt;&lt;P&gt;sap.ittoolbox.com/documents/popular-q-and-a/specifying-the-index-to-be-used-2462&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm" target="test_blank"&gt;http://www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt; Primary can only be one.&lt;/P&gt;&lt;P&gt; Secondary can be many, depending upon the database limits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;P.Naganjana Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 08:20:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227389#M478898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T08:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227390#M478899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Primary is one .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondary can be many , but creating many will cause performance issues and may also cause wrong picking of the index for a select&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 08:20:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227390#M478899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T08:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227391#M478900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There can be only one &amp;lt;b&amp;gt;primary index&amp;lt;/b&amp;gt; but can have more than one &amp;lt;b&amp;gt;secondary index&amp;lt;/b&amp;gt; for a table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it solves ur query or answer is helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chinmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 08:21:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227391#M478900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T08:21:08Z</dc:date>
    </item>
    <item>
      <title>Re: Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227392#M478901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Kumar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out these threads&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="3121344"&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="1848754"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 08:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227392#M478901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T08:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227393#M478902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create your index via SE11, enter the table name, click change, choose Go To, Indexes. Here create your index with the key fields that you want. To use the index, your select statement WHERE clause, you must have the key fields of the index in the order that they appear in the index. The "optimizer" will choose the index depending on your fields of the WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing to remember is that when you create indexes for tables, the update or insert of these tables may have a slower response then before, I for one have never seen a big problem as of yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this Document may help u on primary and secondary indexes :&lt;/P&gt;&lt;P&gt;&lt;A href="http://jdc.joy.com/helpdata/EN/cf/21eb20446011d189700000e8322d00/frameset.htm" target="test_blank"&gt;http://jdc.joy.com/helpdata/EN/cf/21eb20446011d189700000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb47446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no limit specified by SAP. But when we create more number of secondary indices, the system takes more times in choosing the proper index while executing the SELECT statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the SAP help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating an additional index could also have side effects on the performance. This is because an index that was used successfully for selection might not be used any longer by the optimizer if the optimizer estimates (sometimes incorrectly) that the newly created index is more selective.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below sap link for more details.&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb2d446011d189700000e8322d00/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/cf/21eb2d446011d189700000e8322d00/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=728985&amp;amp;messageID=1884447" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=728985&amp;amp;messageID=1884447&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=728985&amp;amp;messageID=1633228" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=728985&amp;amp;messageID=1633228&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/important-abap-faq.htm" target="test_blank"&gt;http://www.sap-img.com/abap/important-abap-faq.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6473e07211d2acb80000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6473e07211d2acb80000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 08:25:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227393#M478902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-26T08:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Index</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227394#M478903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Mar 2010 07:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/index/m-p/2227394#M478903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-19T07:33:51Z</dc:date>
    </item>
  </channel>
</rss>

