OCP 1Z0 053 70

来源:互联网 发布:写作软件手机版 编辑:程序博客网 时间:2024/05/17 05:04
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 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.
0 0
原创粉丝点击