Previous Page | Next Page

Configuring SAS Web Report Studio

Improving the Performance of SAS Web Report Studio


Suggestions for Improving the Performance of SAS Web Report Studio

To optimize the performance of SAS Web Report Studio, do the following:


Using the Query Cache


Overview of the Query Cache

By default, SAS Web Report Studio (and SAS Web Report Viewer) use a large query cache to improve performance. For reports that contain more than one data-driven object, this cache maximizes efficiency. The query cache builds a temporary common data table that can fulfill the needs of all data-driven objects in the report. When the query cache is used, complex queries that include functions such as joins and filters are run only once (to build the common data table). Each data-driven object in the report can then run simple extraction queries against the common data table.

Note:   The use of the cache is determined on a per-session basis, depending on the content of each report. In the current release, cache optimization is used only for reports that are based on relational data.  [cautionend]

During installation, the query cache is enabled and is associated with a SAS library. After installation, you can perform the following optional tasks:

Using the query cache will likely increase performance if your reports have the following characteristics:

Conversely, using the query cache will not increase performance for a report that has all of the following characteristics:

There is no performance penalty for using the query cache unless the report uses a large native SAS table with report-ready data.


Manage Host Access to the Query Cache Directory

By default, the query cache directory is located at your equivalent of SAS-configuration-directory\Lev1\SASApp\Data\wrstemp. In order to protect any sensitive data in the cache, ensure full functionality, and optimize performance, it is important to carefully manage operating system access to this directory. The following table provides details.

Who Needs Operating System Access to the Query Cache Directory
Server That Retrieves the Data Account That Accesses the Directory
Server-side pooled workspace server The launch credential of the server.
Client-side pooled workspace server Each puddle login.
Standard workspace server Each requesting user.

Here are some additional notes:


Change the Location of the Query Cache Library

The default location for the library that is used for the query cache is SAS-configuration-directory\Lev1\SASApp\Data\wrstemp. After installation, you can specify a different location for this library. For performance purposes, the library should be created on a dedicated fast drive that has plenty of disk space (approximately 100GB, but the needed size will vary based on your system's use and the number of users). Backups are unnecessary because the cache files are temporary. Temporary files are accessed by the relational workspace server. Therefore, the wrstemp library should ideally be located on the same server. In addition, RAID configurations decrease performance and are not recommended.

Note:   Do not use the WORK or SAS WORK library for this feature. The query cache will not function correctly if you use the WORK or SAS WORK library.  [cautionend]

For clustered environments, the folder for this library needs to be exported to all nodes in the cluster (and you should specify the network address to this folder, not the local machine address). For non-clustered environments, or for a cluster that is restricted to a single physical machine, this folder does not need to be exported.

The following display shows the BI Rep Svc Wkspace Config 4.3 Properties dialog box where the settings for caching are configured:

[untitled graphic]

To view the query cache library, follow these steps:

  1. On the Plug-ins tab in SAS Management Console, navigate to Application Management [arrow] Configuration Manager.

  2. Right-click on BI Web Services for Java 9.2 and select Properties.

  3. In the BI Rep SVC Wkspace Config 4.3 Properties dialog box, select the Settings tab.

  4. Verify that the appropriate values are specified for each of the following fields:

    • Query cache enabled: true

    • Query cache SAS library name: SASApp-wrstemp

    • Query cache server: SASApp -- Logical Pooled Workspace Server

    • Distribution Library: SASApp-wrsdist

  5. Click OK to exit the dialog box.

  6. If you modified the value for any property, you should restart the Web application server to enable the properties to take effect.


Disable the Query Cache

To disable the query cache in the SAS Management Console, follow these steps:

  1. On the Plug-ins tab in SAS Management Console, navigate to Application Management > Configuration Manager.

  2. Right-click on BI Rep Svc Wkspace Config 4.3 and select Properties.

  3. In the BI Rep SVC Wkspace Config 4.3 Properties dialog box, select the Settings tab.

  4. In the Query cache enabled field, select false.

    If you are certain that you will not use the query cache in the future, modify the Query cache SAS library name field by leaving it blank. If applicable, edit the autoexec_usermods.sas file to remove the library assignment. If there is a possibility that you will re-enable the query cache, then you should leave the library in place.

  5. Click OK to exit the dialog box.

  6. To enable this change to take effect, restart your Web application server.

Previous Page | Next Page | Top of Page