Solved

compress for large tables

Posted on 2011-09-08
3
405 Views
Last Modified: 2013-11-16
Hi,
We want to compress huge tables to save space how can we do that and how can we determine if compress worked.

Thanks,
0
Comment
Question by:sam2929
3 Comments
 
LVL 11

Accepted Solution

by:
theartfuldazzler earned 500 total points
ID: 36502010
Hi

For large tables, where there is a lot of character variables,

use:

OPTIONS COMPRESS=CHAR;

For large tables, that mostly consist of numeric data, use:

OPTIONS COMPRESS=BINARY;


Note - you can also specifify this as a DATA step option:

DATA test(COMPRESS=CHAR);

The compression will be noted in the LOG after the DATA STEP has run.
0
 

Author Comment

by:sam2929
ID: 36502597
ok  any idea where to do compress in di studio on tables
0
 
LVL 7

Expert Comment

by:d507201
ID: 36502918
The Options Tab in a Loader Properties Dialog Box in SAS Data Integration Studio is used to control Compression.  Use the Additional System Options field to set the COMPRESS= system option.


COMPRESS can be invoked at initialization and in the autoexec.sas, in addition to the Options statement and as a dataset option.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
get most recent and second most recent date in SQL Server 24 97
DBF to ... Converter 5 81
T-SQL: Do I need CLUSTERED here? 13 59
corrupt Databases 9 62
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question