sql - not able to drop and recreate the oracle text index -
i not able drop , recreate oracle text index.
sql> drop index "wbr"."ctx_t1"; index dropped sql> sql> create index "wbr"."ctx_t1" 2 on wbr.t1(asset_xml) 3 indextype "ctxsys"."context" 4 parameters ('datastore ctxsys.direct_datastore section group ctxsys.auto_section_group sync (every "sysdate+10/1440")') 5 ; create index "wbr"."ctx_t1" on wbr.t1(asset_xml) indextype "ctxsys"."context" parameters ('datastore ctxsys.direct_datastore section group ctxsys.auto_section_group sync(every "sysdate+10/1440")') ora-29855: error occurred in execution of odciindexcreate routine ora-20000: oracle text error: drg-10507: duplicate index name: ctx_t1 ora-06512: @ "ctxsys.drue", line 160 ora-06512: @ "ctxsys.textindexmethods", line 366
even after dropping cintext index, can see entry in ctxsys.ctx_indexes.
the job , internal tables still there in database:
dr$ctx_t1$i dr$ctx_t1$j--job dr$ctx_t1$k dr$ctx_t1$n dr$ctx_t1$r dr$ctx_t1$x
any suggestions?
1) check if there exists other object same name (possible case insensitive)
select owner, object_name, object_type dba_objects upper(object_name) '%ctx_t1%';
if yes drop it.
2) try drop index force option
drop index "wbr"."ctx_t1" force;
if doesn't help:
3) contact oracle support
Comments
Post a Comment