db2 load 不存在文件问题

db2 日志模式:循环  版本:9.7今天我执行 db2 load from /tmp/1.txt of del insert into schema.table1;由于/tmp/1.txt文件不存在,导致Load一直是Load in Progress状态。用Load query查询,显示如下:SQL2036N The path for the file or device"/tmp/1.txt" is not va...显示全部

db2 日志模式:循环  版本:9.7

今天我执行 db2 load from /tmp/1.txt of del insert into schema.table1;

由于/tmp/1.txt文件不存在,导致Load一直是Load in Progress状态。

用Load query查询,显示如下:

SQL2036N The path for the file or device

"/tmp/1.txt" is not valid.

SQL3532I The load utility is currently in the "UNKNOWN" phase.

Tablestate:

Load in Progress

然后我尝试用load from /dev/null of del terminate 方式来解决,但这个load命令执行后也没有反应,等了很久也没有返回,无奈直接 Ctrl + C中止了。

然后我想db2stop,或者db2stop force,也停不了数据。

难道真的要db2kill 吗?

请问大神,这种情况下还有没有其它 解救方法,谢谢!

收起
参与12

查看其它 4 个回答weiruan85的回答

weiruan85weiruan85数据库管理员ibm

重现下,收个数据看一下, 找到load 相关的几个线程,然后db2pd -stack eduid ,把stack 传上来看看

政府机关 · 2015-11-25
浏览2160

回答者

weiruan85
数据库管理员ibm

weiruan85 最近回答过的问题

回答状态

  • 发布时间:2015-11-25
  • 关注会员:5 人
  • 回答浏览:2160
  • X社区推广