打印

Admin come in

Admin come in

麻烦ADMIN帮忙解决一下
ora-01406的错误.

代码如下
master:

create snapshot log on table tablespace with rowid;

snapshot:
create database link connect to user identified by passwd using 'tns:master';

create snapshot master table tablespace refresh fast next sysdate + 1/86400 with rowid as
select varchar2(4000) from table@database link;

注* table里有一列的长度是varchar2(4000)
select varchar2(4000) from table的时候ora01406发生.

TOP

我没碰到过这个问题,上网搜了一下,大概是
1,你的这个字段是不是变过?
2,log大小不够?
3,这个比较怪,说是网络宽带小,不过这个现在应该存在的可能性不大,都是宽带了。
4,号称是oracle的一个bug号为1686483的bug,你再自己确定一下,如果是的话需要打补丁。

另外,官方文档上是说
To resolve ORA-01406, you should try to:
1,expand the column buffer area so that it can hold the largest column value
2,check your insert syntax, allowing for appropriate processing

还有一句,自己体会一下
You should note that ORA-01406 is described in MetaLink as a bug (4546618), which has supposedly been fixed in 10.2.0.3
信为人之本

TOP

谢谢ADMIN.
ADMIN的朋友有没有懂oracle的,
可否帮忙问问.

TOP

你等等figo,他那可能有oracle环境,不知道他碰到过这个问题没。

你检查一下上边的问题,然后再确定一下你的版本跟那两个oracle的bug对应的版本
信为人之本

TOP

>2,log大小不够?
好像是这个.

TOP