Difference between revisions of "SET PCACHE"

From Recital Documentation Wiki
Jump to: navigation, search
 
Line 15: Line 15:
  
 
==See Also==
 
==See Also==
SET CACHELOAD, SET GCACHE, SET ICACHE, SET DCACHE
+
[[SET CACHELOAD]], [[SET DCACHE]], [[SET GCACHE]], [[SET ICACHE]]
  
  
Line 23: Line 23:
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
 
set pcache on
 
set pcache on
 
do accounts
 
do accounts
 
use patrons index events, dates, names
 
use patrons index events, dates, names
 
set format to dataentry
 
set format to dataentry
change</pre>
+
change</code>
  
  
 
==Products==
 
==Products==
 
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
 
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands|PCACHE]]

Revision as of 10:08, 12 March 2009

SET PCACHE

Class

Performance and Optimization


Purpose

Read programs completely into memory before execution commences


Syntax

SET PCACHE ON | OFF | (<expL>)


See Also

SET CACHELOAD, SET DCACHE, SET GCACHE, SET ICACHE


Description

If SET PCACHE is ON, then programs executed with the DO command are read completely into memory before execution commences. Screen format files activated with the SET FORMAT TO command are also read completely into memory. By default, PCACHE is ON.


Example

set pcache on
do accounts
use patrons index events, dates, names
set format to dataentry
change


Products

Recital Database Server, Recital Mirage Server, Recital Terminal Developer