表領域の追加


alter tablespaceで表領域にファイルを追加することができる。


表領域「USERS」にデータファイルを追加する例

alter tablespace USERS add
 datafile 'D:\oradata\USERS02.dbf' size 1000M;

表領域は以下のビューで確認できる

select a.name, b.name
 from v$datafile a, v$tablespace b where a.ts# = b.ts#;


動作確認環境:oracle 8i