Why does the number of blocks for the table remain the sale after the shrink operation?
A.Because the table did not contain migrated or chained rows
B.Because the row IDs remain the same for all rows during the shrink operation
C.Because the progress of the shrink operation is not saved in the bitmap blocks of the table
D.Because the high-water mark (HWM) did not move due to the COMPACT option that is used in the shrink operation
A.Because the table did not contain migrated or chained rows
B.Because the row IDs remain the same for all rows during the shrink operation
C.Because the progress of the shrink operation is not saved in the bitmap blocks of the table
D.Because the high-water mark (HWM) did not move due to the COMPACT option that is used in the shrink operation
答案解析:
COMPACT
If you specify
COMPACT
, then Oracle Database only defragments the segment space and compacts the table rows for subsequent release. The database
does not readjust the high water mark and does not release the space immediately.
You must issue another
ALTER
TABLE
...
SHRINK
SPACE
statement later to complete the operation. This clause is useful if you want to accomplish the shrink operation in two shorter steps rather than one longer step.
选D。
本文详细解析了在数据库操作中,表格收缩后块数量为何仍保持不变的原因,主要关注于块数量不受迁移或链接行的影响、行ID在操作期间保持一致、操作进度未保存在位图块以及高水位标记(HWM)未因使用COMPACT选项而移动等关键点。
3万+

被折叠的 条评论
为什么被折叠?



