<?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: SORT 70G of data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304603#M64846</link>
    <description>&lt;P&gt;Indeed,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a ratio of 95.43 percent (!?)&lt;/P&gt;&lt;P&gt;70Gb * 95.43 percent.= something below 700, but 700 into * 3 &amp;gt; 900Gb WORK folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tagsort did the job :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: PROCEDURE SORT used (Total process time):
      real time           1:41:46.94
      user cpu time       27:57.53
      system cpu time     4:36.74
      memory              266864.43k
      OS Memory           272352.00k&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 14 Oct 2016 10:55:28 GMT</pubDate>
    <dc:creator>pinkY2229</dc:creator>
    <dc:date>2016-10-14T10:55:28Z</dc:date>
    <item>
      <title>SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304583#M64835</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I'm trying to sort a table with 70Go I've the "DISK full" message...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I've a WORK with 903Go &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually i'm expecting that a SORT will not use above 70Go * 3 of space&lt;/P&gt;&lt;P&gt;Do you have an idea why i'm facing this kind of pb?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table is like this :&lt;/P&gt;&lt;P&gt;100 561 233 rows&lt;BR /&gt;270 columns&lt;BR /&gt;Observation Length : 14 284&lt;BR /&gt;Table is compressed (CHAR)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To circumvent the pb, i'm currently trying TAGSORT, I'will also trying to split the data in 10 sub-tables.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 09:46:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304583#M64835</guid>
      <dc:creator>pinkY2229</dc:creator>
      <dc:date>2016-10-14T09:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304591#M64837</link>
      <description>&lt;P&gt;There are probably other datasets in WORK from previous steps and/or from parallel sessions running at same time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One of the solutions (maybe not the best) is to split the 70GB dataset into several smaller ones,&lt;/P&gt;&lt;P&gt;sort eache saparetly and finally merge them back.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:15:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304591#M64837</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2016-10-14T10:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304593#M64839</link>
      <description>&lt;P&gt;What is 70Go? &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some things to check, do you have anything else in Work?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How are you sorting the data?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where is the data residing, is it on a network or locally?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:21:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304593#M64839</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-10-14T10:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304595#M64841</link>
      <description>&lt;P&gt;thank u for your message.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;size is 70Gb (gigas)&lt;/P&gt;&lt;P&gt;I'v nothing else in my work : 'im monitoring the work every minute with df ('im under AIX) and I can see only my WORK Folder growing, growing...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The table is already in the WORK and I want to sort it .&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:35:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304595#M64841</guid>
      <dc:creator>pinkY2229</dc:creator>
      <dc:date>2016-10-14T10:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304598#M64842</link>
      <description>&lt;P&gt;Are you sure you have access to full size? IT can often limit work space.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:45:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304598#M64842</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-14T10:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304599#M64843</link>
      <description>&lt;P&gt;Perhaps this article will help - particularly sortsize:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostunx/67929/HTML/default/viewer.htm#n1svfqjvm6a2sfn1abq0g48bhymm.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostunx/67929/HTML/default/viewer.htm#n1svfqjvm6a2sfn1abq0g48bhymm.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#n0ea63jfjic0vpn15dbdh2ee0xbb.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/hostwin/67962/HTML/default/viewer.htm#n0ea63jfjic0vpn15dbdh2ee0xbb.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure how you plan on working with that data, its a big chunk anyways you look at it (i wouldn't personally be happy with 270 columns - anymore than 20 or so is difficult programming wise).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:45:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304599#M64843</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2016-10-14T10:45:39Z</dc:date>
    </item>
    <item>
      <title>Re: SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304600#M64844</link>
      <description>&lt;P&gt;Are you sure you have access to full size? IT can often limit work space.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, what's the exact error you receive?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:46:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304600#M64844</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-14T10:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304601#M64845</link>
      <description>&lt;P&gt;The utility file of a proc sort is not compressed, so you can deduct its size from the size of the file and the compression factor shown in the log when you create it.&lt;/P&gt;
&lt;P&gt;Depending on the contents, your compression ratio could well be above 90%, and then it is no surprise you run out of space.&lt;/P&gt;
&lt;P&gt;Using tagsort is the right remedy.&lt;/P&gt;
&lt;P&gt;I'd also consider adding additional disk space that is physically separate from your WORK, and set UTILLOC to it. That prevents concurrent read and write on the WORK disks.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:46:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304601#M64845</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-14T10:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304603#M64846</link>
      <description>&lt;P&gt;Indeed,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a ratio of 95.43 percent (!?)&lt;/P&gt;&lt;P&gt;70Gb * 95.43 percent.= something below 700, but 700 into * 3 &amp;gt; 900Gb WORK folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tagsort did the job :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;NOTE: PROCEDURE SORT used (Total process time):
      real time           1:41:46.94
      user cpu time       27:57.53
      system cpu time     4:36.74
      memory              266864.43k
      OS Memory           272352.00k&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Oct 2016 10:55:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304603#M64846</guid>
      <dc:creator>pinkY2229</dc:creator>
      <dc:date>2016-10-14T10:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304608#M64848</link>
      <description>&lt;P&gt;Actually, your compressed file has less than 5% of its uncompressed size. So the uncompressed file would be roughly 20*70 GB in size, and that amounts to 1.4 TB(!).&lt;/P&gt;
&lt;P&gt;When sorting large compressed datasets with a considerable compression rate (&amp;gt;80%), I always use TAGSORT, just to prevent a disk full condition in my UTILLOC.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 11:02:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304608#M64848</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-10-14T11:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: SORT 70G of data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304855#M64938</link>
      <description>&lt;P&gt;For big table, I would like to split it into small tables and combine them together later. Like:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data F M;
 set sashelp.class;
 if sex='F' then output F;
 else if sex='M' then output M;
run;

data want;
 set F M;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 15 Oct 2016 06:53:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/SORT-70G-of-data/m-p/304855#M64938</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2016-10-15T06:53:24Z</dc:date>
    </item>
  </channel>
</rss>

