DB2修改日志模式报 SQLSTATE=57019
总结一下DB2 默认为循环归档,根据应用要求调整为日志归档模式
=============================================
修改之后启动时报错
SQL1116NA connection to or activation of database "XXX" cannot be made
because of BACKUP PENDING.SQLSTATE=57019
=============================================
解决步骤:
db2 connect to XXX
db2 force application all
db2 "UPDATE DB CFG FOR XXXUSING LOGARCHMETH1'Disk:/db2log/db2logar'"
db2 "backup db XXX to /db2log/backup/dpf_1,/db2log/backup/dpf_2,/db2log/backup/dpf_3,/db2log/backup/dpf_4"
db2stop
db2start
页:
[1]