DATA Step, Macro, Functions and more

Block-Read when file is compressed

Accepted Solution Solved
Reply
Contributor
Posts: 25
Accepted Solution

Block-Read when file is compressed

Hi,

 

When I use PROC COPY with INDEX=YES, MEMTYPE=ALL & CONSTRAINTS=YES options I'm getting below INFO message in SAS Log

 

INFO: Engine's block-read  method cannot be used because:

INFO:   -  The file is compressed

 

I read somewhere that using block-read increases the performance, as I need to use copy on many libraries/datasets I have a question.

 

Is there any way where we can force SAS to use block-read even when file is compressed? 


Accepted Solutions
Solution
‎11-17-2015 10:05 AM
Super User
Posts: 5,257

Re: Block-Read when file is compressed

The message is so clear so I can't see why to question it.
What you can do is explore the effectivity of your compression. That would be dependent of your i/o througput, CPU and data profile. Even looking at your data model could reduce the need for compression.
Is this PROC COPY an important bottleneck in your system?
A dirty work around would be to use OS copy of the SAS files. Works for Base engine and non Metadata bound libraries.
Data never sleeps

View solution in original post


All Replies
Solution
‎11-17-2015 10:05 AM
Super User
Posts: 5,257

Re: Block-Read when file is compressed

The message is so clear so I can't see why to question it.
What you can do is explore the effectivity of your compression. That would be dependent of your i/o througput, CPU and data profile. Even looking at your data model could reduce the need for compression.
Is this PROC COPY an important bottleneck in your system?
A dirty work around would be to use OS copy of the SAS files. Works for Base engine and non Metadata bound libraries.
Data never sleeps
☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 295 views
  • 1 like
  • 2 in conversation