看到临时表空间已增长到了7G,通食了大量的硬盘空间,
现要把硬盘空间释放出来.
删除以前的临时表空间,并建立新的临时表空间.
1.create temporary tablespace TEMP2 TEMPFILE '/u01/oracle/oradata/orcl/temp02.dbf' SIZE 512M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;
建立一个新的临时表空间.
2.alter database default temporary tablespace temp2;
设置为默认临时表空间.
3.drop tablespace temp including contents and datafiles;
删除以前的临时表空间.