DBMS_SPM.LOAD_PLANS_FROM_SQLSET Getting Xml Parsing Error
(Doc ID 1204524.1)
Last updated on FEBRUARY 20, 2019
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 11.1 to 11.2]
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 Backup Service - Version N/A and later
Information in this document applies to any platform.
You receive following error when loading plans from STS in 11g;
cnt:=DBMS_SPM.LOAD_PLANS_FROM_SQLSET(sqlset_name => 'HR',sqlset_owner => 'SYS');
dbms_output.put_line('Number of plans loaded: ' || cnt);
ERROR at line 1:
ORA-06512: at line 1
ORA-31011: XML parsing failed
ORA-19202: Error occurred in XML processing
LPX-00245: extra data after end of document
Error at line 1
ORA-06512: at "SYS.DBMS_SPM", line 2013
ORA-06512: at line 2
SQL Tuning Set (STS) was generated in 10g.
You are trying to load the STS in 11g database.
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