ITPub博客

首页 > Linux操作系统 > Linux操作系统 > oracle 10gR2版本对global_name更新为空会导致数据库启动不成功

oracle 10gR2版本对global_name更新为空会导致数据库启动不成功

原创 Linux操作系统 作者:paulyibinyi 时间:2010-09-11 12:23:23 0 删除 编辑

  以下为具体测试过程 10gR2版本

C:\Documents and Settings\Administrator>sqlplus "/as sysdba"

SQL*Plus: Release 10.2.0.1.0 - Production on 星期六 9月 11 12:11:22 2010

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

已连接到空闲例程。

SQL> startup
ORACLE 例程已经启动。

Total System Global Area  167772160 bytes
Fixed Size                  1247900 bytes
Variable Size              75498852 bytes
Database Buffers           88080384 bytes
Redo Buffers                2945024 bytes
数据库装载完毕。
数据库已经打开。
SQL> update global_name set global_name='';

已更新 1 行。

SQL> commit;

提交完成。

SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL>

SQL> startup
ORACLE 例程已经启动。

Total System Global Area  167772160 bytes
Fixed Size                  1247900 bytes
Variable Size              75498852 bytes
Database Buffers           88080384 bytes
Redo Buffers                2945024 bytes
数据库装载完毕。
ORA-01092: ORACLE 实例终止。强制断开连接

数据库日志记录以下内容:报ORA-00600 18062等错误
Database Characterset is ZHS16GBK
replication_dependency_tracking turned off (no async multimaster replication found)
Starting background process QMNC
QMNC started with pid=14, OS id=3520
Sat Sep 11 12:14:16 2010
Errors in file c:\oracle\product\10.2.0\admin\or\udump\or_ora_3508.trc:
ORA-00600: 内部错误代码, 参数: [18062], [], [], [], [], [], [], []

Sat Sep 11 12:14:22 2010
Errors in file c:\oracle\product\10.2.0\admin\or\udump\or_ora_3508.trc:
ORA-00600: 内部错误代码, 参数: [18062], [], [], [], [], [], [], []

Sat Sep 11 12:14:22 2010
Errors in file c:\oracle\product\10.2.0\admin\or\udump\or_ora_3508.trc:
ORA-00600: 内部错误代码, 参数: [18062], [], [], [], [], [], [], []

Sat Sep 11 12:14:22 2010
Error 600 happened during db open, shutting down database
USER: terminating instance due to error 600

Instance terminated by USER, pid = 3508
ORA-1092 signalled during: ALTER DATABASE OPEN...

而在oracle 9i版本中没这个问题

SQL_testdb>select * from props$;

rows will be truncated

NAME                           VALUE$

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

......省略显示部分内容

GLOBAL_DB_NAME                 TESTDB

......省略显示部分内容

NLS_RDBMS_VERSION              9.2.0.6.0

 

25 rows selected.

 

SQL_testdb>update global_name set global_name='';                                  

 

1 row updated.

 

SQL_testdb>commit;

 

Commit complete.

 

SQL_testdb>shutdown abort

ORACLE instance shut down.

 

SQL_testdb>startup pfile=/dras20/testdb/inittestdb.ora

ORACLE instance started.

 

Total System Global Area  504858456 bytes

Fixed Size                   743256 bytes

Variable Size             285212672 bytes

Database Buffers          218103808 bytes

Redo Buffers                 798720 bytes

Database mounted.

Database opened.


通过查metalink id为 743676.1  只对10gR2版本有影响

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.4 - Release: 10.2 to 10.2

要解决这个问题 只能靠备份来恢复,还有就是通过非常规方法来修复。

所以我们对global_name这个表不能做任何更改,否则后果很严重。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7199859/viewspace-673229/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
学习数据库

注册时间:2007-12-11

  • 博文量
    907
  • 访问量
    6894207