This is the legacy 4D documentation web site. Documentations are progressively being moved to developer.4d.com

Home

 
4D v20 R7
Cache Management

Chapter Cache Management    


 

 

4D integrates a built-in data cache scheme for accelerating I/O operations. The fact that data modifications are, for some time, present in the data cache and not on the disk is transparent to your coding. For example, if you issue a QUERY call, the 4D database engine integrates the data cache in the query operation.

The database cache manager has been fully rewritten in 4D v16, allowing it to take advantage of 64-bit environments. Automatically enabled and optimized, it can however be dynamically configured or analyzed with the commands from this theme. In addition, a customizable priority system is implemented. For more information, please refer to the Managing priorities in database cache section.

Note also that a Cache flush periodicity selector can be used with the SET DATABASE PARAMETER and Get database parameter commands.

 
 



See also 

Get database parameter
SET DATABASE PARAMETER

 
PROPERTIES 

Product: 4D
Theme: Cache Management

 
HISTORY 

Created: 4D v16

 
ARTICLE USAGE

4D Language Reference ( 4D v20 R7)