Gathering Session-specific Statistics on a Global Temporary Table Invalidates Cursors Based on Shared Statistics (Doc ID 2209355.1)

Last updated on JANUARY 10, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 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

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