回复 5# zsj2002 db2 update db cfg for pa using trackmod YESDB20000I The UPDATE DATABASE CONFIGURATION command completed successfully.SQL1363W Database must be deactivated and reactivated before the chang...
显示全部回复 5# zsj2002 db2 update db cfg for pa using trackmod YES
DB20000I The UPDATE DATABASE CONFIGURATION command completed successfully.
SQL1363W Database must be deactivated and reactivated before the changes to
one or more of the configuration parameters will be effective.
You have new mail in /var/spool/mail/db2inst1
[db2inst1@db210 backup]$ db2 terminate
DB20000I The TERMINATE command completed successfully.
You have new mail in /var/spool/mail/db2inst1
[db2inst1@db210 backup]$ db2 activate db testa
DB20000I The ACTIVATE DATABASE command completed successfully.
[db2inst1@db210 backup]$ db2 connect to pa
Database Connection Information
Database server = DB2/LINUXX8664 10.1.0
SQL authorization ID = DB2INST1
Local database alias = PA
[db2inst1@db210 backup]$ db2 get db cfg for pa | grep -i trac
Track modified pages (TRACKMOD) = YES
系统本来就在归档下,然后修改成TRACKMOD之后,也不需要做备份
收起