11.2版本alert日誌中記錄了pfile或者spfile的全路徑

warehouse發表於2014-10-12

之前的版本使用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

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1296599/,如需轉載,請註明出處,否則將追究法律責任。

相關文章