(Doc ID 1144293.1)

Last updated on JULY 07, 2010

Applies to:

Oracle Server - 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


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 hundreds of Community platforms