Home Database Mysql Tutorial 一例冷备份恢复引起的ORACLE数据库频繁重启故障

一例冷备份恢复引起的ORACLE数据库频繁重启故障

Jun 07, 2016 pm 05:37 PM
oracle

环境:ORACLE11GR2+windows2012描述:客户还原冷备份后启动数据库,启动后大概30秒左右数据库无法操作,提示ORA-03113:通信通道的文件结尾解决,再次启动后经过

环境: ORACLE 11G R2+windows2012

描述: 客户还原冷备份后启动数据库,启动后大概30秒左右数据库无法操作,提示ORA-03113:通信通道的文件结尾解决,再次启动后经过30秒左右会再次无法操作。


处理过程:


1.进入操作系统,查看相关日志。

查看日志报错,发现ORA-00600: internal error code, arguments: [3005]

同时观察到DATA目录的undo表空间物理文件时间未发生变化,其他物理文件更新都已经成为最新时间。

于是对重做表空间物理文件进行重建操作

具体操作步骤如下:


sqlplus /nolog

SQL> conn /as sysdba;

SQL> startup mount;

SQL> --根据目前的动态参数文件创建静态参数文件

SQL> create pfile='D:\20130101.ora' from spfile;


#修改生成的20130101.ora文件


*.undo_management='MANUAL'

*._corrupted_rollback_segments=(_SYSSMU3$)

[oracle@DB ~]$ exit

SQL> --查看原undo表空间名

SQL> show parameter undo;

NAME         TYPE          VALUE

------------------------------------ --------------------------------- ------------------------------

undo_management        string          AUTO

undo_retention        integer          10800

undo_tablespace        string          UNDOTBS1

SQL> --关闭数据库

SQL> shutdown immediate;

SQL> --根据修改后的20130101.ora静态参数文件启动数据库

SQL> startup pfile='D:\20120101.ora'

SQL> --创建新的undo表空间


SQL> create undo tablespace UNDOTBS2 datafile '数据文件目录\undotbs01.dbf' size 2g;

SQL> --删除原undo表空间


SQL> drop tablespace UNDOTBS1 including contents and datafiles;

SQL> --修改新的表空间undotbs2名为undotbs1

SQL> alter tablespace UNDOTBS2 rename to UNDOTBS1;

SQL> --关闭数据库

SQL> shutdown immediate;

SQL> --再次启动数据库(问题解决)

SQL> startup;


数据库至此恢复正常,经过24个小时的运行,无任何问题,问题已经解决。

PS:估计客户在冷备份的时候拷贝的UNDO表空间物理文件受损或者在库没有完全停止的情况下拷贝,,造成文件受损,在没有UNDO表空间的情况库可以启动,但如果有数据修改就会发生写入UNDO表空间失败,数据连接断掉。

本文出自 “IT人的网络人生” 博客,请务必保留此出处

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

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Function to calculate the number of days between two dates in oracle Function to calculate the number of days between two dates in oracle May 08, 2024 pm 07:45 PM

Function to calculate the number of days between two dates in oracle

How long will Oracle database logs be kept? How long will Oracle database logs be kept? May 10, 2024 am 03:27 AM

How long will Oracle database logs be kept?

The order of the oracle database startup steps is The order of the oracle database startup steps is May 10, 2024 am 01:48 AM

The order of the oracle database startup steps is

How to use interval in oracle How to use interval in oracle May 08, 2024 pm 07:54 PM

How to use interval in oracle

How to determine whether two strings are contained in oracle How to determine whether two strings are contained in oracle May 08, 2024 pm 07:00 PM

How to determine whether two strings are contained in oracle

Oracle database server hardware configuration requirements Oracle database server hardware configuration requirements May 10, 2024 am 04:00 AM

Oracle database server hardware configuration requirements

How to see the number of occurrences of a certain character in Oracle How to see the number of occurrences of a certain character in Oracle May 09, 2024 pm 09:33 PM

How to see the number of occurrences of a certain character in Oracle

How much memory does oracle require? How much memory does oracle require? May 10, 2024 am 04:12 AM

How much memory does oracle require?

See all articles