<?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: low performance -select select single * in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910798#M379187</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;Don't use Select Single *, but try specify your field.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT SINGLE Field1 Field2 FieldN ...&lt;/P&gt;&lt;P&gt;FROM TableName&lt;/P&gt;&lt;P&gt;INTO (Field1, Field2, FieldN, ... )&lt;/P&gt;&lt;P&gt;WHERE (your where condition here ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2007 09:00:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-08T09:00:14Z</dc:date>
    <item>
      <title>low performance -select select single *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910795#M379184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;can you provide the alernative to&lt;/P&gt;&lt;P&gt;select single * to increase the performance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 08:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910795#M379184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T08:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: low performance -select select single *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910796#M379185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;   If you want to get the best performance with SELECT SINGLE only way out is to have all the fields of the primary key in the WHERE clause.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 08:52:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910796#M379185</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-02-08T08:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: low performance -select select single *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910797#M379186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shyam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most of performance problem are du to the way ( the table chain) to retrieve the data, not the statement you use.&lt;/P&gt;&lt;P&gt;The "select single" statement is performant. But do you fill all the table key in your "where clause" ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 08:55:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910797#M379186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T08:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: low performance -select select single *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910798#M379187</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;Don't use Select Single *, but try specify your field.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SELECT SINGLE Field1 Field2 FieldN ...&lt;/P&gt;&lt;P&gt;FROM TableName&lt;/P&gt;&lt;P&gt;INTO (Field1, Field2, FieldN, ... )&lt;/P&gt;&lt;P&gt;WHERE (your where condition here ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 09:00:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910798#M379187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T09:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: low performance -select select single *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910799#M379188</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;a select single with (primary) index access will be faster - and there is no faster way. But when you don't have index access, no other select will be faster, too.&lt;/P&gt;&lt;P&gt;Only when you make the select single inside a loop, the thousands of repetitions will summarize to some time. Here a select for all entries outside of the loop should be faster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 11:59:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910799#M379188</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2007-02-08T11:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: low performance -select select single *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910800#M379189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;select single is a good performance clause ... but try specifying the fields you want to retiree plus in the where clause try to specify all the primary fields in the table this will improve the performance considerably .an exact alternative is using upto 1 rows but select single in better than upto one rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pl .provide point if found helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 10:23:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910800#M379189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T10:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: low performance -select select single *</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910801#M379190</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;u have to use the select single only if u have full primary key..otherwise u will not get the expected resuet.. suppose &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select single * from vbap 
into wa_vbap 
where vbeln = xxxx and 
          posnr = xxxx.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u dont have the POSNR value the use upto 1 rows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;select * from
 vbap into wa_vbap 
 up to 1 rows
 where vbeln = xxxx
end select.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 14:31:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/low-performance-select-select-single/m-p/1910801#M379190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T14:31:45Z</dc:date>
    </item>
  </channel>
</rss>

