(PHP 3>= 3.0.8, PHP 4 >= 4.0b2)

dba_sync -- Synchronize database


bool dba_sync (int handle)

dba_sync() synchronizes the database specified by handle. This will probably trigger a physical write to disk, if supported.

handle is a database handle returned by dba_open().

dba_sync() returns true or false, if the synchronization succeeds or fails, respectively.

See also: dba_optimize()