My Oracle Support Banner

How to Set Compression for Future Table Partitions (Doc ID 1984916.1)

Last updated on AUGUST 04, 2018

Applies to:

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

Goal

 Use this note to see how to add compression to a partitioned table such that future partitions will be compressed.   This note uses an interval-partitioned table as the example, but this applies to any type of table compression with a partitioned table, including basic compression.

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
 1.  Specify table-level compression in the CREATE TABLE statement 
 2.  Alter the default attributes of the table after the table has been created (affects future partitions only)
References

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