<?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 issues : Selection data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036991#M718552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob, you are in principle right, but this statement belongs to a selection screen &lt;/P&gt;&lt;P&gt;and a disussion of the improvements only makes sense, if ones knows which&lt;/P&gt;&lt;P&gt;conditions are actually filled: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
where a~monat le g_mth "Fiscal Period for current/ytd period
and a~gjahr eq g_year "Fiscal Year
and a~bukrs eq p_bukrs "Company Code
and b~blart in r_blart1 "Document Type
and b~gsber eq p_gsber 
and b~projk in so_projk 
and b~fistl in so_kostl 
and b~hkont in so_hkont 
and b~fkber in so_fkber 
and ( b~bstat ne 'S' 
and b~bstat ne 'V' ) 
and b~geber in so_geber. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Not all conditions are always filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND as everybody can see, some of the conditions are with a&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
and a~gjahr eq g_year "Fiscal Year
and a~bukrs eq p_bukrs "Company Code
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
and b~blart in r_blart1 "Document Type
and b~gsber eq p_gsber 
and b~projk in so_projk 
and b~fistl in so_kostl 
and b~hkont in so_hkont 
and b~fkber in so_fkber 
and ( b~bstat ne 'S' 
and b~bstat ne 'V' ) 
and b~geber in so_geber. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so sometimes it is better to start with bkpf = a and sometimes &lt;/P&gt;&lt;P&gt;with bsis = b. This is done by the join. This can not be rewritten as ONE&lt;/P&gt;&lt;P&gt;as FOR ALL ENTRIES (that is for all people with standard answers)!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not all combinations of select options will be optimal! You must try to&lt;/P&gt;&lt;P&gt;optimze the important ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SQL Trace will tell you which fields are actually and what is done on&lt;/P&gt;&lt;P&gt;the database. Fill different fields and you will get different behavior!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Nov 2007 14:46:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-11-14T14:46:28Z</dc:date>
    <item>
      <title>Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036985#M718546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello to everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to improve the performance of this select, because it takes several minutes.&lt;/P&gt;&lt;P&gt;Could someone help me ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select a~bukrs  "Company code&lt;/P&gt;&lt;P&gt;         a~belnr  "Accounting Document Number&lt;/P&gt;&lt;P&gt;         a~gjahr  "Fiscal Year&lt;/P&gt;&lt;P&gt;         a~blart  "Document type&lt;/P&gt;&lt;P&gt;         a~monat  "Fiscal Period&lt;/P&gt;&lt;P&gt;         a~bldat  "Document Date&lt;/P&gt;&lt;P&gt;         a~budat  "Posting Date&lt;/P&gt;&lt;P&gt;         a~xblnr  "Reference Document Number&lt;/P&gt;&lt;P&gt;         a~bktxt  "Document Header Text&lt;/P&gt;&lt;P&gt;         a~stblg  "Reverse Document Number&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;         b~hkont  "General Ledger Account&lt;/P&gt;&lt;P&gt;         b~aufnr  "Order&lt;/P&gt;&lt;P&gt;         b~projk  "WBS Element&lt;/P&gt;&lt;P&gt;         b~augbl  "Document Number of the Clearing Document&lt;/P&gt;&lt;P&gt;         b~geber  "Fund&lt;/P&gt;&lt;P&gt;         b~fkber  "Functional Area&lt;/P&gt;&lt;P&gt;         b~fipos  "Commitment Item&lt;/P&gt;&lt;P&gt;         b~gsber  "Business Area&lt;/P&gt;&lt;P&gt;         b~wrbtr  "Amount in document curr &lt;/P&gt;&lt;P&gt;         b~kostl  "Cost Center&lt;/P&gt;&lt;P&gt;         b~prctr  "Profit Center      &lt;/P&gt;&lt;P&gt;         b~fistl  "Funds Center&lt;/P&gt;&lt;P&gt;         b~shkzg  "Debit/Credit Indicator&lt;/P&gt;&lt;P&gt;         a~cpudt  "Entry Date      &lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;  from       bkpf as a&lt;/P&gt;&lt;P&gt;  inner join bsis as b on b&lt;SUB&gt;bukrs = a&lt;/SUB&gt;bukrs  "Company Code/Comp Bank&lt;/P&gt;&lt;P&gt;                      and b&lt;SUB&gt;belnr = a&lt;/SUB&gt;belnr  "Accounting Document Number&lt;/P&gt;&lt;P&gt;                      and b&lt;SUB&gt;gjahr = a&lt;/SUB&gt;gjahr  "Fiscal Year&lt;/P&gt;&lt;P&gt;                      and b&lt;SUB&gt;monat = a&lt;/SUB&gt;monat  "Fiscal Period&lt;/P&gt;&lt;P&gt;  where a~monat le  g_mth      "Fiscal Period for current/ytd period&lt;/P&gt;&lt;P&gt;    and a~gjahr eq  g_year     "Fiscal Year&lt;/P&gt;&lt;P&gt;    and a~bukrs eq  p_bukrs    "Company Code&lt;/P&gt;&lt;P&gt;    and b~blart in  r_blart1    "Document Type&lt;/P&gt;&lt;P&gt;    and b~gsber eq  p_gsber   &lt;/P&gt;&lt;P&gt;    and b~projk in  so_projk  &lt;/P&gt;&lt;P&gt;    and b~fistl in so_kostl   &lt;/P&gt;&lt;P&gt;    and b~hkont in so_hkont   &lt;/P&gt;&lt;P&gt;    and b~fkber in so_fkber   &lt;/P&gt;&lt;P&gt;    and ( b~bstat ne 'S'      &lt;/P&gt;&lt;P&gt;    and b~bstat ne 'V' )      &lt;/P&gt;&lt;P&gt;    and b~geber in so_geber.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 03:58:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036985#M718546</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T03:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036986#M718547</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;remove the inner join. First get all the data from BKPF and then query BSIS using FOR ALL ENTRIES IN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 04:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036986#M718547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T04:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036987#M718548</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;&lt;/P&gt;&lt;P&gt;USE  FOR ALL ENTRIES ALL WAYS , IF USE JOINS THE DATABASE CONNECTION WILL REMAIN EXIST FOR THAT TABLES  UP TO THE PROGRAM EXECUTION SO IT IMPACTS ON DTABASE LOAD RESULT IN BAD PERFORMANCE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF USE FOR ALL ENTRIES THEN THE DATA FROM THAT TABLES WILL EXTRACT AT TIME &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND DON'T USE CORESPONDING FIELDS IT WILL ALSO REDUCE THE PERFORMNCE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ALLWYS KEEP THE ORDER OF SELECT QUERY FIELDS IN THE ORDER OF INTERNAL TABLE DECLARATION &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REWARD IF USEFUL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 05:19:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036987#M718548</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T05:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036988#M718549</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; 1. Use For all entries instead of Inner joins&lt;/P&gt;&lt;P&gt; 2. Avoid NE operations in Where clause.&lt;/P&gt;&lt;P&gt; 3. Use select fields in the same order as they appear in database table, do the same in where clause also.&lt;/P&gt;&lt;P&gt; 4. Use secondary indexes in improve performance, When considering secondary indexes use them at the first place in where clause order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps,&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 09:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036988#M718549</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T09:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036989#M718550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Run the SQL trace for your select and read the results:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL trace:&lt;/P&gt;&lt;P&gt;/people/siegfried.boes/blog/2007/09/05/the-sql-trace-st05-150-quick-and-easy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Never try to do performance improvements without running a trace, you just come from unclear state to another.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no general recommendation to change JOINs into FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;Many people write this here in the forum, but it is simply not true! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read my blog, then you will see that I know what I am talking about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 10:07:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036989#M718550</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T10:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036990#M718551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've changed your WHERE somewhat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;WHERE a~monat LE g_mth "Fiscal Period for current/ytd period
  AND a~gjahr EQ g_year "Fiscal Year
  AND a~bukrs EQ p_bukrs "Company Code
  AND a~blart IN r_blart1 "Document Type
  AND a~bstat IN (' ', 'A', 'B', 'D', 'M', 'W', 'Z')
  AND b~gsber EQ p_gsber
  AND b~projk IN so_projk
  AND b~fistl IN so_kostl      "&amp;lt;============ ??????
  AND b~hkont IN so_hkont
  AND b~fkber IN so_fkber
  AND b~geber IN so_geber.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an index for BKPF on document type (blart) that is not available in BSIS. But the BSTAT "&amp;lt;&amp;gt;" would prevent it from being used so I changed it to "=" (using the remaining values) and also used BKPF here instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It also looks like you may be confusing fund centers (fistl) with cost centers (kostl). You should check your logic there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes, leave the JOIN as is for now. JOINS are generally faster then FOR ALL ENTRIES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Rob Burbank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 14:29:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036990#M718551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T14:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036991#M718552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob, you are in principle right, but this statement belongs to a selection screen &lt;/P&gt;&lt;P&gt;and a disussion of the improvements only makes sense, if ones knows which&lt;/P&gt;&lt;P&gt;conditions are actually filled: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
where a~monat le g_mth "Fiscal Period for current/ytd period
and a~gjahr eq g_year "Fiscal Year
and a~bukrs eq p_bukrs "Company Code
and b~blart in r_blart1 "Document Type
and b~gsber eq p_gsber 
and b~projk in so_projk 
and b~fistl in so_kostl 
and b~hkont in so_hkont 
and b~fkber in so_fkber 
and ( b~bstat ne 'S' 
and b~bstat ne 'V' ) 
and b~geber in so_geber. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Not all conditions are always filled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AND as everybody can see, some of the conditions are with a&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
and a~gjahr eq g_year "Fiscal Year
and a~bukrs eq p_bukrs "Company Code
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
and b~blart in r_blart1 "Document Type
and b~gsber eq p_gsber 
and b~projk in so_projk 
and b~fistl in so_kostl 
and b~hkont in so_hkont 
and b~fkber in so_fkber 
and ( b~bstat ne 'S' 
and b~bstat ne 'V' ) 
and b~geber in so_geber. 
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so sometimes it is better to start with bkpf = a and sometimes &lt;/P&gt;&lt;P&gt;with bsis = b. This is done by the join. This can not be rewritten as ONE&lt;/P&gt;&lt;P&gt;as FOR ALL ENTRIES (that is for all people with standard answers)!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not all combinations of select options will be optimal! You must try to&lt;/P&gt;&lt;P&gt;optimze the important ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The SQL Trace will tell you which fields are actually and what is done on&lt;/P&gt;&lt;P&gt;the database. Fill different fields and you will get different behavior!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 14:46:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036991#M718552</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T14:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036992#M718553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Of course Siegfried - I am trying to improve the SELECT as it was written. You'll notice that I didn't suggest checking if parameters and select options are completed or not, because at this stage I wouldn't worry about that. It's a separate question. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would start with the SELECT the way I have re-written it and then do more analysis if there are still problems. I wouldn't start trying to analyze something that you know already has problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Nov 2007 15:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036992#M718553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-14T15:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036993#M718554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ooo....thanks my friend... i'll try the solutions and let you all know the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 01:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036993#M718554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T01:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036994#M718555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the ST05 EXPLAIN function, not run times in your analysis. The run times will be affected by buffering.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 03:52:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036994#M718555</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T03:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036995#M718556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob,&lt;/P&gt;&lt;P&gt;you are right, if the bstat is used then your change will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would you not recommend to use runtimes of the SQL Trace, they are perfectly o.k. However, one must exploit the database caching, i.e. measure only after several initialization runs. Then the numbers can be used for comparison.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 12:30:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036995#M718556</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T12:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues : Selection data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036996#M718557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Siegfried - I'm not saying don't use the trace. It's a very useful tool. I'm saying that it makes much more sense to fix the obvious problems first and then run the trace.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Repeat as necesaary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2007 14:25:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-selection-data/m-p/3036996#M718557</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-15T14:25:35Z</dc:date>
    </item>
  </channel>
</rss>

