4D v16.3FLUSH CACHE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16.3
FLUSH CACHE
FLUSH CACHE
The FLUSH CACHE command immediately saves the data buffers to disk. All changes that have been made to the database are stored on disk. By default, the current cache memory is left untouched, which means that its data continues to be used for subsequent reading accesses. Optionally, you can pass a parameter to modify its contents:
Note: Passing a parameter to this command is reserved for testing purposes. For performance reasons, it is not recommended to free up the cache in the production environment. In normal cases, you should not call this command, as 4D saves data modifications on a regular basis. The Flush Cache every X Seconds (Minutes) option on the Database/Memory page of the Database Settings, which specifies how often to save, is typically used to control cache flushing. We recommend using the default value of 20 seconds. Note also that the Cache flush periodicity parameter can be set and read using the SET DATABASE PARAMETER and Get database parameter commands.
See also
|
PROPERTIES
Product: 4D HISTORY
ARTICLE USAGE
4D Language Reference ( 4D v16) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||