Difference between revisions of "SET CACHELOAD"

From Recital Documentation Wiki
Jump to: navigation, search
Line 15: Line 15:
  
 
==See Also==
 
==See Also==
SET DCACHE, SET ICACHE, SET PCACHE
+
[[SET DCACHE]], [[SET ICACHE]], [[SET PCACHE]]
  
  

Revision as of 12:04, 11 March 2009

SET CACHELOAD

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