High CPU Usage when Selecting an XMLELEMENT with XMLATTRIBUTES Referring to a Namespace (Doc ID 1907124.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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

Symptoms

When an XMLTYPE contains namespaces not declared in the root element, like in the following example


may spin on CPU, and is necessary to kill the session as the query does not complete, even if the execution plan shows that it might be executed
in fragments of seconds.

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