<?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: Using Oracle DB as Workspace in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/364551#M23902</link>
    <description>&lt;P&gt;No, and for a very good reason. SAS writes not only datasets, but all kinds of temporary files to the WORK location. A DBMS could never handle that (it would only be able to deal with tabular data). Aside from that, you would incur (as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt; already stated) a massive overhead in network traffic to the DBMS server (unless the DBMS and SAS share the same physical and logical - same VM - server).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you should either unload part of your SAS workload to the DBMS by using explicit SQL pass-through, or get more resources.&lt;/P&gt;
&lt;P&gt;Or you find parts of your code that can be improved to be more efficient.&lt;/P&gt;
&lt;P&gt;For that, you would have to post the code (along with some example data, if necessary - use a &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;data step&lt;/A&gt;) that consumes so much of your resources.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2017 12:31:33 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2017-06-06T12:31:33Z</dc:date>
    <item>
      <title>Using Oracle DB as Workspace</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/364499#M23900</link>
      <description>&lt;P&gt;Can I use oracle DB as a workspace to speed up output rather than using SAS Workspace as it takes more time and size while used in SAS EG? It often takes my worksspace upto 99 %. Is there any query or options in SAS to use ORACLE DB as workspace ?&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 08:56:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/364499#M23900</guid>
      <dc:creator>toshi</dc:creator>
      <dc:date>2017-06-06T08:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using Oracle DB as Workspace</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/364505#M23901</link>
      <description>&lt;P&gt;I wouldn't have thought using a third party would be quicker, as you then incur the overheads of both sending data to the DB and retrieving from the DB.&lt;/P&gt;
&lt;P&gt;If your process takes up a lot of resources (and you have checked for a good reason), then likely best bet is to speak with IT to get you some more resources. &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 09:41:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/364505#M23901</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-06-06T09:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using Oracle DB as Workspace</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/364551#M23902</link>
      <description>&lt;P&gt;No, and for a very good reason. SAS writes not only datasets, but all kinds of temporary files to the WORK location. A DBMS could never handle that (it would only be able to deal with tabular data). Aside from that, you would incur (as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/45151"&gt;@RW9&lt;/a&gt; already stated) a massive overhead in network traffic to the DBMS server (unless the DBMS and SAS share the same physical and logical - same VM - server).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So you should either unload part of your SAS workload to the DBMS by using explicit SQL pass-through, or get more resources.&lt;/P&gt;
&lt;P&gt;Or you find parts of your code that can be improved to be more efficient.&lt;/P&gt;
&lt;P&gt;For that, you would have to post the code (along with some example data, if necessary - use a &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-data-AKA-generate/ta-p/258712" target="_blank"&gt;data step&lt;/A&gt;) that consumes so much of your resources.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:31:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/364551#M23902</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2017-06-06T12:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using Oracle DB as Workspace</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/364586#M23903</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/78054"&gt;@toshi&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;If you're interfacing with a database and dealing with large datavolumes then the most important thing in regards of performance is to plan/design your processes to limit data movements between the database and your SAS server.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In general: Reduce the data volumes which get moved between SAS and the database, i.e. by ensuring that joins between database tables fully execute in the database and when it comes to heterogenous joins between SAS and database tables that you code in a way that the smaller table gets loaded to the server where processing happens (which can be SAS or the database).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if you're using SAS EG and never disconnect from SAS for hours or even days then it also doesn't hurt if you implement some code which deletes SAS Work tables which you don't need any longer (done via Proc Delete or Proc Datasets/Delete).&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 14:19:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/364586#M23903</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-06-06T14:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Using Oracle DB as Workspace</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/398279#M25604</link>
      <description>&lt;P&gt;Thank You all for your suggestions. I appreciate your valuable time.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 23 Sep 2017 10:42:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-Oracle-DB-as-Workspace/m-p/398279#M25604</guid>
      <dc:creator>toshi</dc:creator>
      <dc:date>2017-09-23T10:42:13Z</dc:date>
    </item>
  </channel>
</rss>

