70.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 EMPLOYEES table will be changed to read-only mode during the shrink operation.
B. The indexes created on the EMPLOYEES table will need to be rebuilt after the shrink operation is over.
C. The shrink behavior will be cascaded to all dependent segments of the table that support a shrink
operation.
D. Data manipulation language (DML) operations will not be possible on the EMPLOYEES table during
the COMPACTION phase of the shrink operation.
Answer: C
http://docs.oracle.com/cd/E11882_01/server.112/e25494/schema.htm#ADMIN12626
The
EXAMPLE tablespace:
ALTER TABLE employees SHRINK SPACE CASCADE;
Which statement is correct in this scenario?
A. The EMPLOYEES table will be changed to read-only mode during the shrink operation.
B. The indexes created on the EMPLOYEES table will need to be rebuilt after the shrink operation is over.
C. The shrink behavior will be cascaded to all dependent segments of the table that support a shrink
operation.
D. Data manipulation language (DML) operations will not be possible on the EMPLOYEES table during
the COMPACTION phase of the shrink operation.
Answer: C
http://docs.oracle.com/cd/E11882_01/server.112/e25494/schema.htm#ADMIN12626
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. (You need not specify
CASCADE
to shrink the partitions of a partitioned table.) To see a list of dependent segments of a given object, you can run the
OBJECT_DEPENDENT_SEGMENTS
procedure of the
DBMS_SPACE
package.