日期:2014-05-16  浏览次数:21326 次

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的时候报表空间错误
执行方法一,成功导入