11.2版本alert日志中记录了pfile或者spfile的全路径

之前的版本使用spfile启动实例之后通过show parameter spfile可以获得spfile的全路径,但是如果使用的是pfile的话那么貌似没有地方可以获得pfile的名字和路径,在11.2版本的alert中让我欣喜的发现了下面信息,随着我们对oracle的熟悉,我们发现oracle其实有很多地方需要改进和完善,但是随着一个一个新版本的发布,最终发现很多地方都得到了改进和完善。

Starting up:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options.
Using parameter settings in server-side spfile E:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\SPFILETEST1.ORA

Starting up:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options.
Using parameter settings in server-side pfile E:\ORACLE\PRODUCT\11.2.0\DBHOME_1\DATABASE\INITTEST1.ORA
--===========================================

SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup pfile='c:\init.ora'
ORACLE 例程已经启动。

Total System Global Area  313860096 bytes
Fixed Size                  1374304 bytes
Variable Size             109053856 bytes
Database Buffers          197132288 bytes
Redo Buffers                6299648 bytes
数据库装载完毕。
数据库已经打开。
SQL>

Starting up:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options.
Using parameter settings in client-side pfile C:\INIT.ORA on machine XYS

请使用浏览器的分享功能分享到微信等