<?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 How to save time to extract data from SQL Server. in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211978#M4976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I want to extract data from SQL Server. I successfully connect my computer with SQL Server by ODBC .&lt;/P&gt;&lt;P&gt;Then I run proc sql to extract data from one table in SQL Server database:P_2013. The SAS log showed me that it took ~40 min for extracting the data.&amp;nbsp; &lt;/P&gt;&lt;P&gt;To save time, I run the same SAS program in three computers simultaneously to extract data from other tables of the same database:P_2013. &lt;/P&gt;&lt;P&gt;The SAS log surprisingly showed that it took ~130 min for extracting the data, about three times as one computer . No time was saved at all! &lt;/P&gt;&lt;P&gt;Would you please suggest me how to save time to extract data from the tables of the same database in SQL Server ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2015 17:22:01 GMT</pubDate>
    <dc:creator>jc259star</dc:creator>
    <dc:date>2015-07-27T17:22:01Z</dc:date>
    <item>
      <title>How to save time to extract data from SQL Server.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211978#M4976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I want to extract data from SQL Server. I successfully connect my computer with SQL Server by ODBC .&lt;/P&gt;&lt;P&gt;Then I run proc sql to extract data from one table in SQL Server database:P_2013. The SAS log showed me that it took ~40 min for extracting the data.&amp;nbsp; &lt;/P&gt;&lt;P&gt;To save time, I run the same SAS program in three computers simultaneously to extract data from other tables of the same database:P_2013. &lt;/P&gt;&lt;P&gt;The SAS log surprisingly showed that it took ~130 min for extracting the data, about three times as one computer . No time was saved at all! &lt;/P&gt;&lt;P&gt;Would you please suggest me how to save time to extract data from the tables of the same database in SQL Server ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2015 17:22:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211978#M4976</guid>
      <dc:creator>jc259star</dc:creator>
      <dc:date>2015-07-27T17:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to save time to extract data from SQL Server.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211979#M4977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds like you have a constraint outside SAS. To verify use&lt;/P&gt;&lt;P&gt;options fullstimer;&lt;/P&gt;&lt;P&gt;You have no filters? If not, I think that the best way forward is going to your dba/nw/Windows server admins. They should be able to help you find the bottlenecks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 08:38:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211979#M4977</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2015-07-28T08:38:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to save time to extract data from SQL Server.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211980#M4978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linus,&lt;/P&gt;&lt;P&gt;Thank you very much for your advice. I will go to our Server Admins for more information.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 21:12:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211980#M4978</guid>
      <dc:creator>jc259star</dc:creator>
      <dc:date>2015-07-28T21:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to save time to extract data from SQL Server.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211981#M4979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very likely your bottleneck is your database server, or possibly your networking environment. If your server is running as hard as it can to meet your one request, sending it three requests will stretch out the time for each request. Likewise, if one request fills your network "pipe", sending three times the data through the pipe will take three times as long.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your database and network administrators should be able to help you determine how heavily loaded the infrastructure is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 22:00:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211981#M4979</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2015-07-28T22:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to save time to extract data from SQL Server.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211982#M4980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;jc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can verify what Tom Kari said, being an Oracle Db I see this happen a lot. When the network pipe is full, the network pipe is full, you just have to wait due to bandwidth limitations. If your server is maxing out trying to pull your data, you cannot get more down the pipe, even if it is open, than the server will push.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As stated by others, check with your admins to see if this is the case, but here is an idea to consider: "Can any of your data be considered static?" If it can be, then you should consider storing static portions locally; thus, not having to pull at least part of the data through the network pipe or server. When you need a fresh copy of the data, then delete the dynamic content and only pull data that is not considered static.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to check with your IT/Security managers to see if storing the data locally is an acceptable option for your location.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2015 23:58:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211982#M4980</guid>
      <dc:creator>morgalr</dc:creator>
      <dc:date>2015-07-28T23:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to save time to extract data from SQL Server.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211983#M4981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;Thank you very much for the information. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 18:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211983#M4981</guid>
      <dc:creator>jc259star</dc:creator>
      <dc:date>2015-07-29T18:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to save time to extract data from SQL Server.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211984#M4982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Morgalr,&lt;/P&gt;&lt;P&gt;Thank you for the suggestion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 18:25:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/How-to-save-time-to-extract-data-from-SQL-Server/m-p/211984#M4982</guid>
      <dc:creator>jc259star</dc:creator>
      <dc:date>2015-07-29T18:25:47Z</dc:date>
    </item>
  </channel>
</rss>

