Checkpoint
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
Ensures that all database changes in memory are committed to disk. Executing the Checkpoint statement closes the database files, rewrites the script file, deletes the log file, and reopens the database.
Syntax
CHECKPOINT [DEFRAG]
where:
- DEFRAG
- if specified, this statement evaluates abandoned space in the database data file (.data) and shrinks the data file to its minimum size.