ITPub博客

首页 > 数据库 > Oracle > 临时表空间达到几十G,执行SQL语句报错解决

临时表空间达到几十G,执行SQL语句报错解决

原创 Oracle 作者:sky850623 时间:2014-11-05 17:31:06 0 删除 编辑
最近开发人员反应执行SQL语句时报以下错误:

查了下是临时表空间达到了32g
解决办法:
1. 创建一个新的临时表空间
create temporary tablespace temp2 tempfile '/app/oradata/temp02.dbf' size 4096M autoextend on next 640k;
2.把默认临时表空间改为temp2
alter database default temporary tablespace temp2
3.删除旧的临时表空间
drop tablespace temp including contents and datafiles;

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26937943/viewspace-1321609/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2013-05-30

  • 博文量
    154
  • 访问量
    515367