首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

db2数据导入Unable to allocate new pages in table space "tablespace"

2012-07-25 
db2数据导入Unable to allocate new pages in table space tablespace项目导入数据的时候:emd-message.i

db2数据导入Unable to allocate new pages in table space "tablespace"
项目导入数据的时候:
emd-message.ixf 文件大小:3.3G  数据量:510W
方法一:
db2 "import from /emd-message.ixf of ixf COMMITCOUNT 100000 insert
into emd_message"

数据导入25W左右就down了

方法二:

db2 "load from /emd-message.ixf of ixf savecount 10000 replace into emd_message nonrecoverable"

数据导入37万左右就报上面的错:
SQL0289N  Unable to allocate new pages in table space "TP16K".  SQLSTATE=57011
lode的时候,已对表锁住,必须解锁:
db2 "load from /emd-message.ixf of ixf terminate into emd_message nonrecoverable"

方法三:
db2 "alter tablespace TP16K RESIZE (ALL 35000 M)"
执行方法二,数据导入170W的时候报表空间错误
执行方法一,成功导入



热点排行