Home > Database > Mysql Tutorial > Oracle 11gR2单实例转换RAC

Oracle 11gR2单实例转换RAC

WBOY
Release: 2016-06-07 15:24:57
Original
1128 people have browsed it

环境信息: RDBMS 11.2.0.3.8 OS AIX6.1 Symptoms 在做11gR2单实例转换为RAC的过程中,出现ORA-25152错误 Cause ORA-25152: TEMPFILE cannot be dropped at this time。发生该错误的原因是,rconfig在转换RAC过程中,会DROP当前TEMP表空间。当前数据库TEMP表

环境信息:

RDBMS 11.2.0.3.8

OS         AIX6.1

Symptoms

在做11gR2单实例转换为RAC的过程中,出现ORA-25152错误

Cause

ORA-25152: TEMPFILE cannot be dropped at this time。发生该错误的原因是,rconfig在转换RAC过程中,会DROP当前TEMP表空间。当前数据库TEMP表空间正在被使用就会导致ORA-25152,tempfile无法被删除的错误。这也是Oracle的一个bug:Bug 13912880 - RCONFIG FAILS WITH SQLFATALERROREXCEPTION: ORA-25152: TEMPFILE CANNOT BE DROPPED (Doc ID 13912880.8)

Solution

关闭当前RAC实例,重新启动源数据库,删除源数据库中tempfile

ALTER DATABASE TEMPFILE '/data01/temp01.dbf' DROP INCLUDING DATAFILES;

或者将tempfile全部致为offline状态

alter database tablespace temp tempfile '/data01/temp01.dbf' offline;

然后再运行rconfig进行转换。

 

在rconfig时出现该错误,不知道大家还有没有别的更好的方法?

 

 

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template