version 3
FLUSH BUFFERS
Parameter | Type | Description | ||||
This command does not require any parameters |
Description
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 database property Flush Data Buffers (in the Design environment), 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.