Troubleshooting ORA-30013 Error (Doc ID 1578717.1)

Troubleshooting ORA-30013 Error (Doc ID 1578717.1)

APPLIES TO:

Oracle Database - Enterprise Edition - Version 10.2.0.1 to 12.1.0.1 [Release 10.2 to 12.1]
Information in this document applies to any platform.

PURPOSE

This troubleshooting guide is for resolving ORA-30013 error reported .

本疑难解答指南用于解决报告的ORA-30013错误

The main purpose is to provide the Database Administrators an understanding of the issue and steps to resolve the same. It also provides you the diagnostic information to be collected before raising a Service Request with Oracle Support.

TROUBLESHOOTING STEPS

What is ORA-30013

ORA-30013 is the error reported when the specified Undo tablespace is in use. In otherwords, this implies there are some background processes still using the undo tablespace.

ORA-30013 是使用指定的undo表空间时报告的错误。换句话说,这意味着仍有一些后台进程仍在使用undo表空间

 This error can be reported in both space management or transaction management.  可以在空间管理或事务管理中报告此错误

 Error ORA-30013 reported while dropping the Undo tablespace.  删除Undo tablespace时报告错误ORA-30013

 In this case, the Undo tablespace is used by other active transactions , leading to the error. In such cases, we have to wait till the transactions are committed or rolled back before dropping the Undo tablespace. This situation is similar to that of the ORA-1548 case. Refer the document mentioned below for various scenarios where a pending transaction can hinder the drop operation.

在这种情况下,Undo表空间被其他活动事务使用,从而导致错误。在这种情况下,我们必须等到事务被提交或回滚后才能删除undo表空间。这种情况类似于ORA-1548的情况。请参阅下面提到的文档,了解在各种情况下挂起的事务可能会阻止放置操作。

 Master Note: Troubleshooting ORA-1548 error (Doc ID 1577988.1)      https://www.cnblogs.com/zylong-sys/p/11962414.html

 Error ORA-30013 reported while bringing up the database.  启动数据库时报告错误ORA-30013

 This happens for RAC databases while the undo tablespace mentioned for an instance is already in use. The solution will be to set separate Undo tablespace for all instances.

 对于实例提到的undo表空间已经在使用中的RAC数据库中,会发生这种情况。解决方案是为所有实例设置单独的Undo tablespace

 Since undo_tablespace is an instance local parameter, we have to ensure that the "Alter system set undo_tablespace" is being invoked on a different instance than the one on which the "Alter system" command was issued.

 由于undo_tablespace是实例的局部参数,因此我们必须确保在与发出 "Alter system" 命令的实例不同的实例上调用 "Alter system set undo_tablespace"

alter system set undo_tablespace= <undo tablespace name> sid='<instance name>'; 

Diagnostic Information to be Collected While Raising a Service Request.  提出服务请求时要收集的诊断信息

If the issue persists, please raise a Service Request with the following information

如果问题仍然存在,请提出带有以下信息的服务请求

a. Provide the complete error message reported along with the tracefiles generated. 

a. 提供报告的完整错误消息以及生成的跟踪文件

b. Provide the following outputs:  提供以下输出

Select segment_name,status,tablespace_name from dba_rollback_segs where status not in ('ONLINE','OFFLINE') ;

select KTUXEUSN, KTUXESLT, KTUXESQN, KTUXESTA, KTUXECFL, KTUXESIZ
from x$ktuxe
where KTUXESTA='ACTIVE' and KTUXECFL='DEAD';

SELECT LOCAL_TRAN_ID,GLOBAL_TRAN_ID,STATE,MIXED,COMMIT# FROM DBA_2PC_PENDING;

SELECT LOCAL_TRAN_ID,IN_OUT,DATABASE,INTERFACE FROM dba_2pc_neighbors;

show parameter undo

 

posted @ 2019-11-30 15:25  ZYLONG-SYS  阅读(564)  评论(0编辑  收藏  举报