2.create temporary tablespace TEMP2 TEMPFILE '/home2/oracle/oradata/sysmon/temp02.dbf' SIZE 512M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED; --鍒涘緩涓漿涓存椂琛ㄧ┖闂?/p>
3.alter database default temporary tablespace temp2;--鏀瑰彉緙虹渷涓存椂琛ㄧ┖闂?涓哄垰鍒氬垱寤虹殑鏂頒復(fù)鏃惰〃絀洪棿temp2
4.drop tablespace temp including contents and datafiles;--鍒犻櫎鍘熸潵涓存椂琛ㄧ┖闂?/p>
5.create temporary tablespace TEMP TEMPFILE '/home2/oracle/oradata/sysmon/temp01.dbf' SIZE 512M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED; --閲嶆柊鍒涘緩涓存椂琛ㄧ┖闂?/p>
6.alter database default temporary tablespace temp;--閲嶇疆緙虹渷涓存椂琛ㄧ┖闂翠負(fù)鏂板緩鐨則emp琛ㄧ┖闂?/p>
7.drop tablespace temp2 including contents and datafiles;--鍒犻櫎涓漿鐢ㄤ復(fù)鏃惰〃絀洪棿
8.alter user roll temporary tablespace temp; --閲嶆柊鎸囧畾鐢ㄦ埛琛ㄧ┖闂翠負(fù)閲嶅緩鐨勪復(fù)鏃惰〃絀洪棿