Difference between revisions of "SET PCACHE"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET PCACHE=
 
 
 
==Class==
 
Performance and Optimization
 
 
 
 
==Purpose==
 
==Purpose==
 
Read programs completely into memory before execution commences
 
Read programs completely into memory before execution commences
Line 15: Line 8:
  
 
==See Also==
 
==See Also==
SET CACHELOAD, SET GCACHE, SET ICACHE, SET DCACHE
+
[[SET CACHELOAD]], [[SET DCACHE]], [[SET FORMAT]], [[SET GCACHE]], [[SET ICACHE]]
  
  
Line 23: Line 16:
  
 
==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 Server, Recital  
 +
[[Category:Documentation]]
 +
[[Category:Commands]]
 +
[[Category:Set_Commands|PCACHE]]
 +
[[Category:Performance and Optimization]]
 +
[[Category:Performance and Optimization Set Commands]]

Latest revision as of 16:34, 23 November 2009

Purpose

Read programs completely into memory before execution commences


Syntax

SET PCACHE ON | OFF | (<expL>)


See Also

SET CACHELOAD, SET DCACHE, SET FORMAT, 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 Server, Recital