My Oracle Support Banner

DBMS_STATS.GATHER_SCHEMA_STATS = ORA-12801 ORA-19112 XVM-00004 (Doc ID 1144293.1)

Last updated on FEBRUARY 21, 2019

Applies to:

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


DBMS_STATS.GATHER_SCHEMA_STATS fails when the schema contains an XMLType table with virtual columns and a large amount of data (say 1,001,000 rows) in the table.

SQL> exec dbms_stats.gather_schema_stats(ownname => 'SCOTT', estimate_percent=>50, degree=>8);
BEGIN dbms_stats.gather_schema_stats(ownname => 'SCOTT', estimate_percent=>50, degree=>8); END;

ERROR at line 1:
ORA-12801: error signaled in parallel query server P006
ORA-19112: error raised during evaluation:
XVM-00004: internal error "invalid address"
ORA-06512: at "SYS.DBMS_STATS", line 20508
ORA-06512: at "SYS.DBMS_STATS", line 20993
ORA-06512: at "SYS.DBMS_STATS", line 21073
ORA-06512: at "SYS.DBMS_STATS", line 21030
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.