My Oracle Support Banner

How to Gather Optimizer Statistics for an ON COMMIT DELETE ROWS Temporary Table (Doc ID 403587.1)

Last updated on NOVEMBER 26, 2019

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 9.0.1 to 10.2]
Information in this document applies to any platform.
This problem can occur on any platform.

Note: Gathering table stats for a GLOBAL TEMPORARY TABLE is possible from 11.2 onwards.


Optimizer statistics cannot be gathered for ON COMMIT DELETE ROWS global temporary tables.

Such statistics, reflecting a representative volume of data from such a table, may often be needed in order to get good execution plans. The Optimizer Dynamic Sampling feature may not always suffice for this requirement.


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.