Gathering Session-specific Statistics on a Global Temporary Table Invalidates Cursors Based on Shared Statistics
(Doc ID 2209355.1)
Last updated on MAY 19, 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 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.
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.
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