4D v13.4

FLUSH BUFFERS

Home

 
4D v13.4
FLUSH BUFFERS

FLUSH BUFFERS 


 

FLUSH BUFFERS  
Does not require any parameters

The FLUSH BUFFERS command immediately saves the data buffers to disk. All changes that have been made to the database are stored on disk.

You usually do not need to call this command, as 4D saves data modification on a regular basis. The Flush Data Buffers every X Minutes option (Data Management page of the Preferences), which specifies how often to save, is typically used to control buffer flushing.

Note: 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.

 
PROPERTIES 

Product: 4D
Theme: 4D Environment
Number: 297

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: < 4D v6