Solved

compress for large tables

Posted on 2011-09-08
3
373 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
Comment Utility
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
Comment Utility
ok  any idea where to do compress in di studio on tables
0
 
LVL 7

Expert Comment

by:d507201
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

APEX (Application Express) is used to develop a web application from Oracle. SQL Workshop is one of the tools that comes with Oracle APEX to query or modify the database objects or to make any changes to the structure.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now