<?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: Join performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906625#M377847</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;If you are using clauses like into corresponding field or some thing like it is expected to slow down. Plus in the where clause try giving all the primary keys for selection if not all atleast try to put the maximum. Select/Endselect is a direct performance bug. Instead try using into table ,Try any of these things and if found useful ,reward thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mathivanan G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2007 10:30:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-09T10:30:47Z</dc:date>
    <item>
      <title>Join performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906621#M377843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used the join technique to access BKPF entries joining with another temporary table i have created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done a SQL trace to check the indexes being used and it does use the primary key from BKPF. However for say 60000 records to be returned to the application server the time taken is more than 2 minutes. I notice that it happens in packets of say 100 records each and this number is not the same always.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can this be improved. are there any parameters which can be used to control the number of records from one single database round trip. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 07:22:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906621#M377843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T07:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Join performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906622#M377844</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 think, this packages are based on network packages (of about 2KB). So if you want to have more lines per packet, reduce the fields you select (instead of having select *).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 09:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906622#M377844</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2007-02-08T09:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Join performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906623#M377845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it normal for 60000 rows to be transported from DB to App server to take over 2 minutes. I am selecting only 4 fields from the table. Can anything else be done.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 09:33:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906623#M377845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-08T09:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Join performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906624#M377846</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;when your 4 fields have about 20 bytes, then you have already 2KB packages for data transfer. In modern networks bigger packages are possible - but the link between DB and application server is usually not a bottle neck. Nevertheless - there are many places were performance can get lost. Even scanning huge (physical) areas of the HD to get the 4 fields from different entries will be slower then a simple sequential reading. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are definitely faster systems / tables, where you can get 60 000 entries in less then 2 minutes, but difficult to say, where in your case the time is spend.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 11:57:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906624#M377846</guid>
      <dc:creator>christian_wohlfahrt</dc:creator>
      <dc:date>2007-02-08T11:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Join performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906625#M377847</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;If you are using clauses like into corresponding field or some thing like it is expected to slow down. Plus in the where clause try giving all the primary keys for selection if not all atleast try to put the maximum. Select/Endselect is a direct performance bug. Instead try using into table ,Try any of these things and if found useful ,reward thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mathivanan G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 10:30:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906625#M377847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T10:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Join performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906626#M377848</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;Please use the intrernal table of HASHED type... This allots memory for large number of data records..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;u can go for hashed tables because u know that the amount of data retrieved is more..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will definitly reduce the load  on the serveer,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;rajiv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 11:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/join-performance/m-p/1906626#M377848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-09T11:11:15Z</dc:date>
    </item>
  </channel>
</rss>

