My Oracle Support Banner

dbms_xdb.rebuildhierarchicalindex fails with an ORA-01422 (Doc ID 1273254.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 10.2 to 11.2]
Information in this document applies to any platform.


While rebuilding XDB's hierarchical index with dbms_xdb.rebuildhierarchicalindex, it fails with an ORA-01422.

SQL> execute dbms_xdb.rebuildhierarchicalindex;
BEGIN dbms_xdb.rebuildhierarchicalindex; END;
ERROR at line 1:
ORA-01422: exact fetch returns more than requested number of rows
ORA-06512: at "XDB.DBMS_XDB", line 920
ORA-06512: at "XDB.DBMS_XDB", line 931
ORA-06512: at line 1


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.