My Oracle Support Banner

Poor Performance in 11gR2 When Inserting XMLTYPE (Doc ID 1396974.1)

Last updated on JANUARY 17, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

A procedure creating and inserting XML into a table with an XMLType column is performing badly in 11gR2 while in 10.2 it was performing fine

....
.....
v_dequeued_dom_msg := DBMS_XMLDOM.newdomdocument(v_dequeued_message_xml);

INSERT INTO issue_reproduce_tbl VALUES (1, SYSDATE, SYSDATE, v_dequeued_message_xml ) ;

COMMIT;

END LOOP;
...
....

In 10.2 it took around one minute and in 11gR2 is taking 12min

Cause

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
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.