Set Buffer Sizes to Optimize Reports

You can change the retrieval buffer and retrieval sort buffer sizes to optimize Report Writer reports and Smart View Query Designer queries.

The time required to generate a report varies depending upon factors such as the size of the cube you are reporting from, the number of queries included in the script, and the size of the retrieval buffer and retrieval sort buffer.

Configurable variables specify the size of the buffers used for storing and sorting data extracted by retrievals. The retrieval buffer and retrieval sort buffer should be large enough to prevent unnecessary read and write activities. You can set them in the Essbase web interface or in MaxL.

The retrieval buffer holds extracted row data cells before they are evaluated by the RESTRICT or TOP/BOTTOM Report Writer commands. The default size is 20 KB. The minimum size is 2 KB. Increasing the size may improve retrieval performance.

When the retrieval buffer is full, the rows are processed and the retrieval buffer is reused. If this buffer is too small, frequent reuse of the area can increase retrieval times. If this buffer is too large, too much memory may be used when concurrent users perform queries, also increasing retrieval times.

The retrieval sort buffer holds data until it is sorted. Report Writer and Query Designer (in Smart View) use the retrieval sort buffer. The default size is 20 KB. The minimum size is 2 KB. Increasing the size may improve retrieval performance.

You can change the retrieval buffer and retrieval sort buffer size in the Essbase web interface, in the cube inspector, to optimize Report Writer reports and Smart View Query Designer queries.


Image of the cube inspector, Settings, Buffers tab in the Essbase web interface.

To set the retrieval buffer size and retrieval sort buffer size:

  1. In the Essbase web interface, in the cube inspector, go to the Settings tab and select Buffers.
  2. Add the values you want to use, and click Save.