CALCLOCKBLOCK

Sets the HIGH, DEFAULT, and LOW values for the calculation script SET LOCKBLOCK command, which specifies the maximum number of blocks that Essbase can fix (get addressability to) when calculating one block.

This setting does not apply to aggregate storage databases.

Syntax

CALCLOCKBLOCKHIGH | CALCLOCKBLOCKDEFAULT | CALCLOCKBLOCKLOW n

Where HIGH, DEFAULT, and LOW are levels:

Description

CALCLOCKBLOCK specifies the number of blocks that can be fixed at each level of the SET LOCKBLOCK HIGH  |  DEFAULT  |  LOW calculation script command.

When a block is calculated, Essbase fixes (gets addressability to) the block along with the blocks containing its children. Essbase calculates the block and then releases it along with the blocks containing its children. By default, Essbase allows up to 100 blocks to be fixed concurrently when calculating a block. This is sufficient for most database calculations. However, you may want to set a number higher than 100 if you are consolidating very large numbers of children in a formula calculation. This ensures that Essbase can fix all the required blocks when calculating a data block and that performance will not be impaired.

Notes

Example

If the essbase.cfg file contains the following settings:

CALCLOCKBLOCKHIGH 500
CALCLOCKBLOCKDEFAULT 200
CALCLOCKBLOCKLOW 50

Then you can use the following SET LOCKBLOCK setting commands in a calculation script:

SET LOCKBLOCK HIGH;

Essbase can fix up to 500 data blocks when calculating one block.

SET LOCKBLOCK DEFAULT;

Essbase can fix up to 200 data blocks when calculating one block.

SET LOCKBLOCK LOW;

Essbase can fix up to 50 data blocks when calculating one block.

Note:

In essbase.cfg, a parameter is not followed by a semicolon; in a calculation script, a parameter must be followed by a semicolon.

See Also

SET LOCKBLOCK (calculation script command)