Difference between revisions of "SET CACHELOAD"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
==Class== | ==Class== | ||
Performance and Optimization | Performance and Optimization | ||
Line 23: | Line 20: | ||
==Example== | ==Example== | ||
− | < | + | <code lang="recital"> |
set exclusive on | set exclusive on | ||
set dcache to 500 | set dcache to 500 | ||
Line 29: | Line 26: | ||
set cacheload on | set cacheload on | ||
use patrons index events | use patrons index events | ||
− | set dcache off</ | + | set dcache off</code> |
Revision as of 12:15, 15 April 2009
Class
Performance and Optimization
Purpose
Map table into memory
Syntax
SET CACHELOAD ON | OFF | (<expL>)
See Also
SET DCACHE, SET ICACHE, SET PCACHE
Description
The SET CACHELOAD command can be used in association with the SET DCACHE command. It loads the table and index cache into memory when the table is used exclusively. Although this can be a lengthy process, further access to the table is accelerated dramatically. OpenVMS users please note that to obtain the full benefit of SET CACHELOAD, your working set should be set to a suitably large value. By default, CACHELOAD is OFF.
Example
set exclusive on set dcache to 500 set dcache on set cacheload on use patrons index events set dcache off
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer