oracle导入报错ora01652,ORA-01652: 无法通过 128 (在表空间 TEMP 中) 扩展 temp 段(EXP-00056: 遇到 ORACLE 错误 1652 ORA-0165...

当遇到Oracle数据库错误ORA-01652时,可以通过重新配置temp表空间来解决。具体步骤包括创建新的临时表空间,设置为默认,删除旧的temp表空间,然后恢复旧的表空间并删除新表空间。这种方法有效地扩展了temp段。
摘要由CSDN通过智能技术生成

数据库报 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;

问题解决!

75ee0089603b7898908f28983ac95924.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值