ORA-19051: Cannot use fast path insert for this XMLType table (Doc ID 1510791.1)

Last updated on JULY 25, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.
***Checked for relevance on 02-Nov-2015***

Symptoms

The following query -

select distinct (a.username) "USER", count (r.xmldata) "TOTAL"
from dba_users a, xdb.xdb$resource r
where sys_op_rawtonum (extractvalue (value(r),'/Resource/OwnerID/text()'))=a.USER_ID group by a.username;

fails with below errors -

Error starting at line 1 in command:
select distinct (a.username) "USER", count (r.xmldata) "TOTAL"
from dba_users a, xdb.xdb$resource r
where sys_op_rawtonum (extractvalue (value(r),'/Resource/OwnerID/text()'))=a.USER_ID group by a.username
Error at Command Line:2 Column:5
Error report:
SQL Error: ORA-19051: Cannot use fast path insert for this XMLType table

Cause

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