一、升级后模拟数据库损坏,进行恢复性测试
执行db2 connect to bz user db2admin using db2admin
出现错误:SQL30082N、SQLSTATE=08001
分析原因:数据库为升级前进行的备份,升级后需进行更新实例操作
解决方案:db2iupdt db2inst1
二、升级后数据库连接异常:
An error occurred while performing the operation:
DB2 SQL Error: SQLCODE=-443, SQLSTATE=38553, SQLERRMC=SYSIBM.SQLTABLES;TABLES;SYSIBM:CLI:-805, DRIVER=3.53.95
分析原因:数据库升级过程中出现某个编目库未bind
解决方案:db2 bind db2schema.bnd blocking all grant publick sqlerror continue
三、对数据库使用online backup进行恢复时,出现tablespace offline,其中usertemp表空间处于暂挂状态
分析原因:数据库usertemp1 未使用,online backup未对此表空间进行备份
解决方案:
db2 "create user temporary tablespace usertemp1 managed by system using ('/db2/bz/usertemp1')"
db2 drop tablespace USERTEMP
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/795969/viewspace-616434/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/795969/viewspace-616434/