<?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: SAS DI Jobs - OLEDB / SQL Server - Bulk Load=Yes Negative Impact - Blocking Query in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237934#M6148</link>
    <description>&lt;P&gt;I believe "bulkload=yes" is a dataset option not a library option. Not sure why you would need to create a separate library only to avoid bulkloading. It's something you can set directly in the DIS transformations as well.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 05 Dec 2015 03:04:13 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2015-12-05T03:04:13Z</dc:date>
    <item>
      <title>SAS DI Jobs - OLEDB / SQL Server - Bulk Load=Yes Negative Impact - Blocking Query</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237564#M6131</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have recently been re-investigating the performance of our SAS ETL processes and have observered that when usign a Modify by Index table loader to load data this performs quicker&amp;nbsp;when Bulk Load=No.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From oberserving activity within SQL Server when bulk load is enabled the query looks to do some&amp;nbsp;processing but then get blocked by another query that is part of the same job in the format...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;?query --&lt;BR /&gt;(@Param000004 int,@Param000005 int,@Param000006...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This blocking query does not start&amp;nbsp;when Bulk Load is turned off on for the library within SAS.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;If bulkload=no a test job will take around 2 minutes.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN style="line-height: 20px;"&gt;If bulkload=yes a test job will run beyond 20minutes.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;So far i can only see bulkload having a negative impact, however I was wondering if optimisation settings such as Block Insert Buffer or anyother settings need to be optimised to ensure that the bulkload works correctly. I've run tests varying/increasing Block Insert Buffer but this behaviour still happens. Exisiting ETL's were setup to use bulk load=yes so just trying to clarifiy as to why this would have a negative impact? And why would it be set to yes if it does.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;This is currently SAS 9.3 as we are in the middle of migrating DI Studio ETL processes to SAS 9.4.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="line-height: 20px;"&gt;Thank&amp;nbsp;you&amp;nbsp;for any responses in advance.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 11:27:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237564#M6131</guid>
      <dc:creator>mrtball</dc:creator>
      <dc:date>2015-12-03T11:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Jobs - OLEDB / SQL Server - Bulk Load=Yes Negative Impact - Blocking Query</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237572#M6133</link>
      <description>&lt;P&gt;Frankly, I haven't given this situation much thought.&lt;/P&gt;
&lt;P&gt;I believed in some&amp;nbsp;kind of magic way bulk-load wqsn't used for update operations.&lt;/P&gt;
&lt;P&gt;Clearly, bulkload has it's benefits when it comes&amp;nbsp;to append/insert operations.&lt;/P&gt;
&lt;P&gt;If you don't fins any other convenient way, setting bulkload=yes as a data set option may be an alternative?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 12:15:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237572#M6133</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-12-03T12:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Jobs - OLEDB / SQL Server - Bulk Load=Yes Negative Impact - Blocking Query</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237588#M6136</link>
      <description>Hello Linus,&lt;BR /&gt;&lt;BR /&gt;Thank you for the response, I think your points have highlighted a few things I'd not considered in particular the fact the table loader is updating the majority of the records in this instance and not inserting. &lt;BR /&gt;&lt;BR /&gt;Having caught up with our SQL Server DBA team they have also highlighted that as the volumes we are processed are only 700k they don't believe BulkLoad is required anyway, so we will consider potentially creating a separate library with Bulkload turned off for this 1 table for the moment.&lt;BR /&gt;&lt;BR /&gt;I just wonder if there is some efficiency issue that is caused when combining BulkLoad=Yes and Modify By Index (or Columns) on a table loader which when communicated to SQL Server via the SAS/ACCESS OLDEB engine it doesn't quite convert to an efficient method of processing data.&lt;BR /&gt;&lt;BR /&gt;Thanks,</description>
      <pubDate>Thu, 03 Dec 2015 14:43:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237588#M6136</guid>
      <dc:creator>mrtball</dc:creator>
      <dc:date>2015-12-03T14:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Jobs - OLEDB / SQL Server - Bulk Load=Yes Negative Impact - Blocking Query</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237696#M6139</link>
      <description>Use SASTRACE debug - the SQL Server SQL might give some explanation?</description>
      <pubDate>Thu, 03 Dec 2015 21:35:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237696#M6139</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-12-03T21:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAS DI Jobs - OLEDB / SQL Server - Bulk Load=Yes Negative Impact - Blocking Query</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237934#M6148</link>
      <description>&lt;P&gt;I believe "bulkload=yes" is a dataset option not a library option. Not sure why you would need to create a separate library only to avoid bulkloading. It's something you can set directly in the DIS transformations as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 03:04:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/SAS-DI-Jobs-OLEDB-SQL-Server-Bulk-Load-Yes-Negative-Impact/m-p/237934#M6148</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2015-12-05T03:04:13Z</dc:date>
    </item>
  </channel>
</rss>

