Solved

Oracle Modify Partition vs Move Compress

Posted on 2016-07-30
2
45 Views
Last Modified: 2016-07-31
Dear Experts,

Could you please explain me what the difference is between:

alter table <table name> modify partition compress
and
alter table <table name> move partition compress ?

Best regards
0
Comment
Question by:GurcanK
2 Comments
 
LVL 73

Accepted Solution

by:
sdstuber earned 250 total points
ID: 41735903
when used with no other options, as you have shown, the two should be identical in functionality.

the reason the two statements exist is that each "can" do other things.

for example:
"modify" can change the inmemory or logging settings
"move" is used to move a partition to a new tablespace.

if you don't do anything other than compress, then either statement will do the same thing.
0
 
LVL 142

Assisted Solution

by:Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3] earned 250 total points
ID: 41735908
no points for me:
both will invalidate global indexes ( unless you also specify to rebuild them), and require the space for the uncompressed and the compressed blocks.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now