ANSI SQL Statement Running Slow in 12C
Last updated on JUNE 11, 2018
Applies to:Oracle Database - Standard Edition - Version 188.8.131.52 and later
Information in this document applies to any platform.
- After upgrading the database from 184.108.40.206 to 220.127.116.11, the ANSI version of SQL statements take long time to complete
- The non-ANSI version of the same SQL statements take only less than a second to complete with following plans:
- Setting OPTIMIZER_FEATURES_ENABLE = '18.104.22.168' resolves the issue with performance for the ANSI query.
- Setting _OPTIMIZER_UNNEST_SCALAR_SQ to FALSE also gives good plan but push predicate does not happen.
Database upgrade from 11.2 to 12.1.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms