Which statement is correct in this scenario following SQL statement to shrink the EMPLOYEES table segment?

You executed the following SQL statement to shrink the EMPLOYEES table segment stored in the EXAMPLE tablespace:
ALTER TABLE EMPLOYEES SHRINK SPACE CASCADE ;
Which statement is correct in this scenario?

You executed the following SQL statement to shrink the EMPLOYEES table segment stored in the EXAMPLE tablespace:
ALTER TABLE EMPLOYEES SHRINK SPACE CASCADE ;

Which statement is correct in this scenario?

A.
The data in the segment will be compacted but the high water mark will not be adjusted.

B.
The EMPLOYEES tablespace will be changed to read-only mode during the shrink operation.

C.
The indexes created on the EMPLOYEES table will need to be rebuilt after the shrink operation is over.

D.
The shrink behavior will be cascaded to all dependent segments of the table that support a shrink operation.

E.
Data manipulation language (DML) operations will not be possible on the EMPLOYEE table during the COMPACTION phase of the shrink operation.

Explanation:
The CASCADE clause extends the segment shrink operation to all dependent segments of the object. For example, if you specify CASCADE when shrinking a table segment, all indexes of the table will also be shrunk.

REF: Oracle 10g Administrator Guide 14-29



Leave a Reply 0

Your email address will not be published. Required fields are marked *