ORA-955 Name Is Already Used by an Existing Object When Creating a Text Index (Doc ID 467882.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Text - Version 10.2.0.1 to 11.2.0.4 [Release 10.2 to 11.2]
Information in this document applies to any platform.

Symptoms

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-00955: name is already used by an existing object
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364


 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms