Difference between revisions of "SET FCACHE"

From Recital Documentation Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=SET FCACHE=
 
 
 
==Class==
 
Performance and Optimization
 
 
 
 
==Purpose==
 
==Purpose==
 
Enable or disable open file caching
 
Enable or disable open file caching
Line 20: Line 13:
 
==Description==
 
==Description==
 
If FCACHE is ON, any files that are opened are recorded in the ’open file cache ’.  When the file is closed, it is logically closed but not physically closed in the operating system.  Further requests to open the file are satisfied from the ’open file cache’, thereby speeding up program execution by removing an operating system action.  The files are stored in the ’open file cache’ until the process file limit is exceeded.
 
If FCACHE is ON, any files that are opened are recorded in the ’open file cache ’.  When the file is closed, it is logically closed but not physically closed in the operating system.  Further requests to open the file are satisfied from the ’open file cache’, thereby speeding up program execution by removing an operating system action.  The files are stored in the ’open file cache’ until the process file limit is exceeded.
 +
 
If FCACHE is OFF, closing files physically closes them in the operating system.  If FCACHE is ON, the CLEAR FCACHE command must be issued as well as a CLOSE command in order to physically close files in the operating system.  The default setting for FCACHE is OFF.
 
If FCACHE is OFF, closing files physically closes them in the operating system.  If FCACHE is ON, the CLEAR FCACHE command must be issued as well as a CLOSE command in order to physically close files in the operating system.  The default setting for FCACHE is OFF.
  
  
 
==Example==
 
==Example==
<pre>
+
<code lang="recital">
set fcache on</pre>
+
set fcache on</code>
  
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Commands]]
 
[[Category:Commands]]
 
[[Category:Set_Commands|FCACHE]]
 
[[Category:Set_Commands|FCACHE]]
 +
[[Category:Performance and Optimization]]
 +
[[Category:Performance and Optimization Set Commands]]

Latest revision as of 15:44, 23 November 2009

Purpose

Enable or disable open file caching


Syntax

SET FCACHE ON | OFF | (<expL>)


See Also

CLEAR FCACHE, CLEAR PROGRAM, SET DCACHE, SET ICACHE, SET PCACHE


Description

If FCACHE is ON, any files that are opened are recorded in the ’open file cache ’. When the file is closed, it is logically closed but not physically closed in the operating system. Further requests to open the file are satisfied from the ’open file cache’, thereby speeding up program execution by removing an operating system action. The files are stored in the ’open file cache’ until the process file limit is exceeded.

If FCACHE is OFF, closing files physically closes them in the operating system. If FCACHE is ON, the CLEAR FCACHE command must be issued as well as a CLOSE command in order to physically close files in the operating system. The default setting for FCACHE is OFF.


Example

set fcache on


Products

Recital Server, Recital