We’re smarter together. Learn from this collection of community knowledge and add your expertise.

Quick VA Tip: How to load a LASR table

by SAS Employee ted_werner_sas_com on ‎11-22-2013 03:59 PM - edited on ‎10-05-2015 04:51 PM by Community Manager (2,292 Views)

Quick VA Tip: How to load a LASR table

Need to load a LASR table into memory without going into the VA application? There are many ways to do this: it’s as simple as grabbing the code that loads the table and then either:

  1. As part of your code to start a LASR server, you can add the code to load the tables you want into memory.


  1. You can use the auto load library feature, this will do the same as above without having to code.

Ted Werner

by SusanMiller_TNC_
on ‎12-02-2013 05:14 PM

Thanks Ted - a couple questions:

1. Is there any way to run the auto load feature on more than one directory/SAS Library and have it load to multiple LASR libraries?

2. Are there pro's or con's to having multiple LASR Libraries?

Thanks for the tip

by SAS Employee ted_werner_sas_com
on ‎12-04-2013 02:59 PM

1. Is there any way to run the auto load feature on more than one directory/SAS Library and have it load to multiple LASR libraries?

Out-of-the-box, you have one Public LASR Server that post-installation can be configured as auto load.  Essentially, you can create multiple LASR Servers to behave with the auto load functionality – you simply need to copy the necessary scripts and add the corresponding metadata pieces.  These instructions are outlined in two places.  I have heard of customers creating more than one LASR server with auto loading configured to support different departments.

The post install instructions for the Auto Load feature is documented in the VA Administration Guide:  http://support.sas.com/documentation/solutions/va/6.2/vaag.pdf

Location in PDF:  Fundamentals  \ Loading Data to Memory \ Automated Loading.

2. Are there pro's or con's to having multiple LASR Libraries?

Pro’s to multiple LASR Servers:

- This is the only way to restrict the list if available sources from Explorer/Designer:  deny ReadMetadata for different users/groups and then only those with access can see what tables have been loaded into the LASR server. 

- If you have auto load configured for multiple LASR servers then this could be easier to manage what data stays in memory – if it’s only a single LASR server it might be more difficult to track down the owner of tables to determine what needs to be unloaded.

Con’s to multiple LASR Servers:

- No way to restrict how much memory a LASR Server can use – only total memory of LASR Servers combined can be restricted (for example, stop loading once 80% of the memory is used)  This cannot be defined per LASR Server, yet.

- If you have multiple LASR Libraries (esp with the auto load configured) then it is possible for one LASR server to hog the available memory if it is not properly monitored/managed

- Additional user/group administration overhead

- Additional auto load configuration required if you want the LASR Server to support auto load

Ted Werner

by SAS Employee ted_werner_sas_com
on ‎12-04-2013 03:07 PM

Thanks for your interest if you have more questions feel free to let me know.   I hope that if anyone else has some content they might have created on loading to LASR feel free to share.

Ted Werner

by SAS Employee muralinori_sas
on ‎12-04-2013 03:41 PM

Autoload works on a One-to-One relationship between the library and the LASR server.  a library points to a LASR server.

One can create multiple Autoload directories and point them to different LASR servers. 

If the tables are already registered, you can also use the GUI in the Admin to load the table to Memory.

All this is documented.

by kcook
on ‎12-09-2013 02:48 PM

Hello,  Susan and I have tried to access the document referenced: http://support.sas.com/documentation/solutions/va/6.2/vaag.pdf but it requires an additional login that we don't have.  Would you please send us the document for review?  Thank you!

by SAS Employee anna_holland
on ‎12-12-2013 05:25 PM

Hi kcook , we are looking into this! We will get you access to that document soon. Thanks!


by Occasional Contributor Pathak
on ‎12-15-2013 10:51 PM

Hi Anna, Could you please give us credentials to open http://support.sas.com/documentation/solutions/va/6.2/vaag.pdf. or let the document available to be reviewed by everybody.

Thanks in Advance.

Your turn
Sign In!

Want to write an article? Sign in with your profile.

Looking for the Ask the Expert series? Find it in its new home: communities.sas.com/askexpert.