Oracle OCP 1Z0 053 Q96(Shrink Space Compact)
96.Examine the following command:
SQL> ALTER TABLE booking SHRINK SPACE COMPACT;
Which activity is performed when the preceding command is executed?
A. The shrink operation touches every block in the BOOKING table
B. The high-water mark (HWM) for the BOOKING table is shifted from its original position
C. The progress of the shrink operation is saved in the bitmap blocks of the BOOKING table
D. The data manipulation language (DML) triggers on the BOOKING table are executed because the
shrink operation is internally handled by the INSERT/DELETE operation
Answer: C
compact不會做釋放高水位的動作
如果有長時間執行的查詢,而且這些查詢可能跨越收縮操作,並嘗試從已回收的塊中讀取資料,則COMPACT子句會很有用。指定SHRINK SPACE COMPACT子句時,收縮操作的進度將儲存在相應段的點陣圖塊中。這意味著下次在同一個段上執行收縮操作時,Oracle DB Server 可以記住已經執行過的操作。然後你就可以在非峰值時段重新發出SHRINK SPACE子句,無需使用COMPACT子句即可完成第二階段
參考:http://blog.csdn.net/jgmydsai/article/details/37350269
http://blog.csdn.net/rlhua/article/details/13431595
SQL> ALTER TABLE booking SHRINK SPACE COMPACT;
Which activity is performed when the preceding command is executed?
A. The shrink operation touches every block in the BOOKING table
B. The high-water mark (HWM) for the BOOKING table is shifted from its original position
C. The progress of the shrink operation is saved in the bitmap blocks of the BOOKING table
D. The data manipulation language (DML) triggers on the BOOKING table are executed because the
shrink operation is internally handled by the INSERT/DELETE operation
Answer: C
compact不會做釋放高水位的動作
如果有長時間執行的查詢,而且這些查詢可能跨越收縮操作,並嘗試從已回收的塊中讀取資料,則COMPACT子句會很有用。指定SHRINK SPACE COMPACT子句時,收縮操作的進度將儲存在相應段的點陣圖塊中。這意味著下次在同一個段上執行收縮操作時,Oracle DB Server 可以記住已經執行過的操作。然後你就可以在非峰值時段重新發出SHRINK SPACE子句,無需使用COMPACT子句即可完成第二階段
參考:http://blog.csdn.net/jgmydsai/article/details/37350269
http://blog.csdn.net/rlhua/article/details/13431595
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/8520577/viewspace-2073842/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- oracle 10g__alter table shrink space compactOracle 10g
- Oracle OCP 1Z0 053 Q9(DBMS_SPACE.SPACE_USAGE)Oracle
- Oracle IZ0-053 Q277(Table shrink space)Oracle
- Oracle OCP IZ0-053 Q432(Segment Shrink)Oracle
- Oracle OCP 1Z0 053 Q650Oracle
- Oracle OCP 1Z0 053 Q324Oracle
- Oracle OCP 1Z0 053 Q27Oracle
- Oracle OCP 1Z0 053 Q49Oracle
- Oracle OCP 1Z0 053 Q10Oracle
- Oracle OCP 1Z0 053 Q685Oracle
- Oracle OCP 1Z0 053 Q454Oracle
- Oracle OCP 1Z0 053 Q500Oracle
- Oracle OCP 1Z0 053 Q444(Scheduler)Oracle
- Oracle OCP 1Z0 053 Q440(Scheduler)Oracle
- Oracle OCP 1Z0 053 Q601Oracle
- Oracle OCP 1Z0 053 Q472(Locale)Oracle
- Oracle OCP 1Z0 053 Q525(ASM)OracleASM
- Oracle OCP 1Z0 053 Q292(NFS)OracleNFS
- Oracle OCP 1Z0 053 Q538(ASM)OracleASM
- Oracle OCP 1Z0 053 Q416Oracle
- Oracle OCP 1Z0 053 Q648(Flashback)Oracle
- Oracle OCP 1Z0 053 Q520Oracle
- Oracle OCP 1Z0 053 Q607Oracle
- Oracle OCP 1Z0 053 Q500(Rman)Oracle
- Oracle OCP 1Z0 053 Q707Oracle
- Oracle OCP 1Z0 053 Q28(INCREMENTAL)OracleREM
- Oracle OCP 1Z0 053 Q332Oracle
- Oracle OCP 1Z0 053 Q269Oracle
- oracle10g_alter table shrink space_compact_cascade回收空間測試(一)Oracle
- Oracle中shrink space命令詳解Oracle
- [Oracle] Shrink space & Table move比較Oracle
- Oracle OCP 1Z0 053 Q83(Flashback Database)OracleDatabase
- Oracle OCP 1Z0 053 Q344(V$SESSION)OracleSession
- Oracle OCP 1Z0 053 Q558(V$BACKUP)Oracle
- Oracle OCP 1Z0 053 Q427(Transportable Tablespace)Oracle
- Oracle OCP 1Z0 053 Q182(RMAN)Oracle
- Oracle OCP 1Z0 053 Q428(transport database)OracleDatabase
- Oracle OCP 1Z0 053 Q458(Globalization NLSRTL)Oracle