Query Consistently Hard Parses More than Once Initially then Soft Parses
(Doc ID 1555541.1)
Last updated on DECEMBER 14, 2020
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud 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
Information in this document applies to any platform.
- Query Consistently Hard Parses More than Once
- In SQL Trace, the first 2 (possibly more) times a cursor is parsed gets a library cache miss, subsequent parses do not:
You can see in the example that there are 2 library cache misses in this case followed by 2 "hits".Note that the Plan Hash Value is not necessarily the same (since the second hard parse may generate a new plan).
- Cardinality Feedback is enabled
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