My Oracle Support Banner

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

Last updated on NOVEMBER 07, 2023

Applies to:

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


 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.


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
 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)

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