Multiple Union-all Statements Parse Failure After Upgrade To 12c
(Doc ID 2469376.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.2 and laterInformation in this document applies to any platform.
Symptoms
- Union all statements does not complete in version 12.1.0.2 but finished in 11.2.0.3
- It finishes in 12.1.0.2 only if "alter session set optimizer_features_enable = '11.2.0.3';" is set
- AWR shows high parse time:
AWR
===
Time Model StatisticsStatistic Name Time (s) % of DB Time % of Total CPU Time
sql execute elapsed time 105.70 82.17
parse time elapsed 64.40 50.06 <<<============================ Parse !
hard parse elapsed time 63.78 49.58 <<<============================ Parse !
DB CPU 33.29 25.88 83.13
connection management call elapsed time 3.59 2.79
failed parse elapsed time 3.45 2.68 <<<============================ Parse !
PL/SQL execution elapsed time 2.17 1.69
Changes
Upgraded to 12c from 11.2.
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 |
Changes |
Cause |
Solution |
References |