Chinaunix首页 | 论坛 | 博客
  • 博客访问: 137116
  • 博文数量: 25
  • 博客积分: 460
  • 博客等级: 下士
  • 技术积分: 252
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-11 10:48
个人简介

努力学习,谦虚请教,不断提升!

文章分类

全部博文(25)

文章存档

2015年(3)

2014年(4)

2013年(3)

2012年(9)

2011年(6)

我的朋友

分类: DB2/Informix

2011-11-05 16:27:52

1、问题现象:

-bash-3.2$ dbaccess tnmsdb2 -

Database selected.

> load from /home/informix/yy insert into circuit;

  271: Could not insert new row into the table.   136: ISAM error: no more extents
  847: Error in load file line 37242.
Error in line 1
Near character position 48

2、处理步骤:
     2.1、检查设置extent大小
-bash-3.2$ dbschema -d tnmsdb2 -t circuit -ss|grep extent
  ) extent size 16 next size 16 lock mode row;
     2.2、备份表结构,vi进去修改extent大小
sed -e '/\/s/[0-9][0-9]*/16/g' file.cfg
-bash-3.2$ dbschema -d tnmsdb2 -t circuit -ss circuit.sql
     2.3、备份数据
>unload to circuit.data select * from circuit;
     2.3、dop库表
>dop table circuit;
     2.4、导入表结构
dbaccess tnmsdb2 circuit.data
     2.5、导入数据
>load from /home/informix/circuit.data insert into circuit;
阅读(2223) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~