​http://inthirties.com:90/thread-1265-1-1.html​



有这样的情况,明明数据库启动了,但是rman备份spfile的失败。

原因是数据库没有spfile,不信邪,在dbs目录下查了查,明明有spfile。

但是show parameter spfile.始终是没有结果的。

这里有可能导致的原因是spfile已经损坏了。所以有spfile。不见得用的上,

如果spfile已经损坏的话,如果存在着initSID的pfile,这时oracle是会从pfile偷偷的启动的,而不会提示你的 spfile有问题。

所以也就造成了上面的spfile还在用,但是有提示不存在的假象,起始spfile在,但是更不在使用。

这里Oracle有个小小的玩笑,如果spfile是空白的,这时候,却会直接提示错误。

比如
[oracle@dxzq10 admin]$ touch /u01/oracle/product/10.2.0.1/db_1/dbs/spfilesample.ora
[oracle@dxzq10 admin]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on Fri Mar 19 14:52:55 2010

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

Connected to an idle instance.

SQL> startup nomount;
ORA-27091: unable to queue I/O
ORA-27069: attempt to do I/O beyond the range of the file
Additional information: 1
Additional information: 1
SQL> quit
这里启动失败了,提示文件问题。

用vi打开spfile文件,顺便的输入几个字符。
SQL> startup nomount;
ORACLE instance started.

Total System Global Area 339738624 bytes
Fixed Size 1219280 bytes
Variable Size 138413360 bytes
Database Buffers 192937984 bytes
Redo Buffers 7168000 bytes
SQL>
你看却成功的,

这里为什么做的不一致。也不知道哦啊是不是bug