Oracle Database Administration I — Question 110

Examine this command:

SQL> ALTER TABLE ORDERS SHRINK SPACE COMPACT

Which two statements are true? (Choose two.)

Answer options

Correct answer: A, B

Explanation

Option A is correct because the SHRINK operation does indeed move rows to empty space starting from the beginning of the segment. Option B is also correct as DML statements and queries can be executed while the SHRINK operation is in progress. Options C and D are incorrect because dependent indexes do not necessarily become UNUSABLE and both DML and queries are allowed during the operation. Options E and F are incorrect as the high-water mark is adjusted, but rows are not moved towards the end of the segment.