<?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: Select single performence issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612165#M1862937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to get the data with a single selection, I believe it has to generate an index with the fields used in WHERE condition else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it's possible you can try to get the primary key by a query in another tables linked with your table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Sep 2014 16:08:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-10T16:08:54Z</dc:date>
    <item>
      <title>Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612162#M1862934</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;&lt;/P&gt;&lt;P&gt;Actually i need to improve one Report performence. SELECT SINGLE with out primary keys used in the report,While checking Runtime analysis for the Report,Only select single is taking more time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please tel me,If i replace select single with select upto 1 rows,it will improve performence or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:37:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612162#M1862934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-10T15:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612163#M1862935</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; I don't believe the performance can be improved by replacing SELECT SINGLE with UP TO 1 ROWS, the main problem could be the fields used in WHERE condition are not keys or are not in a index&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 15:52:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612163#M1862935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-10T15:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612164#M1862936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Max for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes select single used without primary keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but now i cant include the primary keys.. is there any other way to improve the performence without replacing with select upto 1 rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 16:03:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612164#M1862936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-10T16:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612165#M1862937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you need to get the data with a single selection, I believe it has to generate an index with the fields used in WHERE condition else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it's possible you can try to get the primary key by a query in another tables linked with your table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 16:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612165#M1862937</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-10T16:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612166#M1862938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please, if possible, could you send the select single?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2014 16:11:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612166#M1862938</guid>
      <dc:creator>rodrigo_paisante3</dc:creator>
      <dc:date>2014-09-10T16:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612167#M1862939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Trinadh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When no primary key is used, Secondary index has to be used. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 08:37:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612167#M1862939</guid>
      <dc:creator>former_member202771</dc:creator>
      <dc:date>2014-09-11T08:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612168#M1862940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Trinadh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you do not want to use primary key of the table either in fetching the data or in where condition.It's better to use select up to 1 rows or creating a secondary index based on your select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In least case you can go with it.Just add the primary key in your where condition of select statement as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: Example Where vbeln like '%'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 09:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612168#M1862940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T09:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612169#M1862941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you tell me how many times this statement is being executed? on which table and how many entries do you in this table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondary key has to be created for this field in the table. Also please check how many secondary keys are available in that table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 09:39:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612169#M1862941</guid>
      <dc:creator>Shahid</dc:creator>
      <dc:date>2014-09-11T09:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612170#M1862942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problem solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have included primary keys by adding some logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but still my doubt is,if we are not able to use select single with all primary keys,we should create secondary indexes?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 16:55:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612170#M1862942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T16:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612171#M1862943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. You should create secondary indexes for better performance if your where clause has non index keys.&lt;/P&gt;&lt;P&gt;Aslo if your table has less entries and you are using it multiple times, then better select all the entries place it in global table, sort on the filed for which u want to read and read it with binary search&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 17:00:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612171#M1862943</guid>
      <dc:creator>Shahid</dc:creator>
      <dc:date>2014-09-11T17:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612172#M1862944</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 may use Select... Upto 1 Row instead of the Select Single. if it is partial primary key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to avoid the End Select., then code it as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; From...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Into ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; up to&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;Where ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your selection does not have any of the primary key ideally you have to create the Secondary index.&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;Muralee&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Sep 2014 06:17:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612172#M1862944</guid>
      <dc:creator>muraleedharan_ks</dc:creator>
      <dc:date>2014-09-12T06:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Select single performence issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612173#M1862945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically no much performance improvement is to be expected without either creation of new indexes or identification of other tables to execute intermediary JOIN as described in some OSS notes (Look with keywords "Performance" "Customer developments" for SD, MM/WM and PP/PM.&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>Fri, 12 Sep 2014 06:42:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-single-performence-issue/m-p/10612173#M1862945</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-09-12T06:42:14Z</dc:date>
    </item>
  </channel>
</rss>

