Where do I find the size of the datasets loaded to memory?
I now have more than 50 tables loaded in the LASR-server.
The Sizing Guideline for Single Machine have a guideline about
I can only find information about number of rows and columns.
Hi,
In base SAS in SASHELP.VTABLE, find your table (where libname=library and dataset=memname), and it will show you FILESIZE variable, I assume its in bytes.
Hi,
You can use proc datasets to get info for all your loaded tables.
proc datasets library=sashelp;
run;
quit;
Just to specify.
It is the datasets loaded to memory in the LASR-server.
There are no physical files, therefore sashelp.vtable.filesize=0
proc datasets don't give me much information.
Not sure about LASR-server, try to explore SASFILE statement if that works in this situation.
Hello Allan_dk,
Because of the way data is loaded into a LASR server, it's difficult to say. For example, if source SAS data is loaded into HDFS, then into a LASR server, a LASR table only consumes memory while it is being used. If not, it consumes memory as long as it is loaded. Also for example, levelization increases memory consumption.
However, you can get a rough estimate of the size of (uncompressed) data using the SASIOLA libname engine and PROC DATASETS CONTENTS by multiplying the number of observations ("Observations") by the observation length ("Observation Length").
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
See how to use one filter for multiple data sources by mapping your data from SAS’ Alexandria McCall.
Find more tutorials on the SAS Users YouTube channel.