<?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 issue on KONV table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137137#M1905841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain your requirement? may be we can suggest an alternate solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KONV is a cluster table and you should avoid reading from it without using all the primary keys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2015 14:49:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-06-19T14:49:22Z</dc:date>
    <item>
      <title>Performance issue on KONV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137134#M1905838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i am facing performance issue with following select query. i have 5000 knumh values and i just want to check atleast one knumh exist in konv table or not. Can anyone help me to improve below select SELECT * FROM konv INTO TABLE lt_konv up to 1 row where knumh in lr_knumh. Note : No of entries(from Se11) in KONV table is very huge. getting runtime error after 90min. Regards, Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 14:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137134#M1905838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-19T14:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue on KONV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137135#M1905839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Praveen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your requirement is just to check if at least one entry exits then do the below piece.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you are already removing duplicates from your range table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SORT LR_KNUMH BY LOW.&lt;/P&gt;&lt;P&gt;DELETE ADJACENT DUPLICATES FROM LR_KNUMH COMPARING LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT COUNT( * ) UP TO 1 ROW&lt;/P&gt;&lt;P&gt;FROM KONV&lt;/P&gt;&lt;P&gt;WHERE KNUMH IN&amp;nbsp; LR_KNUMH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above statement does not need any container to hold select data. If it finds even 1 entry, your sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 14:12:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137135#M1905839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-19T14:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue on KONV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137136#M1905840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why you are querying via KNUMH? KONV is cluster table. Only good way to select from it via KNUMV.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 14:21:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137136#M1905840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-19T14:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue on KONV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137137#M1905841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you explain your requirement? may be we can suggest an alternate solution. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KONV is a cluster table and you should avoid reading from it without using all the primary keys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 14:49:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137137#M1905841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-19T14:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue on KONV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137138#M1905842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This advice won't help directly, but you should use Select....EndSelect when you want to fetch a single record and you do not have primary key in the where clause else go for Select Single.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Jun 2015 04:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137138#M1905842</guid>
      <dc:creator>Ankit_Maskara</dc:creator>
      <dc:date>2015-06-21T04:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue on KONV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137139#M1905843</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;ur statement should only last a few sec. you can try selecting via se16.your programm should take the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for selecting single value, i would use "select single"-statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im not very common with the cluster tables. But maybe a new index can help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Stefan Seeburger.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 06:41:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137139#M1905843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-06-22T06:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue on KONV table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137140#M1905844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Cluster table behind KONV is KOCLU with only avalaible key KNUMV at databse level. So to fulfill your request system has to read the whole table to look for KNUMH in imported internal table...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why are you performing this query on a counter field?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 06:50:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-on-konv-table/m-p/11137140#M1905844</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-06-22T06:50:34Z</dc:date>
    </item>
  </channel>
</rss>

