ORA-1562 and ORA-1650 Unable to Extend Rollback Segment (Doc ID 1066542.6)
ORA-1562 and ORA-1650 Unable to Extend Rollback Segment (Doc ID 1066542.6)
APPLIES TO:
Oracle Database - Enterprise Edition - Version 8.0.3.0 and later
Oracle Solaris on SPARC (32-bit)
SYMPTOMS
You are working with the database that is using Rollback Segments (ie not using automatic undo) and you encounter ora-1562.
您正在使用回滚段的数据库(即未使用自动撤消),并且遇到了ora-1562
Text: "failed to extend rollback segment number %s"
------------------------------------------------------------------------
Cause: Failure occurred when trying to extend rollback segment
Action: This is normally followed by another error message that caused the failure.
You may take the rollback segment offline to perform maintenance.
Use the alter rollback segment offline command to take the rollback segment offline.
The 0RA-1562 is often followed by another error which indicates the cause of the failure.
通常在0RA-1562后面跟随另一个错误,该错误指示失败的原因
For example, ORA-1650.
Text: unable to extend rollback segment <name> by <num> in tablespace <name>
-------------------------------------------------------------------------------
Cause: Failed to allocate extent for the rollback segment in tablespace.
Action: Use the ALTER TABLESPACE ADD DATAFILE statement to add one or more files to the specified tablespace.
CAUSE
Tablespace does not have sufficient contiguous space to allow for the extension of the rollback/Undo segment.
表空间没有足够的连续空间,无法扩展 rollback/Undo 段
The failure to extend error is raised when the next extent size is greater than the largest contiguous space.
当下一个扩展区大小大于最大连续空间时,将引发扩展错误失败
This error is only generated if, at the time the object tried to extend, there was not enough available contiguous space
仅当在尝试扩展对象时没有足够的可用连续空间时才会生成此错误
SOLUTION
Obtain the information necessary to address this issue. 获取解决此问题所需的信息
For the ORA-1650:
select max(bytes) from dba_free_space where tablespace_name = <tablespace name>;
The above query returns the largest available contiguous chunk of space. 上面的查询返回最大的可用连续块
Select next_extent, pct_increase from dba_rollback_segs where segment_name = <rollback segment name>;
The pct_increase is 0 by default. 默认情况下,pct_increase为0
There are several options for solving the failure to extend a rollback segment.
有几种方法可以解决无法扩展回滚段的问题
1. Ask users to commit their transactions to free space in the rollback segment
1. 要求用户将事务提交到回滚段中的可用空间
2. Manually coalesce adjacent free extents. The extents must be adjacent for this to work.
2. 手动合并相邻的自由扩展区。这些范围必须相邻才能正常工作。
Alter tablespace <tablespace name> coalesce;
3. Add a datafile.
Alter tablespace <tablespace name> add datafile <full path and file name> size <integer> <K|M>;
4. Resize the datafile.
Alter database datafile <full path and file name> resize <integer> <K|M>;
In case of Manual Mode, "SET TRANSACTION USER ROLLBACK SEGMENT" may be attempted to force the use of a large rollback segment for a large transactions to try to overcome the ORA-1562.
在手动模式下,可以尝试使用 "SET TRANSACTION USER ROLLBACK SEGMENT" 来强制对大型事务使用较大的回滚段,以尝试克服ORA-1562。
User transactions are recorded in the rollback segment. The transaction remains open in the rollback segment until the user commits the changes.
用户事务记录在回滚段中。事务在回滚段中保持打开状态,直到用户提交更改为止。
If the user does not commit the changes, other users' transactions will eventually wrap around the rollback segment and "bump into" the open transaction.
如果用户不提交更改,则其他用户的事务最终将环绕回滚段并“弹出”未完成的事务。
At this point any new transactions will attempt to grab a new extent for the rollback segment.
在这一点上,任何新的事务都将尝试为回滚段获取新的范围。
If you tried using "set transaction use rollback segment" and received and unable to extend error, as a workaround take all other rollback segments offline.
如果您尝试使用 "set transaction use rollback segment" 并且收到了并且无法扩展错误,则作为一种解决方法,请使所有其他回滚段offline。
SET TRANSACTION USE ROLLBACK SEGMENT won't force DDL to use a particular rollback segment.
SET TRANSACTION USE ROLLBACK SEGMENT不会强制DDL使用特定的回滚段。
It's only effective on DML.
仅对DML有效
All DDL begins with an implicit COMMIT.
所有DDL都以隐式COMMIT开头
If you issue the SET TRANSACTION command, followed directly by DDL, the DDL will end the previous transaction as its first action.
如果您发出SET TRANSACTION命令,然后直接跟随DDL,则DDL将结束上一个事务作为其第一个操作
You cannot direct Oracle to use a specific rollback segment for DDL, only for DML.
您不能指示Oracle对DDL使用特定的回滚段,而仅对DML使用
REFERENCES
NOTE:1025288.6 - Troubleshooting Guide - 'Unable to Extend / Create' Errors
ORA-1562 and ORA-1650 Unable to Extend Rollback Segment (Doc ID 1066542.6)的更多相关文章
- Troubleshooting ORA-30036 - Unable To Extend Undo Tablespace (Doc ID 460481.1)
		Troubleshooting ORA-30036 - Unable To Extend Undo Tablespace (Doc ID 460481.1) APPLIES TO: Oracle Da ... 
- ORA-1652: unable to extend temp segment by 128 in tablespace xxx Troubleshootin
		当收到告警信息ORA-01652: unable to extend temp segment by 128 in tablespace xxxx 时,如何Troubleshooting ORA-16 ... 
- Oracle表空间不足;查询表空间使用率(unable to extend lob segment  SYS_LOB0000076749C00006$$ by 8192 in tablespace USERS)
		查询表空间对应地址 *),) total_space from dba_data_files order by tablespace_name; //方案一:修改表空间大小(32000可改为想要的数值 ... 
- ORA-01652: 无法通过 128 (在表空间 TEMP 中) 扩展 temp 段(EXP-00056: 遇到 ORACLE 错误 1652 ORA-01652: unable to extend temp segment by 128 in tablespace TEMP)
		数据库报 ORA-01652: 无法通过 128 (在表空间 TEMP 中) 扩展 temp 段 两种解决方式: 第一种) sql>select * from v$tempfile; 发现tem ... 
- ORA-1653: unable to extend table SYS.AUD$
		今早运维组的同事反映有个系统功能很多地方都报错,怀疑是不是数据库有什么问题.于是登录数据库检查,通过crsctl status res -t检查,发现所有集群资源都是OK的,没有哪个资源挂掉了.于是到 ... 
- 真心崩溃了,oracle安装完成后居然没有tnsnames.ora和listener.ora文件
		problem: oracle 11 r2 64位安装完成后NETWORK/ADMIN目录下居然没有tnsnames.ora和listener.ora文件 solution: 问题是之前安装了另 ... 
- ora-01653: unable to extend table sys.aud$ by 8192 in tablespac system[转载]
		在用sqlplus user/password@truth登录数据库时报如下错误:ORA-00604: error occurred at recursive SQL level 1ORA-01653 ... 
- ORACLE ORA-01653: unable to extend table 的错误
		ORACLE ORA-01653: unable to extend table 的错误 今天用PL SQL Developer往oracle数据库中导入数据时,突然报错,只能终止,错误的具体内容如下 ... 
- oracle中的listener.ora和tnsnames.ora
		一.oracle的客户端与服务器端 oracle在安装完成后服务器和客户端都需要进行网络配置才能实现网络连接. 服务器端配置监听器,客户端配置网络服务名. 服务器端可配置一个或多个监听程序 . ... 
随机推荐
- linux下unzip解压报错“symlink error: File name too long”怎么办?提供解决方案。
			点击上方↑↑↑蓝字[协议分析与还原]关注我们 " 分享unzip工具的一个bug." 最近在研究菠菜站,中间用到了Spidermonkey,碰到一些小波折,在这里分享出来,以便大家 ... 
- 面向对象~~类的成员: 私有成员,公有成员, 实例方法, 类方法, 静态方法, 属性(property), isinstance ,issubclass, 元类(type)
			一 私有成员公有成员 公有成员: 在任何地方都能访问 私有成员: 只有在类的内部才能访问 类从加载时,只要遇到类中的私有成员,都会在私有成员前面加上_类名 二 实例方法 实例方法就是类的实例能够使用的 ... 
- 【论文阅读】Second-order Attention Network for Single Image Super-Resolution
			概要 近年来,深度卷积神经网络(CNNs)在单一图像超分辨率(SISR)中进行了广泛的探索,并获得了卓越的性能.但是,大多数现有的基于CNN的SISR方法主要聚焦于更宽或更深的体系结构设计上,而忽略了 ... 
- React 创建一个自动跟新时间的组件
			componentDidMount声明周期函数 表示组件渲染完成后 componentWillUnmount声明周期函数 组件将要卸载 通常用于(为了防止内存泄漏 清除定时器) 11==>创建组 ... 
- Intellj IDEA 快捷键冲突
			Intellij IDEA快捷键冲突 [问题描述]: ctr + alt + 方向键 与系统的快捷键冲突,按快捷键,屏幕方向发生改变. [解决办法]: ctr + alt + F12 调用出Intel ... 
- flask中的endpoint、自定义转化器、与djnago中session区别、利用装饰器实现登录认证
			flask路由中的endpoint 与自定义转化器 ''' endpoint主要用于 反向解析, 例如:login函数中配的路由是/login,其中endpoint='lg' 则在其他函数,可以用 u ... 
- Go module的两个代理源和设置方法
			Go module的两个代理源 阿里云 https://mirrors.aliyun.com/goproxy/ 使用帮助 1.使用go1.11以上版本并开启go module机制 2.导出GOPROX ... 
- golang数据结构之用循环链表解决约瑟夫环问题
			josephu.go package link import ( "fmt" ) type Kid struct { ID int next *Kid } func AddKid( ... 
- python的__future__模块
			一.概述 Python的每个新版本都会增加一些新的功能,或者对原来的功能作一些改动.有些改动是不兼容旧版本的,也就是在当前版本运行正常的代码,到下一个版本运行就可能不正常了.从Python 2.7到P ... 
- git分支合并创建切换
			1. 场景描述 介绍下Git最新内容合并到主干.从主干创建最新分支.idea下切换最新分支,能在2分钟内完成git合并.分支创建以及在idea中完成切换,希望能帮到一些朋友. 2. 解决方案 从以下三 ... 
