Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Changing compression type on table

YoavJul 31 2012 — edited Jul 31 2012
Hi,

I need to change compression type on the table from BASIC to COMPRESS FOR QUERY.

I successeded to change it at the partition level :
alter table XYZ modify partition SYS_P44 compress for query ;
But also need to change compression type at table definition:

SQL> select def_compress_for
  2  from DBA_PART_TABLES
  3  where table_name='CM_CUST_DIM_INST_PROD'
  4  /

DEF_COMPRESS
------------
BASIC
Trying the following option raise an error.
alter table XYZ  modify DEFAULT ATTRIBUTES DEF_COMPRESS_FOR  compress for query;

ERROR at line 1:
ORA-14121: MODIFY DEFAULT ATTRIBUTES may not be combined with other operations
Please advice
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 28 2012
Added on Jul 31 2012
3 comments
816 views