SEGMENT SHRINK and Details. (文件 ID 242090.1)
SEGMENT SHRINK and Details. (文件 ID 242090.1)
PURPOSE
========
In Oracle10g and onwards, we have the option to shrink a segment, which will help DBAs to manage the space in better way.
This feature also help for better performance for query.
SCOPE & APPLICATION
===================
Information on new Oracle10g feature.
Oracle 10g Segment shrink
=========================
Mandatory
=========
Init.ora parameter 'Compatible' must be >=10.0
Shrink operations can be performed only on segments in locally managed
tablespaces with automatic segment space management (ASSM).
How it works
============
1. Enable row movement for the table.
SQL> ALTER TABLE scott.emp ENABLE ROW MOVEMENT;
2. Shrink table but don't want to shrink HWM (High Water Mark).
SQL> ALTER TABLE scott.emp SHRINK SPACE COMPACT;
3. Shrink table and HWM too.
SQL> ALTER TABLE scott.emp SHRINK SPACE;
4. Shrink table and all dependent index too.
SQL> ALTER TABLE scott.emp SHRINK SPACE CASCADE;
5. Shrink table under MView.
SQL> ALTER TABLE 來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1432103/,如需轉載,請註明出處,否則將追究法律責任。
請登入後發表評論
登入
全部評論
最新文章
|
相關文章
- How to Shrink Undo Segment In Oracle DatabaseOracleDatabase
- Oracle OCP IZ0-053 Q432(Segment Shrink)Oracle
- Rollback Segment Configuration & Tips (文件 ID 69464.1)
- assm下oracle為什麼為segment提供了shrink功能SSMOracle
- 'enq HW - contention' For Busy LOB Segment (文件 ID 740075.1)ENQ
- HOW TO SHRINK A TABLE USING ONLINE REDEFINITION (文件 ID 1357878.1)
- oracle shrinkOracle
- oracle shrink tableOracle
- Oracle 10g Shrink Table - Shrink Space 收縮空間Oracle 10g
- vector::shrink_to_fit()
- CSS flex-shrinkCSSFlex
- vector shrink_to_fit
- Oracle Undo SegmentOracle
- segment tree beats
- 查詢user使用那些roll segment以及等待roll segment
- 使用apidoc文件神器,快速生成api文件API
- Shrink操作的注意事項
- shrink space的最佳實踐
- 7 、shrink table and its dependent segments
- Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details.PlatformAndroidAI
- 錯誤Error during artifact deployment. See server log for details.ErrorServerAI
- An error occurred while updating the entries. See the inner exception for details.ErrorWhileExceptionAI
- MPAndroidChart文件翻譯Android
- [Oracle Script] Rollback Segment UsageOracle
- greenplum擴充套件segment套件
- Oracle Segment AdvisorOracle
- Oracle-Segment space managementOracle
- block/extent/segment的理解BloC
- Oracle中shrink space命令詳解Oracle
- shrink 操作對索引的影響索引
- SQL Server 2000 shrink tempdbSQLServer
- table move 與 shrink 的區別
- 轉載-oracle Shrink命令的使用Oracle
- ALTER TABLE MOVE | SHRINK SPACE區別
- [Oracle] Shrink space & Table move比較Oracle
- shrink收縮檔案空間
- Mermaid語法文件AI
- ORACLE LOB SEGMENT常規管理Oracle