--创建中转临时表空间
create temporary tablespace TEMP2 TEMPFILE '/u01/app/oracle/oradata/orcl/temp02.dbf' SIZE 512M REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED;
--改变缺省临时表空间 为刚刚创建的新临时表空间temp2
alter database default temporary tablespace TEMP2;
--删除原来临时表空间
drop tablespace TEMP including contents and datafiles;
--重新创建临时表空间
create temporary tablespace TEMP TEMPFILE '/u01/app/oracle/oradata/orcl/temp01.dbf' SIZE 512M REUSE AUTOEXTENDON NEXT 640K MAXSIZE UNLIMITED;
--重置缺省临时表空间为新建的temp表空间
alter database default temporary tablespace TEMP;
--删除中转用临时表空间
drop tablespace TEMP2 including contents and datafiles;
ORA-01652: unable to extend temp segment by 128 in tablespace TEMP01(解决方案)
最新推荐文章于 2022-05-16 20:36:55 发布
当遇到ORA-01652错误时,意味着在尝试扩展临时段时遇到了空间不足的问题。此问题通常发生在数据库操作过程中,如大表排序或大量数据的联接。解决方法包括增加表空间的大小、调整临时段大小或优化SQL查询以减少对临时空间的需求。
1万+

被折叠的 条评论
为什么被折叠?



