签到成功

知道了

CNDBA社区CNDBA社区

db2 import数据 transaction log 满

2022-11-25 17:08 1455 0 原创 DB2
作者: hbhe0316
[db2inst1@test01 tmp]$ db2 "import from T1.ixf of ixf insert into db2inst1.T1"
SQL3150N  The H record in the PC/IXF file has product "DB2    02.00", date
"20221125", and time "165702".

SQL3153N  The T record in the PC/IXF file has name "T1.ixf",
qualifier "", and source "            ".

SQL3109N  The utility is beginning to load data from file "T1.ixf".

SQL3306N  An SQL error "-964" occurred while inserting a row into the table.

SQL0964C  The transaction log for the database is full.  SQLSTATE=57011

SQL3110N  The utility has completed processing.  "137635" rows were read from
the input file.

解决方法:
修改LOGFILSIZ、LOGPRIMARY、LOGSECOND后重新导入http://www.cndba.cn/hbhe0316/article/116365http://www.cndba.cn/hbhe0316/article/116365

http://www.cndba.cn/hbhe0316/article/116365
http://www.cndba.cn/hbhe0316/article/116365
http://www.cndba.cn/hbhe0316/article/116365
http://www.cndba.cn/hbhe0316/article/116365http://www.cndba.cn/hbhe0316/article/116365http://www.cndba.cn/hbhe0316/article/116365http://www.cndba.cn/hbhe0316/article/116365http://www.cndba.cn/hbhe0316/article/116365

#db2 "import from T1.ixf of ixf insert into db2inst1.T1"
SQL3150N  The H record in the PC/IXF file has product "DB2    02.00", date
"20221125", and time "165702".

SQL3153N  The T record in the PC/IXF file has name "T1.ixf",
qualifier "", and source "            ".

SQL3109N  The utility is beginning to load data from file "T1.ixf".

SQL3110N  The utility has completed processing.  "672117" rows were read from
the input file.

SQL3221W  ...Begin COMMIT WORK. Input Record Count = "672117".

SQL3222W  ...COMMIT of any database changes was successful.

SQL3149N  "672117" rows were processed from the input file.  "672117" rows
were successfully inserted into the table.  "0" rows were rejected.


Number of rows read         = 672117
Number of rows skipped      = 0
Number of rows inserted     = 672117
Number of rows updated      = 0
Number of rows rejected     = 0
Number of rows committed    = 672117

版权声明:本文为博主原创文章,未经博主允许不得转载。

DB2

用户评论
* 以下用户言论只代表其个人观点,不代表CNDBA社区的观点或立场
hbhe0316

hbhe0316

关注

1.只有承认无知,才能装下新的东西; 2.进步来自一点点滴滴的积累; 3.广博让你更优秀,而专业让你无法替代; 4.挫折和失败能够转换为一种财富。

  • 889
    原创
  • 1
    翻译
  • 13
    转载
  • 24
    评论
  • 访问:1136415次
  • 积分:1523
  • 等级:核心会员
  • 排名:第6名
精华文章
    最新问题
    查看更多+
    热门文章
      热门用户
      推荐用户
        Copyright © 2016 All Rights Reserved. Powered by CNDBA · 皖ICP备2022006297号-1·

        QQ交流群

        注册联系QQ