My Oracle Support Banner

Ctx_ddl.optimize_index Incorrectly Sets Obj$.flags To 0 For $P Table. (Doc ID 2744374.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


On : version, RDBMS

During schema import with datapump.
the following error occurs.

> > > DRG-11313: populate index error on index partition "PART_21"
> > > DRG-50857: oracle error in drvxtab.create_index_tables
> > > ORA-00955: name is already used by an existing object
> > > ORA-29960: line 1,

The error appears because expdp utility exports the internal text-index table ($P). So, the drvxtab.create_index_tables cannot create an index because the object name is occupied during import of the schema with impdp.
It happens that after running ctx_ddl.optimize_index on the index - the obj$.flags is set to 0 for the $P-table of the text-index. And this allows expdp to export the internal index table as an ordinary table.
Such behaviour takes place for partitioned and non-partitioned indexes.




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.