<?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 : DATA FETCH in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156695#M455718</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;in order to have better performance we must reduce the number of database hits,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in order to eliminate redundant database reads it is better to read data for 1000 plants into an internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2007 06:53:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-03T06:53:26Z</dc:date>
    <item>
      <title>Performance : DATA FETCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156694#M455717</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;Is that better to read data for 1000 plants and then read entries from internal table for 10 plants...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[bOR&amp;lt;/b&amp;gt; Is that better to do a select on table for 10 plants ...10 times... ( because we dont know abt these 10 plants at runtime).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which one is better for performance wise...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pra&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Praneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:46:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156694#M455717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T06:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Performance : DATA FETCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156695#M455718</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;in order to have better performance we must reduce the number of database hits,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in order to eliminate redundant database reads it is better to read data for 1000 plants into an internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:53:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156695#M455718</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T06:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Performance : DATA FETCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156696#M455719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is it better to reduce no of data hits than volume of data transfer from data base...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Because both things appear in performance tuning...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Praneeth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 06:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156696#M455719</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T06:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Performance : DATA FETCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156697#M455720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are fetching data from databse by providing all the key fields in where clause then you can use select single statement to fetch 10 records at runtime. But if you are not providing ALL the key fields then this will have performance issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can provide max no. of key fields in select statement then selecting 1000 records from database will not take much time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use ST05 to check the performance issue by coding in both the ways and then you will be the best judge to decide which method to use.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a look at below link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/d1/801f96454211d189710000e8322d00/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/d1/801f96454211d189710000e8322d00/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Vibha &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*Please mark all the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 07:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156697#M455720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T07:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Performance : DATA FETCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156698#M455721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its always better to select table enries as maximun as possible at a time(select *) into an internal table and then havine a loop at that table and then read data from your actual internal table that you mensioned in the query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not better to do a select on table for 10 plants ...10 times even though don&amp;#146;t know about these 10 plants at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because if access database  more times time will be more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i hope it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;Rama.Pammi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 07:08:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156698#M455721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T07:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Performance : DATA FETCH</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156699#M455722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes praneet, it is better to reduce the number of database hits.&lt;/P&gt;&lt;P&gt;As u r hitting same table for 10 times it is not advisable, so select all the 1000 plants into internal table.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2007 07:13:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-data-fetch/m-p/2156699#M455722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-03T07:13:43Z</dc:date>
    </item>
  </channel>
</rss>

