HP unix下db2 9.1数据库开启了归档,利用networker备份之后需要删除归档日志步骤如下:
1、db2 list history backup all for xxx 找到需要删除的时间戳
2、db2 connect to xxx user db2admin using db2admin 连接数据库
3、db2 prune history 20140224203525 and delete 删掉需要的时间戳
在有些数据库能使用这些步骤,但是好几个库都在执行db2 prune history 20140224203525 and delete后都卡主,有人说是日志太大,但是有些库的归档日志很小才几十M,使用db2 prune history 20140224202037 with force option and delete也还是卡住。
有大神知道是什么原因么?或者说数据库需要改参数什么的?
收起