<?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 Do we create an Index? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/do-we-create-an-index/m-p/2058311#M425105</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;Have a question about Indexes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a ZTable and we would like to create secondary indexes on the table.&lt;/P&gt;&lt;P&gt;Lets say the table has 5 fields a,b,c,d,e with a and b being primary keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we have a Select query as&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    select b from ztable where c in p_c and d in p_d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now we already have a secondary index on fileds in the order b,c,d&lt;/P&gt;&lt;P&gt;However in our case we are not specifying b in the where clause.&lt;/P&gt;&lt;P&gt;Does it help creating a new index on fileds c,d, or would it be a replica of the existing index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any inputs will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Brain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2007 17:03:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-13T17:03:12Z</dc:date>
    <item>
      <title>Do we create an Index?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/do-we-create-an-index/m-p/2058311#M425105</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;Have a question about Indexes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a ZTable and we would like to create secondary indexes on the table.&lt;/P&gt;&lt;P&gt;Lets say the table has 5 fields a,b,c,d,e with a and b being primary keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now we have a Select query as&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;    select b from ztable where c in p_c and d in p_d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now we already have a secondary index on fileds in the order b,c,d&lt;/P&gt;&lt;P&gt;However in our case we are not specifying b in the where clause.&lt;/P&gt;&lt;P&gt;Does it help creating a new index on fileds c,d, or would it be a replica of the existing index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any inputs will be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Brain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 17:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/do-we-create-an-index/m-p/2058311#M425105</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T17:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: Do we create an Index?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/do-we-create-an-index/m-p/2058312#M425106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;h Brain,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to create a new secondary index with c and d.&lt;/P&gt;&lt;P&gt;Your query will not replicate the existing secondary index to match &lt;/P&gt;&lt;P&gt;the where clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps,&lt;/P&gt;&lt;P&gt;Sajan Joseph.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 17:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/do-we-create-an-index/m-p/2058312#M425106</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T17:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Do we create an Index?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/do-we-create-an-index/m-p/2058313#M425107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends upon the size of the data being stored in the table. If the size is reasonable you can you use the existing secondary index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2007 17:10:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/do-we-create-an-index/m-p/2058313#M425107</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-13T17:10:27Z</dc:date>
    </item>
  </channel>
</rss>

