ITPub博客

首页 > 数据库 > 数据库开发技术 > db2表挂起

db2表挂起

原创 数据库开发技术 作者:valleygrain 时间:2009-12-27 20:53:52 0 删除 编辑

db2 import from ins.del of del commitcount 10000 insert into 表名

使用db2 SELECT * FROM 表名 查看表状态


db2 load from ins.del of del insert into 表名

使用db2 load query table 表名 查看表状态

是表状态不正常,是使用alter table statement修改表结构造成的,

通过reorg table 表名 解决目前表的挂起状态

db2 set constraints for tabname ...可以解除每一个表的check pendding状态

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9893498/viewspace-1030026/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-12-11

  • 博文量
    77
  • 访问量
    927949