My Oracle Support Banner

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

Last updated on JULY 09, 2018

Applies to:

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


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));

ctx_ddl.set_attribute('STORAGE_PREF','R_TABLE_CLAUSE','lob (data) store as clob_r_data (disable storage in row cache)');

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



To view full details, 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 a vibrant support community of peers and Oracle experts.