How to Locate the Optimizer Statistics for a Partitioned Table or Index

(Doc ID 2080521.1)

Last updated on NOVEMBER 16, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.

Goal

This document explains how to locate optimizer statistics for a partitioned table or index within the data dictionary.

Since a given data dictionary view only contains information on one type of statistic, it can be difficult to locate optimizer statistics information across all the various data dictionary views.  The cost-based optimizer, as input, uses statistics on tables, (sub)partitions, columns, and indices.

When dealing with a partitioned table, it is also important to understand what type of physical segments are created (i.e., the segment actually consumes physical space on disk), and what other types are merely logical in nature.

Please be aware that optimizer statistics stored within the data dictionary on partitioned tables will include some rows which represent a segment, and others which represent only a logical entity.  However, the fact that the stats do not represent a space-consuming item does not make them any less valuable to the cost-based optimizer.

Solution

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