DB2 10.5 for Linux, UNIX, and Windows

Log file management

The DB2® database manager uses a number scheme to name log files. This naming strategy has implications for log file reuse and log sequences. Also, a DB2 database that has no client application connection uses a new log file when the next client application connects to that database server. These two aspects of DB2 database logging behavior affect the log file management choices you make.

Consider the following when managing database logs:

Figure 1. Reusing log file names
Diagram showing how the DB2 database manager reuses log file names after restoring a database.