Set Checkpoint Defrag
- 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
Set Checkpoint Defrag
Purpose
Sets the threshold for triggering a Checkpoint Defrag. It is used in conjunction with the Checkpoint statement.
Syntax
SET CHECKPOINT DEFRAG size
where:
- size
- specifies the threshold size.
Notes
- When
a Checkpoint statement is performed, either as a result of the .log
file reaching the limit set by Set Logsize or by the user issuing
a Checkpoint statement, the amount of abandoned space in the database
data file(.data) is checked. If it is larger than the value of size,
a
CHECKPOINT DEFRAG, which eliminates the abandoned space, is performed instead ofCHECKPOINT.