softmachine 发表于 2009-10-16 10:29

eximport报错

569 - Cannot reference an external database with logging.

是要怎么弄才能往下执行啊?

liaosnet 发表于 2009-10-16 10:49

原帖由 softmachine 于 2009-10-16 10:29 发表 http://bbs3.chinaunix.net/images/common/back.gif
569 - Cannot reference an external database with logging.

是要怎么弄才能往下执行啊?

finderr 569

-569    Cannot reference an external database with logging.

This statement refers to a database other than the current database.
However, the current database does not use transaction logging, and the
external one does. This action is not supported; the databases that are
used in a single transaction must all use logging or all not use it.

antyison 发表于 2009-10-16 13:49

-569      不能访问带日志的外部数据库。

本语句访问一个当前数据库以外的数据库。然而,当前数据库不使用事务日志,而外
部的数据库使用。这种操作是不被支持的。在单个事务中使用的数据库必须全都使用
日志或者全都不使用日志。

frank_lin369 发表于 2009-10-16 15:39

回复 #3 antyison 的帖子

Buffer & unbufferissue
1. where database unbuffer
   Use command:   dbimport database -d dbsname -l
try it

zhaowuxing 发表于 2009-10-23 10:00

dbimport/dbexport 都必须是Informix单用户环境!

可以先onmode -jy 切换到单用户,再dbimport/dbexport.

做完dbimport/dbexport

再onmode -my 切回正常状态(多用户)

[ 本帖最后由 zhaowuxing 于 2009-10-23 10:02 编辑 ]

yunzhongyue 发表于 2009-10-23 10:14

回复 #5 zhaowuxing 的帖子

不用单用户环境的,只不过会锁定数据库,拒绝其它用户访问的。楼主的问题是因为要导入的数据库里有其它数据库的同义词或view等,两边的日志模式不同,修改其中一个或在导入时指定日志模式即可。

MicroHard 发表于 2009-10-29 23:26

挣点分

可以这样做:
1、在那个“数据库.exp/”目录里的“数据库.sql”文件里找到dbimport执行中断出现569错误的地方,将报错及后面的内容另存为一个sql文件
2、用ontape -s -U 数据库名或ontape -s -B 数据库名 这样的命令修改import的数据库的日志模式
3、执行1中保存的sql

呵呵,挣分!!
页: [1]
查看完整版本: eximport报错