Query Consistently Hard Parses More than Once Initially then Soft Parses
Last updated on APRIL 29, 2015
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 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
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms