Difference between revisions of "SET CACHELOAD"

From Recital Documentation Wiki
Jump to: navigation, search
Line 1: Line 1:
=SET CACHELOAD=
 
 
 
 
==Class==
 
==Class==
 
Performance and Optimization
 
Performance and Optimization
Line 23: Line 20:
  
 
==Example==
 
==Example==
<pre>
+
<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</pre>
+
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