暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

Oracle数据库的启动——RMAN的缺省实例

原创 eygle 2019-12-19
705

RMAN的缺省实例

在使用RMAN(Recovery Manager)时存在更为特殊的情况,Oracle允许在不存在参数文件的情况下启动一个实例,数据库的db_name会被缺省的命名为DUMMY,这是最为极端的情况,在某些恢复过程中,这个功能可以帮助我们减少很多麻烦:

[oracle@jumper dbs]$ rman target /
Recovery Manager: Release 9.2.0.4.0 - Production
Copyright (c) 1995, 2002, Oracle Corporation.  All rights reserved.
connected to target database (not started)
RMAN> startup  nomount;
startup failed: ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/opt/oracle/product/9.2.0/dbs/initconner.ora'
trying to start the Oracle instance without parameter files ...
Oracle instance started
Total System Global Area      97588504 bytes
Fixed Size                      451864 bytes
Variable Size                 46137344 bytes
Database Buffers              50331648 bytes
Redo Buffers                    667648 bytes

RMAN> host ;
[oracle@jumper dbs]$ sqlplus "/ as sysdba"
SQL*Plus: Release 9.2.0.4.0 - Production on Tue Mar 12 14:17:07 2006
Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
SQL> show parameter db_name
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
db_name                              string      DUMMY

此时警告日志文件中会记录如下信息:

Starting up ORACLE RDBMS Version: 9.2.0.4.0.
System parameters with non-default values:
  remote_login_passwordfile= EXCLUSIVE
  db_name                  = DUMMY
PMON started with pid=2
DBW0 started with pid=3
……

总结一下,数据库的Nomount过程实质上就是在创建实例,这个步骤只和参数文件相关,在完成实例的创建之后,Oracle就可以逐步导航,完成数据库的加载,打开等工作。

最后修改时间:2019-12-19 18:00:59
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论