1Z0-067 · Question #70
You want to reduce fragmentation and reclaim unused space for the sales table but not its dependent objects. During this operation, you want to ensure the following: i.Long-running queries are not…
The correct answer is C. SHRINK SPACE COMPACT. https://docs.oracle.com/cd/B28359_01/server.111/b28310/schema003.htm The COMPACT clause lets you divide the shrink segment operation into two phases. When you specify COMPACT, Oracle Database defragments the segment space and compacts the table rows but postpones the resetting…
Question
Options
- ADEALLOCATE UNUSED
- BSHRINK SPACE CASCADE
- CSHRINK SPACE COMPACT
- DROW STORE COMPRESSBASIC
How the community answered
(34 responses)- A15% (5)
- B6% (2)
- C76% (26)
- D3% (1)
Explanation
https://docs.oracle.com/cd/B28359_01/server.111/b28310/schema003.htm The COMPACT clause lets you divide the shrink segment operation into two phases. When you specify COMPACT, Oracle Database defragments the segment space and compacts the table rows but postpones the resetting of the high water mark and the deallocation of the space until a future time. This option is useful if you have long-running queries that might span the operation and attempt to read from blocks that have been reclaimed. The defragmentation and compaction results are saved to disk, so the data movement does not have to be redone during the second phase. You can reissue the SHRINK SPACE clause without the COMPACT clause during off- peak hours to complete the second phase.
Topics
Community Discussion
No community discussion yet for this question.