数据库报 ORA-01652: 无法通过 128 (在表空间 TEMP 中) 扩展 temp 段
两种解决方式:
第一种)
sql>select * from v$tempfile;
发现temp01.dbf已经31G
决定清空temp表空间
步骤:
1、create temporary tablespace TEMP2 TEMPFILE '/X/temp02.dbf' SIZE 2048M ;
2、alter database default temporary tablespace TEMP2;
3、drop tablespace TEMP including contents and datafiles;
4、create temporary tablespace TEMP TEMPFILE '/X/temp01.dbf' SIZE 2048M REUSE
AUTOEXTEND on MAXSIZE 10240M;
5、alter database default temporary tablespace TEMP;
6、drop tablespace TEMP2 including contents and datafiles;
问题解决!