1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > oracle临时表空间释放

oracle临时表空间释放

时间:2020-04-01 07:08:22

相关推荐

oracle临时表空间释放

oracle数据库出现 ora-01652 temp表空间无法扩展时,可以通过

select c.tablespace_name,

c.bytes/1024/1024/1024 total_bytes,

(c.bytes-d.bytes_used)/1024/1024/1024 free_bytes,

d.bytes_used/1024/1024/1024 use_bytes

from

(select tablespace_name,sum(bytes) bytes

from dba_temp_files group by tablespace_name) c,

(select tablespace_name,sum(bytes_cached) bytes_used

from v$temp_extent_pool group by tablespace_name) d

where c.tablespace_name = d.tablespace_name

)

查看临时表空间使用的情况,若临时表空间无法自动扩展则更改临时表空间自动扩展,如自动扩展已至最大值,可通过

alter tablespace temp shrink space 命令释放临时表空间

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。