DBSTATUS_CACHE_WRITE top-level constant

int const DBSTATUS_CACHE_WRITE

This parameter returns the number of dirty cache entries that have been written to disk.

Specifically, the number of pages written to the wal file in wal mode databases, or the number of pages written to the database file in rollback mode databases. Any pages written as part of transaction rollback or database recovery operations are not included. If an IO or other error occurs while writing a page to disk, the effect on subsequent SQLITE_DBSTATUS_CACHE_WRITE requests is undefined. The highwater mark associated with SQLITE_DBSTATUS_CACHE_WRITE is always 0.

Implementation

const DBSTATUS_CACHE_WRITE = 9;