<?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: issue in select query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-query/m-p/6203454#M1376486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the following articles may help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Performance Tuning Using RFC|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0076258e-41dd-2a10-9a82-cf5e9f5cd77c]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Oct 2009 02:47:12 GMT</pubDate>
    <dc:creator>daixiong_jiang3</dc:creator>
    <dc:date>2009-10-12T02:47:12Z</dc:date>
    <item>
      <title>issue in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-query/m-p/6203453#M1376485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI All experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have  a program in which i have a select query &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT  b~vertrag&lt;/P&gt;&lt;P&gt;          a~anlage&lt;/P&gt;&lt;P&gt;          a~operand&lt;/P&gt;&lt;P&gt;          a~saison&lt;/P&gt;&lt;P&gt;          a~ab&lt;/P&gt;&lt;P&gt;          a~ablfdnr&lt;/P&gt;&lt;P&gt;          a~bis&lt;/P&gt;&lt;P&gt;          a~wert1&lt;/P&gt;&lt;P&gt;  FROM ettifn AS a INNER JOIN ever AS b&lt;/P&gt;&lt;P&gt;  ON a&lt;SUB&gt;anlage = b&lt;/SUB&gt;anlage&lt;/P&gt;&lt;P&gt;  INTO TABLE li_captran PACKAGE SIZE p_pack&lt;/P&gt;&lt;P&gt;  WHERE a~anlage IN s_anlage&lt;/P&gt;&lt;P&gt;    AND a~ab &amp;lt;= l_date&lt;/P&gt;&lt;P&gt;    AND a~bis &amp;gt;= l_date&lt;/P&gt;&lt;P&gt;    AND a~operand IN ('ID-CAPLOAD','ID-OBLT')&lt;/P&gt;&lt;P&gt;    AND b~einzdat &amp;lt;= l_date&lt;/P&gt;&lt;P&gt;    AND b~auszdat &amp;gt;= l_date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this query is taking a lot of time in running and we are facing lot of performance related issues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kindly guide me how i can break this into som simpler query &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ettifn has 10 million records&lt;/P&gt;&lt;P&gt;ever has around 5 million records .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also please tell me how much data i can store into an internal table &lt;/P&gt;&lt;P&gt;can i store 5 million records in an internal table ??????&lt;/P&gt;&lt;P&gt;is it good in terms of performance of a program if not please tell me what is the better way of doing dat .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also tell me how secondry indexes help in improving performance of select query&lt;/P&gt;&lt;P&gt;is it good to maintain number of secondry indexes in a standard table or it decreases performance of a standard table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please guide me how can i increase the performance of this code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Oct 2009 19:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-query/m-p/6203453#M1376485</guid>
      <dc:creator>former_member97974</dc:creator>
      <dc:date>2009-10-11T19:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: issue in select query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-query/m-p/6203454#M1376486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the following articles may help you:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Performance Tuning Using RFC|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0076258e-41dd-2a10-9a82-cf5e9f5cd77c]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Oct 2009 02:47:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/issue-in-select-query/m-p/6203454#M1376486</guid>
      <dc:creator>daixiong_jiang3</dc:creator>
      <dc:date>2009-10-12T02:47:12Z</dc:date>
    </item>
  </channel>
</rss>

