<?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: Performance SQL - Indexing in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-sql-indexing/m-p/2481456#M559131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ThanQ Rob,&lt;/P&gt;&lt;P&gt;No, I did not see the EXPLAIN function, will go thru it.&lt;/P&gt;&lt;P&gt;But, pls. let me clarify that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How the NE operator in bname NE space, creates a problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jun 2007 17:53:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-26T17:53:31Z</dc:date>
    <item>
      <title>Performance SQL - Indexing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-sql-indexing/m-p/2481454#M559129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hv   2 different SQLs in same prog., like,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;SELECT DISTINCT bname &lt;/P&gt;&lt;P&gt;         INTO TABLE bname_itab&lt;/P&gt;&lt;P&gt;         FROM vbak&lt;/P&gt;&lt;P&gt;           WHERE ernam IN s_ernam&lt;/P&gt;&lt;P&gt;             AND bname NE space&lt;/P&gt;&lt;P&gt;             AND auart IN s_auart&lt;/P&gt;&lt;P&gt;             AND vkorg IN s_org&lt;/P&gt;&lt;P&gt;             AND vtweg IN s_d_ch&lt;/P&gt;&lt;P&gt;             AND spart IN s_div.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT vbeln into vbeln_itab&lt;/P&gt;&lt;P&gt;from vbak&lt;/P&gt;&lt;P&gt;where kunnr = s_kunnr&lt;/P&gt;&lt;P&gt;and kvgr2 = kvgr2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Already I hv one secondary index as Z02 for ernam&lt;EM&gt;auart&lt;/EM&gt;vkorg&lt;EM&gt;vtweg&lt;/EM&gt;spart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, (performance point of view)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 - Shuld I add kuunr + kvgr2 to the existing Z02 index?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2 - OR shalll I create a new one as Z03 with kunnr + kvgr2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 14:33:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-sql-indexing/m-p/2481454#M559129</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T14:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Performance SQL - Indexing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-sql-indexing/m-p/2481455#M559130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you used the 'explain' function of ST05 to make sure that it is using the index for the first SELECT? The NE is going to cause problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 15:56:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-sql-indexing/m-p/2481455#M559130</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T15:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Performance SQL - Indexing</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-sql-indexing/m-p/2481456#M559131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ThanQ Rob,&lt;/P&gt;&lt;P&gt;No, I did not see the EXPLAIN function, will go thru it.&lt;/P&gt;&lt;P&gt;But, pls. let me clarify that,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How the NE operator in bname NE space, creates a problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanq.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2007 17:53:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-sql-indexing/m-p/2481456#M559131</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-26T17:53:31Z</dc:date>
    </item>
  </channel>
</rss>

