- 最后登录
- 2023-8-16
- 在线时间
- 1686 小时
- 威望
- 2135
- 金钱
- 50532
- 注册时间
- 2011-10-12
- 阅读权限
- 200
- 帖子
- 5207
- 精华
- 39
- 积分
- 2135
- UID
- 2
|
4#
发表于 2012-7-24 21:35:22
ODM FINDING ;
Hdr: 6641649 10.2.0.3.0 DRGEN 10.2.0.3.0 PRODID-211 PORTID-23
Abstract: ORA-955: NAME IS ALREADY USED BY AN EXISTING OBJECT
*** 11/20/07 12:56 pm REQUEST TEXT ***
When creating two independent text indexes on two independent tables but
using the same storage preference we receive error:
ORA-955: name is already used by an existing object
when the storage preference names the LOB (the R_TABLE or the I_TABLE LOB)
This example shows it using R_TABLE_CLAUSE:
create table table1
(id number, text varchar2(50));
create table table2
(id number, text varchar2(50));
begin
ctx_ddl.create_preference('STORAGE_PREF','BASIC_STORAGE');
ctx_ddl.set_attribute('STORAGE_PREF','R_TABLE_CLAUSE','lob (data) store as
clob_r_data (disable storage in row cache)');
end;
/
create index ctx_idx1 on table1(text)
indextype is ctxsys.context
parameters('storage STORAGE_PREF')
/
create index ctx_idx2 on table2(text)
indextype is ctxsys.context
parameters('storage STORAGE_PREF')
/
/*
*
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-50857: oracle error in drvxtab.create_index_tables
ORA-955: name is already used by an existing object
ORA-6512: at "CTXSYS.DRUE", line 160
ORA-6512: at "CTXSYS.TEXTINDEXMETHODS", line 364
*/
/*
这似乎是一个 和 text index相关的bug ,
建议:
尝试用expdp /impdp 绕过该问题 |
|