<?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 MAXDOP (parallelism on MS SQL) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/maxdop-parallelism-on-ms-sql/m-p/7034252#M1499812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colleagues from SQL Server team suggested we look into parallel processing for heavy SQL Server queries, using more than one CPU/worker thread to retrieve large amounts of data quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, and on SAPu2019s recommendation, parallelism is turned off on all systems, due to the overhead it causes on queries that would not benefit from it anyway.&lt;/P&gt;&lt;P&gt;The parameter that controls this behavior in the SQL Server engine is called u2018maximum degree of parallelismu2019, or MAXDOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since SAP supports u201C%_HINTSu201D in their Open SQL implementation in ABAP, we can activate parallelism per query as needed. So I tried this hint on approximately 10-15 SQL statements in the system with a lot of data, but no significant change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course I know that DB-specific things like hints are not recommended by SAP, but stillu2026&lt;/P&gt;&lt;P&gt;Just wanted to know if anyone had good experience of applying this MAXDOP hint and if yes u2013 on what kind of SELECTs it was? (like SELECT JOIN, SELECT GROUP BY, SELECT SUM( DISTINCT col ) etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, &lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Jun 2010 18:49:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-25T18:49:57Z</dc:date>
    <item>
      <title>MAXDOP (parallelism on MS SQL)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maxdop-parallelism-on-ms-sql/m-p/7034252#M1499812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Colleagues from SQL Server team suggested we look into parallel processing for heavy SQL Server queries, using more than one CPU/worker thread to retrieve large amounts of data quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default, and on SAPu2019s recommendation, parallelism is turned off on all systems, due to the overhead it causes on queries that would not benefit from it anyway.&lt;/P&gt;&lt;P&gt;The parameter that controls this behavior in the SQL Server engine is called u2018maximum degree of parallelismu2019, or MAXDOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since SAP supports u201C%_HINTSu201D in their Open SQL implementation in ABAP, we can activate parallelism per query as needed. So I tried this hint on approximately 10-15 SQL statements in the system with a lot of data, but no significant change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course I know that DB-specific things like hints are not recommended by SAP, but stillu2026&lt;/P&gt;&lt;P&gt;Just wanted to know if anyone had good experience of applying this MAXDOP hint and if yes u2013 on what kind of SELECTs it was? (like SELECT JOIN, SELECT GROUP BY, SELECT SUM( DISTINCT col ) etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot, &lt;/P&gt;&lt;P&gt;Vlad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Jun 2010 18:49:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maxdop-parallelism-on-ms-sql/m-p/7034252#M1499812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-25T18:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: MAXDOP (parallelism on MS SQL)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maxdop-parallelism-on-ms-sql/m-p/7034253#M1499813</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;Refer the following thred it will give idea how to used the parallal  ABAP Sql execution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1711734"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Ravi Lanjewar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jun 2010 10:22:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maxdop-parallelism-on-ms-sql/m-p/7034253#M1499813</guid>
      <dc:creator>ravi_lanjewar</dc:creator>
      <dc:date>2010-06-26T10:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: MAXDOP (parallelism on MS SQL)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/maxdop-parallelism-on-ms-sql/m-p/7034254#M1499814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vlad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried it on ORACLE and it worked quite well. Usually&lt;/P&gt;&lt;P&gt;for SELCTS that do multiblock I/O (or work with partitioned segments).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you "specified" parallel execution with a hint in MSSQL &lt;/P&gt;&lt;P&gt;(how) did you check that it is actually executed in parallel?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know such details about MSSQL but maybe you have&lt;/P&gt;&lt;P&gt;activate parall processes on system level as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hermann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jun 2010 20:27:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/maxdop-parallelism-on-ms-sql/m-p/7034254#M1499814</guid>
      <dc:creator>HermannGahm</dc:creator>
      <dc:date>2010-06-27T20:27:10Z</dc:date>
    </item>
  </channel>
</rss>

