首页 > 其他分享 >12C rman备份占用大量TEMP ORA-01652: unable to extend temp segment

12C rman备份占用大量TEMP ORA-01652: unable to extend temp segment

时间:2022-12-02 09:55:55浏览次数:43  
标签:12C extend TEMP 01652 unable usage backup

APPLIES TO:

Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.

SYMPTOMS

RMAN backup may fail at the end of its completion complaining about the TEMP Tablespace usage being full.  

Finished Control File and SPFILE Autobackup at 22-MAR-20
ORA-00604: error occurred at recursive SQL level 1
ORA-01652: unable to extend temp segment by 64 in tablespace TEMP
RMAN-08132: warning: cannot update recovery area reclaimable file list
sql statement: alter system archive log current

 Even after increasing the Temp tablespace size, the TEMP usage is very High during the backup.

The backup may complete without failing on data files or archivelog files and the Errors may be encountered at the end of the backup.

CHANGES

none

CAUSE

 Setting optimizer_mode = ALL_ROWS can cause non-optimized usage Of Temp.

SOLUTION

If the OPTIMIZER_MODE for the database cannot be changed,  The RMAN Session can use it with the below change in the backup command / Script:     

 RMAN> sql "alter session set optimizer_mode=RULE";

 

标签:12C,extend,TEMP,01652,unable,usage,backup
From: https://www.cnblogs.com/muzisanshi/p/16943470.html

相关文章

  • mongoTemplate.findOne 执行流程
    org.springframework.data.mongodb.core.MongoTemplate#findOne(org.springframework.data.mongodb.core.query.Query,java.lang.Class<T>)org.springframework.data.mo......
  • SpringBoot使用restTemplate远程访问时报错
    错误场景SpringBoot使用restTemplate远程访问时报错java.lang.IllegalStateException:Noinstancesavailableforxxx解决方案这个报错一般会出现在使用了负载均衡,如:......
  • springboot消息之使用RabbitTemplate给rabbitmq发送和接收消息&序列化机制
    1-引入spring-boot-starter-amqp2-application.yml配置3-测试RabbitMQ  1--AmqpAdmin:管理组件  2--RabbitTemplate:消息发送处理组件======================......
  • Tempdb 不能收缩问题
    tempdbinitialsize和dbccshrinkfile在使用sqlserver时您可能遇到过下面的情况,tempdb的数据文件初始大小为3mb,随着对tempdb的使用,tempdb文件逐渐变得很大(例如30GB),导......
  • tempdb大量闩锁等待问题分析
    背景客户业务系统升级后,高峰期运行缓慢,在SQL专家云上看到数据库出现严重等待,需要分析原因并紧急处理。现象登录到SQL专家云中,进入实时可视化页面,在活动会话里面看到有......
  • temp
    #pod.spechostAliases:-ip:"10.1.2.3"hostnames:-"foo.com"-"bar.com"pod.pecshareProcessNamespace:truehostNetwork:truehostIPC:truehostPID:......
  • Ext Js中Ext.XTemplate使用方法学习
    1:基本知识    XTemplate是Ext.Template扩展的新类,它支持高级功能的模板类,如自动数组输出、条件判断、子模板、基本数学运行、特殊内建的模板变量,直接执行代码和更多的......
  • 子线程Handler.sendMessage 报错:Attempt to invoke virtual method 'boolean android.
    原因一:检查是否定义handler,需要定义handler来接受sendMessage发送的数据,具体代码如下:privateHandlerhandler;handler=newHandler(){@Override......
  • PyTorch Geometric Temporal 介绍 —— 数据结构和RGCN的概念
    IntroductionPyTorchGeometricTemporalisatemporalgraphneuralnetworkextensionlibraryforPyTorchGeometric.PyTorchGeometricTemporal是基于PyTorchGe......
  • Java基础——继承(Extends)
    使用extends(继承)有什么好处?使用继承可以实现代码的重用,通过继承,子类可以继承父类的成员变量及成员方法,同时子类也可以定义自己的成员变量和成员方法。届时,子类将具有父类......