Oracle
1Z0-034 · Question #58
SQL> SELECT blocks FROM user_segments WHERE segment_name=,ALTBT; BLOCKS ---------------- SQL> ALTER TABLE altb SHRINK SPACE COMPACT; Table altered. SQL> SELECT blocks FROM user_segments WHERE…
The correct answer is D. because the high-water mark (HWM) did not move due to the compact option that is used in the. See the full explanation below for the reasoning.
Question
SQL> SELECT blocks FROM user_segments WHERE segment_name=,ALTBT; BLOCKS ---------------- SQL> ALTER TABLE altb SHRINK SPACE COMPACT; Table altered. SQL> SELECT blocks FROM user_segments WHERE segment_name=ALTB; BLOCKS ------------------------- View the Exhibit and examine the output and commands executed on the ALTB table. Why does the number of blocks for the table remain the same after the shrink operation?
Options
- Abecause the table did not contain migrated or chained rows
- Bbecause the row IDs remain the same for all rows during the shrink operation
- Cbecause the progress of the shrink operation is not saved in the bitmap blocks of the table
- Dbecause the high-water mark (HWM) did not move due to the compact option that is used in the
How the community answered
(15 responses)- A7% (1)
- B7% (1)
- C13% (2)
- D73% (11)
Community Discussion
No community discussion yet for this question.