linux的pending状态怎么退出,BACKUP PENDING状态的解除

1、数据库比较大的时候

[db2inst1@db2serv1 ~]$ db2 connect to YXDB

SQL1116N  A connection to or activation of database " YXDB" cannot be made

because of BACKUP PENDING.  SQLSTATE=57019

[db2inst1@db2serv1 ~]$ db2dart YXDB /CHST /WHAT DBBP OFF

Updated the log file header control file.

The requested DB2DART processing has completed successfully!

Complete DB2DART report found in:

/db2home/db2inst1/sqllib/db2dump/DART0000/YXDB.RPT

[db2inst1@db2serv1 ~]$ db2 activate db yxdb

DB20000I  The ACTIVATE DATABASE command completed successfully.

[db2inst1@db2serv1 ~]$ db2 connect to yxdb

Database Connection Information

Database server        = DB2/LINUXX8664 9.7.5

SQL authorization ID   = DB2INST1

Local database alias   = YXDB

2、backup  db

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值