Gathering Session-specific Statistics on a Global Temporary Table Invalidates Cursors Based on Shared Statistics
(Doc ID 2209355.1)
Last updated on MARCH 03, 2022
Applies to:
Oracle Database - Enterprise Edition - Version 12.1.0.1 and laterOracle Database Cloud Schema 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
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
Symptoms
Gathering session statistics on a global temporary table (GTT) are immediately invalidating some dependent shared child cursors. This invalidation is unnecessary since these cursors will only be used by sessions using the (unchanged) shared stats.
This causes excess parsing, especially for cursors used to load the GTT prior to gathering session-specific stats.
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 |
Cause |
Solution |
References |