2008年7月18日金曜日

ORA-25153 一時表領域が空のエラーになったとき・・・

以下を確認する。

1.デフォルトの一時表領域を確認
select property_name, property_value from database_properties;

2.一時表領域を変更したい場合に以下を実行
alter database default temporary tablespace temp;

3.ユーザの一時表領域が2で変更したテーブルスペースになっているか確認
select username, temporary_tablespace, account_status from dba_users;

4.不正なテーブルスペースがある場合、変更する
alter user sys temporary tablespace temp;