Skip to Main Content

SQL & PL/SQL

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!

compress table question

Kodiak_SeattleOct 26 2012 — edited Oct 26 2012
my question is simple:

If I execute this SQL:
ALTER TABLE some_table_name MOVE COMPRESS;
and the table is already compressed, will Oracle skip or spend time re-compressing ?

The reason why I am asking is because I have some nice PL/SQL that loops through all the tables
in my schema, I have about 1800 tables and it compresses them, but it takes a long time, hours
and I only would want to compress the Tables that aren't already compressed, if compressed, skip, so
that's why I am asking.... trying to determine if the PL/SQL needs a tweak or not :- )
This post has been answered by AlbertoFaenza on Oct 26 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 23 2012
Added on Oct 26 2012
9 comments
274 views