Collection Contents Index Understanding backups Next PDF

SQL Anywhere® Server - Database Administration  > Backup and Data Recovery  > Understanding backups

The database file


When a database shuts down cleanly, the database file holds a complete and current copy of all the data in the database. When a database is running, however, the database file is generally not current or complete.

The only time a database file is guaranteed to hold a complete and current copy of all data is immediately after a checkpoint completes. Following a checkpoint, all the contents of the database cache are on disk.

The database server checkpoints a database under the following conditions:

Between checkpoints, you need both the database file and another file, called the transaction log, to ensure that you have a complete copy of all committed transactions.

See also

Collection Contents Index Understanding backups Next PDF