<?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: taking too much time to run any alternatives in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211713#M39186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/sqlproc/62086/HTML/default/viewer.htm#a001395386.htm" title="http://support.sas.com/documentation/cdl/en/sqlproc/62086/HTML/default/viewer.htm#a001395386.htm"&gt;SAS(R) 9.2 SQL Procedure User's Guide&lt;/A&gt; or&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000247695.htm" title="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000247695.htm"&gt;Base SAS(R) 9.2 Procedures Guide&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 May 2015 07:42:43 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2015-05-11T07:42:43Z</dc:date>
    <item>
      <title>taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211700#M39173</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;My Have dataset is very big. Whenever i run the want program it is taking too much time is there any way to reduce the time.&lt;/P&gt;&lt;P&gt;I heard Hash table, but still i am not comfortable to write codes on hash table. Could anyone write hash code for the want program.&lt;/P&gt;&lt;P&gt;Thanks for your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc sql;&lt;/P&gt;&lt;P&gt;create table want as&lt;/P&gt;&lt;P&gt;select * from have where zip = &amp;amp;bzip ;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 05:16:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211700#M39173</guid>
      <dc:creator>kumarK</dc:creator>
      <dc:date>2015-05-08T05:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211701#M39174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want to find the zipcode for the area with the maximum value of y?&lt;/P&gt;&lt;P&gt;Or, more generic, find the record with a certain highest value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do this;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want (keep=remember_x max_y rename=(remember_x=x max_y=y));&lt;/P&gt;&lt;P&gt;set have end=done;&lt;/P&gt;&lt;P&gt;retain remember_x "" max_y 0;&lt;/P&gt;&lt;P&gt;if y &amp;gt; max_y then do;&lt;/P&gt;&lt;P&gt;&amp;nbsp; max_y = y;&lt;/P&gt;&lt;P&gt;&amp;nbsp; remember_x = x;&lt;/P&gt;&lt;P&gt;end;&lt;/P&gt;&lt;P&gt;if done then output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That way you only have to make one pass through the dataset. If you need more columns in the output dataset, specify them accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 07:54:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211701#M39174</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-05-08T07:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211702#M39175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try optimising your code/data.&amp;nbsp; From just the dataset you showed:&lt;/P&gt;&lt;P&gt;proc sql;&lt;/P&gt;&lt;P&gt;&amp;nbsp; create table want as&lt;/P&gt;&lt;P&gt;&amp;nbsp; select&amp;nbsp; ZIP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; X,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;/P&gt;&lt;P&gt;&amp;nbsp; from&amp;nbsp;&amp;nbsp;&amp;nbsp; SASHELP.ZIPCODE&lt;/P&gt;&lt;P&gt;&amp;nbsp; group by ZIP&lt;/P&gt;&lt;P&gt;&amp;nbsp; having&amp;nbsp; Y=max(Y);&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will be faster than the three steps.&amp;nbsp; However I don't know your data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 08:03:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211702#M39175</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-05-08T08:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211703#M39176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Howver i want this part to be optimized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Proc sql;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;create table want as&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;select * from have where zip = &amp;amp;bzip ;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;quit;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Is there any alternatives? Like Hasthable or any other.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 05:50:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211703#M39176</guid>
      <dc:creator>kumarK</dc:creator>
      <dc:date>2015-05-09T05:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211704#M39177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't optimize that. It is a single pass through the file and a simple where condition, it doesn't get any simpler than that. What would you need the hashtable for, if there's only one zipcode to compare to?&lt;/P&gt;&lt;P&gt;You could try to optimize your storage by setting up a SPDS library on several physically separate disks. SPDS also stores metadata in the "buckets" that makes finding records easier for the SAS system.&lt;/P&gt;&lt;P&gt;Another trick to try is adding an index on zip to the dataset, unless the dataset is already sorted by zip.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 07:38:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211704#M39177</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-05-09T07:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211705#M39178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code I provided takes away the two additional steps, and the macro processing.&amp;nbsp; Hence it should run quicker.&amp;nbsp; There isn't much from a code point of view to make it go much faster.&amp;nbsp; Hence, as Kurt Bremser has stated, you need to assess your data/storage and usage.&amp;nbsp; If your data is really that big that one pass over the data takes too long then take a look at some documentation about data warehousing principals for instance, consider breaking the data in more manageable chunks etc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 12:25:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211705#M39178</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2015-05-09T12:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211706#M39179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my original question. Please suggest now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 18:38:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211706#M39179</guid>
      <dc:creator>kumarK</dc:creator>
      <dc:date>2015-05-09T18:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211707#M39180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On the software side, Kurt's suggestion of adding an index on ZIPCODE is the best way to go. Further improvements would be hardware based.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 18:50:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211707#M39180</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2015-05-09T18:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211708#M39181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Index means? Could you please elaborate. Could you please write a sample code. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 19:23:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211708#M39181</guid>
      <dc:creator>kumarK</dc:creator>
      <dc:date>2015-05-09T19:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211709#M39182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As mentioned above, create an index on your zipcode and/or sort your data by zipcode as well - especially if you're looping a process. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating and Exploiting SAS Indexes&lt;/P&gt;&lt;P&gt;&lt;A href="http://www2.sas.com/proceedings/sugi29/123-29.pdf" title="http://www2.sas.com/proceedings/sugi29/123-29.pdf"&gt;http://www2.sas.com/proceedings/sugi29/123-29.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general if you absolutely require someone to write code for you, you need to hire a consultant &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;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 19:37:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211709#M39182</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2015-05-09T19:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211710#M39183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another software option is to store your data in a database that's optimized for retrievals of this type, but that's probably out of scope.&lt;/P&gt;&lt;P&gt;As other suggest, use an index. If you need a consultant, I'm available! &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;:smileylaugh:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 21:07:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211710#M39183</guid>
      <dc:creator>TomKari</dc:creator>
      <dc:date>2015-05-09T21:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211711#M39184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You haven't really provided enough information on your problem to be able to decide if indexes would be better or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How big is your HAVE dataset - size in GB - gigabytes - and number of rows, and columns? How many rows do you expect in your WANT dataset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a general rule if you are selecting more than 25% of your rows in a query an index isn't going to help, plus there is the extra time of creating and maintaining the index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are many options to consider apart from indexes. For example if your HAVE dataset has many columns you could try compressing it. If the compression percentage is high, then any query that runs on it will be quicker. On some SAS datasets I use compression reduces their size by 80% or higher! That means processing this dataset any way you like will be faster. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 May 2015 23:34:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211711#M39184</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-05-09T23:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211712#M39185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi SASKiwi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;How big is your HAVE dataset - size in GB - gigabytes - 50GB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;and number of rows - 2bn&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;and columns? - 3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;How many rows do you expect in your WANT dataset? 50000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; background-color: #ffffff;"&gt;Thanks..&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 06:30:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211712#M39185</guid>
      <dc:creator>kumarK</dc:creator>
      <dc:date>2015-05-11T06:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211713#M39186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/sqlproc/62086/HTML/default/viewer.htm#a001395386.htm" title="http://support.sas.com/documentation/cdl/en/sqlproc/62086/HTML/default/viewer.htm#a001395386.htm"&gt;SAS(R) 9.2 SQL Procedure User's Guide&lt;/A&gt; or&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000247695.htm" title="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000247695.htm"&gt;Base SAS(R) 9.2 Procedures Guide&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 07:42:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211713#M39186</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2015-05-11T07:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: taking too much time to run any alternatives</title>
      <link>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211714#M39187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With only 3 columns compression is unlikely to help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your WANT row count suggests an index could help. How many distinct values does ZIP have and how many will you be selecting in your query?&amp;nbsp; The more distinct values you have and the less you are selecting the better the index performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You might want to test your index once it is created by selecting, just 1 value of ZIP, then just 2 etc just to see how it performs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 07:57:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/taking-too-much-time-to-run-any-alternatives/m-p/211714#M39187</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2015-05-11T07:57:39Z</dc:date>
    </item>
  </channel>
</rss>

