Query Consistently Hard Parses More than Once Initially then Soft Parses
(Doc ID 1555541.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 220.127.116.11 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!