<?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: Datatable size issue in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Datatable-size-issue/m-p/17520#M3327</link>
    <description>Scott,&lt;BR /&gt;
Thanks for the answer that is exactly what my issue was.  I was not compressing the data so I creating another data set after my proc sql.  This time is put data test (Compress=CHAR) that is what the original table had as it's compression.  I ran that and now it's around 6mb.  &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank You&lt;BR /&gt;
Jerry</description>
    <pubDate>Fri, 10 Apr 2009 20:53:25 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-04-10T20:53:25Z</dc:date>
    <item>
      <title>Datatable size issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Datatable-size-issue/m-p/17518#M3325</link>
      <description>I started out doing my work against a 5mb data table.  The data table has 136 columns and around 13,000 rows. &lt;BR /&gt;
&lt;BR /&gt;
I start off by pulling out my primary key columns(projectid, lineid, personid)  and 3 data columns plus I added 3 columns that hold the length of each field in the 3 data columns. My new data table is now 9mb. Then I do all my cleaning and i'm at 12mb. When I try the code below to add my 7 new columns with the original table into a new table it is 620mb.&lt;BR /&gt;
&lt;BR /&gt;
When I do this&lt;BR /&gt;
&lt;BR /&gt;
proc sql;&lt;BR /&gt;
create table CD_Data&lt;BR /&gt;
as&lt;BR /&gt;
Select OD.*, SSN.BM, SSN.BD, SSN.BY, SSN.DM, SSN.DD, SSN.DY, SSN.SSN&lt;BR /&gt;
From OD_Data OD inner join SSN_DATA SSN on OD.projectid = SSN.projectid and OD.lineid = SSN.lineid and OD.personid = SSN.personid;&lt;BR /&gt;
quit;&lt;BR /&gt;
&lt;BR /&gt;
I'm not sure how adding 7  text columns will be that much space?  6 of those columns are completely filled.  So I run a seperate data step clearing out the default values so they are blank and the data file was still around 600mb.&lt;BR /&gt;
&lt;BR /&gt;
I've never looked at this aspect of sas so I would appreciate any help.&lt;BR /&gt;
&lt;BR /&gt;
Thank You</description>
      <pubDate>Fri, 10 Apr 2009 20:27:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Datatable-size-issue/m-p/17518#M3325</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-04-10T20:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Datatable size issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Datatable-size-issue/m-p/17519#M3326</link>
      <description>Analyze your SAS output data library / member with PROC CONTENTS to verify the SAS variables captured, their type and lengths and the overall size and content of your SAS database.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 10 Apr 2009 20:31:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Datatable-size-issue/m-p/17519#M3326</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-04-10T20:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Datatable size issue</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Datatable-size-issue/m-p/17520#M3327</link>
      <description>Scott,&lt;BR /&gt;
Thanks for the answer that is exactly what my issue was.  I was not compressing the data so I creating another data set after my proc sql.  This time is put data test (Compress=CHAR) that is what the original table had as it's compression.  I ran that and now it's around 6mb.  &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thank You&lt;BR /&gt;
Jerry</description>
      <pubDate>Fri, 10 Apr 2009 20:53:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Datatable-size-issue/m-p/17520#M3327</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-04-10T20:53:25Z</dc:date>
    </item>
  </channel>
</rss>

