我的網誌清單

20110504

DB-05 Tablespace & Reorg

1.Tablespace

TBS name

Meaning

psaptemp

Temp tablespace

Psapsr3

Tablespace for all SAP objects and tables of the ABAP world

Psapsr3usr

Tablespace for customer-specifics object and tables

Psapsr3700

Tablesapce for all release-dependent objects and data of the ABAP world

2. Reorg
2.1 Reorg其實就是為了提高效能或是增間空間, 因為資料的新增刪除導致磁碟空間的破碎, 進而影响到了資料讀取效能問題
2.2 其原理為建一個新的tbs, 然后將相關table及index移到新tbs上, 刪掉舊的tbs即可; 若為了維持一致性, 可以再重建和舊的tbs名稱一樣的tbs, 然后再將相關物件搬回來
2.3 基本上reorg可以用Oracle本身的sql或package on-line 或off-line做,但是SAP還是建議用他的BR*TOOLS去做(即BRSPACE), 因為相關的tbs/datafile的名稱變更, SAP系統才會有記錄

沒有留言:

張貼留言