While running the code, What will be the buffer size, if my SAS data file size is 10GB?
Are you referring to data set options BUFSIZE and BUFNO?
The first one is defined when the data set is created, the second one is set at run time.
Hello @Pooja98
One should note that the operating system has its own approach to reading writing data to disk. Typically, Linux and Window may read one buffer at a time.
By default, SAS automatically determines the buffer size depending upon the observation length, the operating system and the engine used.
For smaller observations, one may consider increasing the number of buffers but for others one can experiment in their environment.
@Pooja98 wrote:
While running the code, What will be the buffer size, if my SAS data file size is 10GB?
Why would you care?
Are you perhaps talking about downloading data from a remote database using a libname engine or the CONNECT statement in PROC SQL?
Why would you care?
These settings can have a massive influence Tom.
See the last post in
about reducing the time to just read a table from 195 seconds to 70s by simply changing the memory usage settings.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.