<?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 while using select single query in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099971#M980413</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;   The purpose of using the below statement is to pick the exact record without having an impact on the performance .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   When using the query Select Single *,&lt;/P&gt;&lt;P&gt;1)  It is important to make use of primary key fields in the 'Where clause'.&lt;/P&gt;&lt;P&gt;2)  The sequence of the Key field in the 'Where Clause' should be same as defined in the Table. It would have an considerable impact on the performance if the sequence of key fields does not match the sequence defined in the std table.&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;Kiran Kumar V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Jun 2008 05:40:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-28T05:40:04Z</dc:date>
    <item>
      <title>performance issue while using select single query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099963#M980405</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;           While using the select single statment performance getting slow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          SELECT SINGLE NODENAME&lt;/P&gt;&lt;P&gt;         INTO W_CUST&lt;/P&gt;&lt;P&gt;         FROM /BI0/HCUSTOMER&lt;/P&gt;&lt;P&gt;        WHERE NODEID = W_CUSTOMER-PARENTID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in where condition given field is secondary key(PARENTID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table Technical setting given below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. data class --customer data class&lt;/P&gt;&lt;P&gt;2. size category --4(expected data record 13.000 to 520.000&lt;/P&gt;&lt;P&gt;   but at present my table number of entries (1.544.092)&lt;/P&gt;&lt;P&gt;3. buffering switched on&lt;/P&gt;&lt;P&gt;4. buffer type generic ( no.of key fields 2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;note my tabel has 10 fields in it 3 primary key fields and one secondary fields(PARENTID), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please give me solution to increase the performance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward asured&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Thambe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 15:25:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099963#M980405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-26T15:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue while using select single query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099964#M980406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create secondary index on field NODEID for the table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 15:29:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099964#M980406</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2008-06-26T15:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue while using select single query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099965#M980407</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;Run ST05 to check which index is being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you saying that you created an index for field PARENTID? In that query it won't help. You should create a secondary index with NODEID field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Valter Oliveira.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2008 15:29:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099965#M980407</guid>
      <dc:creator>valter_oliveira</dc:creator>
      <dc:date>2008-06-26T15:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue while using select single query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099966#M980408</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;Whenerver You Use &lt;/P&gt;&lt;P&gt;SELECT SINGLE Statement ,In The WHERE Condition&lt;/P&gt;&lt;P&gt;you should use Only the PRIMERY KEYS/KEY FILELDS .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your code you are not using key fields thats why perfomance&lt;/P&gt;&lt;P&gt;getting slow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 04:21:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099966#M980408</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T04:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue while using select single query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099967#M980409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;          NODEID is primary key fields field only...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Thambe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 06:20:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099967#M980409</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T06:20:09Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue while using select single query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099968#M980410</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;Try your query with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT f ... FROM tab UP TO 1 ROWS &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will help you in performance issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anirban Bhattacharjee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 06:27:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099968#M980410</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-27T06:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue while using select single query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099969#M980411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi ,&lt;/P&gt;&lt;P&gt;you can try this &lt;/P&gt;&lt;P&gt;  select single xyz&lt;/P&gt;&lt;P&gt;             into wa_x-xyz from x_table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and see in ST05 that your selection is using which Index.&lt;/P&gt;&lt;P&gt;If above doesnt work then create secondary Index for ur field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points if this helps........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2008 06:58:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099969#M980411</guid>
      <dc:creator>SujeetMishra</dc:creator>
      <dc:date>2008-06-27T06:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue while using select single query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099970#M980412</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;You have said that table have 3 primery key fields.&lt;/P&gt;&lt;P&gt;But in SELECT Query you are using only one primery key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Database table For The three primery key combination there is one record.&lt;/P&gt;&lt;P&gt;But for a particuler single primary key there may be multiple records. But in select statement you are fetching single record. &lt;/P&gt;&lt;P&gt; Thats why execution taking more time.&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;&lt;/P&gt;&lt;P&gt;sujit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 05:00:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099970#M980412</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-28T05:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: performance issue while using select single query</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099971#M980413</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;   The purpose of using the below statement is to pick the exact record without having an impact on the performance .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   When using the query Select Single *,&lt;/P&gt;&lt;P&gt;1)  It is important to make use of primary key fields in the 'Where clause'.&lt;/P&gt;&lt;P&gt;2)  The sequence of the Key field in the 'Where Clause' should be same as defined in the Table. It would have an considerable impact on the performance if the sequence of key fields does not match the sequence defined in the std table.&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;Kiran Kumar V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2008 05:40:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-while-using-select-single-query/m-p/4099971#M980413</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-28T05:40:04Z</dc:date>
    </item>
  </channel>
</rss>

