Debug_Compact

🛠️
Parameter: Debug_Compact
Short description: Enables detailed debug output for the Compact task (start/end, space saved, errors) – indispensable for compact problems and ODS upgrades.

Profile

Parameter
Debug_Compact
Category
Logging / Debug
Component
Server
Available since
12.0
Supported versions
12.0, 14.0, 14.5, 14.5.1
GUI equivalent
notes.ini only (no GUI)
Possible values
0 = off, 1 = summary, 2 = per database, 3 = very verbose

Description

The Compact task is relatively quiet in normal operation. As soon as problems arise – stuck NSFs, errors during ODS upgrade, or unexpectedly slow runs – Debug_Compact provides structured logs for each processed database.
Output goes to the current Debug_Outfile (or the console). At levels 2/3, several MB per Compact run can be produced quickly – enable only temporarily.

Example configuration

Debug_Compact=2 Debug_Outfile=/local/notesdata/IBM_TECHNICAL_SUPPORT/compact_debug.log

Notes & pitfalls

  • Enable before nightly Compact runs, then disable again afterwards.
  • Complements Debug_Outfile, Compact_Max_Threads, DBMT_*.
  • Use level 3 only for deep troubleshooting – high I/O load.
  • Logs land in the IBM_TECHNICAL_SUPPORT directory depending on the Debug_Outfile setting.
  • Takes effect directly after set config Debug_Compact=...; no restart required.