QuestionQ125

VerifiedManaging Storage

Examine the following command:

SQL> ALTER TABLE ORDERS SHRINK SPACE COMPACT  

Which two statements are true?

Choose two
Explanation

SHRINK SPACE COMPACT compacts a segment by moving rows into available free space from the beginning of the segment, while allowing queries and DML during the data-movement phase. The COMPACT option does not adjust the high-water mark; a subsequent SHRINK SPACE operation is required to complete that step. Oracle Database SQL Language Reference: ALTER TABLE Oracle Database Administrator’s Guide: Managing Space for Schema Objects

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!