Execute the delete statement, the amount of data is too large, and an error is reported
The transaction log for the database is full.. SQLCODE=-964, SQLSTATE=57011, DRIVER=3.61.75
The log is full and can be enlarged
1. View the configuration
$ db2 get db cfg for dbName
Log file size (4KB)
Log file size (4KB) (LOGFILSIZ) = 1800 (can be modified)
number of main log files
Number of primary log files (LOGPRIMARY) = 30 (can be modified)
Number of secondary log files
Number of secondary log files (LOGSECOND) = 20 (modification can be considered)
2. Modify the configuration
db2 update db cfg for dbName using LOGFILSIZ 10240
db2 update db cfg for dbName using LOGPRIMARY 30
db2 update db cfg for dbName using LOGSECOND 20
3. Restart the database
db2 force application all (disconnect all connections)
db2stop
#db2stop force
db2start