之前的版本使用spfile启动实例之后通过show parameter spfile可以获得spfile的全路径,但是如果使用的是pfile的话那么貌似没有地方可以获得pfile的名字和路径,在11.2版本的alert中让我欣喜的发现了下面信息,随着我们对oracle的熟悉,我们发现oracle其实有很多地方需要改进和完善,但是随着一个一个新版本的发布,最终发现很多地方都得到了改进和完善。
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
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/19602/viewspace-1296599/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/19602/viewspace-1296599/