<?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 EG slow after changing data flow in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/652324#M36147</link>
    <description>&lt;P&gt;Hi, Luca&lt;/P&gt;
&lt;P&gt;This makes a lot of sense. Connections between different products, like from SAS to Oracle, can definitely introduce problems that result in poor performance.&lt;/P&gt;
&lt;P&gt;You mention running the same query under DbVisualizer. Could you post the query, so we can see if there's anything that raises any flags with SAS?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Tom&lt;/P&gt;</description>
    <pubDate>Mon, 01 Jun 2020 18:28:07 GMT</pubDate>
    <dc:creator>TomKari</dc:creator>
    <dc:date>2020-06-01T18:28:07Z</dc:date>
    <item>
      <title>SAS EG slow after changing data flow</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/651686#M36138</link>
      <description>&lt;P&gt;Hi Community,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;hope you can help on this.&amp;nbsp;&lt;BR /&gt;We have a dataset which recently changed in terms of data type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It used to have 5 fields being 7 digit maximum (0XXXXXX) but now has 18 char (a0000XXXo0909909) and this is true for all the 5 fields.&amp;nbsp;&lt;BR /&gt;Since the change we have experienced lots of slow cpu time on proc sort and proc sql in the same table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;In terms of new rows this dataset (having the field type changed ) is about 2-3k rows more. Total rows is 2.3M.&amp;nbsp;&lt;BR /&gt;Do you kindly have any tip to increase efficiency?&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are hosting SAS from a specific server.&lt;/P&gt;&lt;P&gt;I have read something on here to use the&amp;nbsp;&lt;SPAN&gt;SAS &amp;gt; Utilities &amp;gt; SAS Integeration Technologies Configuration (on the client machine where you use EG from) Click on "Configure Default SAS Metadata Server &amp;gt; Clear Settings&amp;nbsp; &amp;gt; Finish, but I am not sure if this can work in the server and ha any side effect?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 11:00:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/651686#M36138</guid>
      <dc:creator>lucazanotti</dc:creator>
      <dc:date>2020-05-29T11:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG slow after changing data flow</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/651809#M36143</link>
      <description>&lt;P&gt;I think there must be something different in your scenario, or something is wrong with your environment. SAS should be able to process this volume without breaking a sweat.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To move the conversation forward, I've created the following code to create a datasets, and run a SORT and SQL on it, both fairly intensive. The dataset has 2.4 million records, 5 18 byte fields.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data DS1;
	call streaminit(200529);

	do i = 1 to 2400000;
		Field1 = "abcde" || put(int(rand('uniform') * 100000000), z8.) || "fghij";
		Field2 = "abcde" || put(int(rand('uniform') * 100000000), z8.) || "fghij";
		Field3 = "abcde" || put(int(rand('uniform') * 100000000), z8.) || "fghij";
		Field4 = "abcde" || put(int(rand('uniform') * 100000000), z8.) || "fghij";
		Field5 = "abcde" || put(int(rand('uniform') * 100000000), z8.) || "fghij";
		output;
	end;
run;

proc sort data=DS1 out=DS2;
	by Field1 Field2 Field3 Field4 Field5;
run;

proc sql noprint;
	create table DS3 as select
		* from DS1 where substr(Field3, 6, 1) &amp;gt; "5"
	order by Field5;
quit;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;The whole thing runs in 4 seconds on my plain-jane laptop.&lt;/P&gt;
&lt;P&gt;See what happens in your environment, and let us know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Tom&lt;/P&gt;</description>
      <pubDate>Fri, 29 May 2020 18:00:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/651809#M36143</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2020-05-29T18:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG slow after changing data flow</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/652297#M36146</link>
      <description>Hi Tom,&lt;BR /&gt;many thanks for this. It runs very fast (sql proc 0.99seconds and cpu time 1.5) and proc sort 1.79s and 3.31s respectively.&lt;BR /&gt;I will exaplain bettr (and apologies if I did not mention before) the connection is a dns odbc to oracle.&lt;BR /&gt;Funny things is that in DbVisualizer and other apps the same query is fast, only SAS for some reasons does not perform well since the change.&lt;BR /&gt;Hope this will shed some lights.&lt;BR /&gt;Thanks&lt;BR /&gt;Luca</description>
      <pubDate>Mon, 01 Jun 2020 16:53:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/652297#M36146</guid>
      <dc:creator>lucazanotti</dc:creator>
      <dc:date>2020-06-01T16:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG slow after changing data flow</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/652324#M36147</link>
      <description>&lt;P&gt;Hi, Luca&lt;/P&gt;
&lt;P&gt;This makes a lot of sense. Connections between different products, like from SAS to Oracle, can definitely introduce problems that result in poor performance.&lt;/P&gt;
&lt;P&gt;You mention running the same query under DbVisualizer. Could you post the query, so we can see if there's anything that raises any flags with SAS?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Tom&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 18:28:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/652324#M36147</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2020-06-01T18:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG slow after changing data flow</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/652340#M36148</link>
      <description>Hi Tom,&lt;BR /&gt;thanks a lot for the helpful notes.&lt;BR /&gt;I think I figured out the solution: with a combination of increasing buffer size and using accordingly in my datastep the option (compress=YES) I have been able to achieve my goal. For future references and other people that may encounter a similar issue this article has helped me a lot.&lt;BR /&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings17/1401-2017.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings17/1401-2017.pdf&lt;/A&gt;</description>
      <pubDate>Mon, 01 Jun 2020 18:58:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/652340#M36148</guid>
      <dc:creator>lucazanotti</dc:creator>
      <dc:date>2020-06-01T18:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: SAS EG slow after changing data flow</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/652649#M36149</link>
      <description>&lt;P&gt;I'm glad you're back in business!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That's an excellent paper. I've bookmarked it for future reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 18:49:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-slow-after-changing-data-flow/m-p/652649#M36149</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2020-06-02T18:49:03Z</dc:date>
    </item>
  </channel>
</rss>

