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.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
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.
Ready to level-up your skills? Choose your own adventure.