My Oracle Support Banner

How to Estimate Compression Ratio of all the Indexes of a Table in 12c? (Doc ID 1957911.1)

Last updated on NOVEMBER 07, 2023

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.2 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 Backup Service - Version N/A and later
Information in this document applies to any platform.

Goal

How to get compression ratio of all the indexes of a table in 12c? The argument passed should be just the 'table name', and it should give compression ratio for all the indexes associated.

Oracle Documentation Database PL/SQL Packages and Types Reference does not give clear example of how to get compression ratio for all indexes on a table in 12c. The compression ratios should be returned as a collection.

Solution

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
Goal
Solution
References


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