SQL>create temporary tablespace temp2
2 tempfile '/home/oracle/oracle/product/10.2.0/oradata/hatest/temp02.pdf' size 512M reuse
3 autoextend on next 640k maxsize unlimited
Tablespace created.
SQL>alter database default temporary tablespace temp2
Database altered.
SQL>drop tablespace temp including contents and datafiles
Tablespace dropped.
(注意:由于临时表空间的数据文件比较大,所以这步可能会花费比较长的时间)
SQL>create temporary tablespace temp
2 tempfile '/home/oracle/oracle/product/10.2.0/oradata/hatest/temp01.pdf' size 512M reuse
3 autoextend on next 640K maxsize unlimited
Tablespace created.
SQL>alter database default temporary tablespace temp
Database altered.
SQL>drop tablespace temp2 including contents and datafiles
Tablespace dropped.
SQL>exit
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)