<?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: SQL for all entries performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784465#M39491</link>
    <description>&lt;P&gt;this is the trace output &lt;/P&gt;&lt;P&gt;Quality&lt;/P&gt;&lt;P&gt;SELECT "EQUNR","HEQUI" FROM "EQUZ"
WHERE "MANDT"=:A0 AND "EQUNR" IN (:A1,:A2,:A3,:A4,:A5,:..... A50) AND
"DATBI"&amp;gt;=:A51 AND "DATAB"&amp;lt;=:A52 AND
"HEQUI"&amp;lt;&amp;gt;:A53&lt;/P&gt;&lt;P&gt;Acceptance&lt;/P&gt;&lt;P&gt;SELECT "EQUNR","HEQUI" FROM "EQUZ"
WHERE "MANDT"=:A0 AND "EQUNR" IN (:A1,:A2,:A3,:A4,:A5) AND
"DATBI"&amp;gt;=:A6 AND "DATAB"&amp;lt;=:A7 AND
"HEQUI"&amp;lt;&amp;gt;:A8&lt;/P&gt;</description>
    <pubDate>Fri, 11 Jan 2019 11:23:21 GMT</pubDate>
    <dc:creator>former_member600392</dc:creator>
    <dc:date>2019-01-11T11:23:21Z</dc:date>
    <item>
      <title>SQL for all entries performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784464#M39490</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;We have a select query with for all entries on EQUZ(table does not matter) which is behaving differently in quality and acceptance. We are passing the HEQUI in where condition of the select query(Index is available and is also used). The performance is considerably slow in acceptance and we have about same number of records in quality and acceptance on EQUZ table.&lt;/P&gt;
  &lt;P&gt;We did a trace on both system and found out that on quality the select is hitting the data base 50 entries at a time from the for all entries table.&lt;/P&gt;
  &lt;P&gt;But on acceptance the same select is hitting the database 5 entries at a time and because of this the number of executions are high and the performance is slow in acceptance.&lt;/P&gt;
  &lt;P&gt;Is there any setting that controls this behaviour?&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 11:19:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784464#M39490</guid>
      <dc:creator>former_member600392</dc:creator>
      <dc:date>2019-01-11T11:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: SQL for all entries performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784465#M39491</link>
      <description>&lt;P&gt;this is the trace output &lt;/P&gt;&lt;P&gt;Quality&lt;/P&gt;&lt;P&gt;SELECT "EQUNR","HEQUI" FROM "EQUZ"
WHERE "MANDT"=:A0 AND "EQUNR" IN (:A1,:A2,:A3,:A4,:A5,:..... A50) AND
"DATBI"&amp;gt;=:A51 AND "DATAB"&amp;lt;=:A52 AND
"HEQUI"&amp;lt;&amp;gt;:A53&lt;/P&gt;&lt;P&gt;Acceptance&lt;/P&gt;&lt;P&gt;SELECT "EQUNR","HEQUI" FROM "EQUZ"
WHERE "MANDT"=:A0 AND "EQUNR" IN (:A1,:A2,:A3,:A4,:A5) AND
"DATBI"&amp;gt;=:A6 AND "DATAB"&amp;lt;=:A7 AND
"HEQUI"&amp;lt;&amp;gt;:A8&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 11:23:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784465#M39491</guid>
      <dc:creator>former_member600392</dc:creator>
      <dc:date>2019-01-11T11:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: SQL for all entries performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784466#M39492</link>
      <description>&lt;P&gt;Transaction code RZ11, check the profile parameters rsdb/max_blocking_factor and rsdb/max_in_blocking_factor&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 14:53:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784466#M39492</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-01-11T14:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: SQL for all entries performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784467#M39493</link>
      <description>&lt;P&gt;Thank you Sandra. That helped&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 17:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784467#M39493</guid>
      <dc:creator>former_member600392</dc:creator>
      <dc:date>2019-01-11T17:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: SQL for all entries performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784468#M39494</link>
      <description>&lt;P&gt;@ rahul please give more details to other people having the same issue in the future&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jan 2019 18:45:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784468#M39494</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-01-11T18:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: SQL for all entries performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784469#M39495</link>
      <description>&lt;P&gt;after changing the parameter rsdb/max_in_blocking_factor from 5 to 50, we have notice that system is now hitting the database with 50 entries at a time and performance improved significantly. However we do not want to impact the system by changing this parameter for the sake of few queries and we are going to use DBHints in select query instead of changing the parameter rsdb/max_in_blocking_factor.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 11:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784469#M39495</guid>
      <dc:creator>former_member600392</dc:creator>
      <dc:date>2019-01-17T11:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: SQL for all entries performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784470#M39496</link>
      <description>&lt;P&gt;Thanks for the feedback !&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 11:50:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sql-for-all-entries-performance/m-p/784470#M39496</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-01-17T11:50:00Z</dc:date>
    </item>
  </channel>
</rss>

