TurboDB VCL Component Library TTdbTable.FlushMode TTdbTable See also |
Previous Top Next |
Switches write buffering on and off.
Delphi syntax:
property FlushMode: TTdbFlushMode;
C++ syntax:
__property TTdbFlushMode FlushMode = {read=FFlushMode, write=FFlushMode, nodefault};
Description
If FlushMode is set to tfmSecure, records are written to disk and the directory information is updated immediately. This mode minimizes the data loss in case of a current supply breakdown or a crash of the application. To optimize write performance of your application, set FlushMode to tfmFast and such enable write buffering. tfmDefault uses the FlushMode value of the database component.