如何让数据库使用spfile启动

发表于:2007-06-22来源:作者:点击数: 标签:
从pfile创建spfile的方法 SQL show parameter spfile NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ spfile string SQL create spfile from pfile='?/dbs/initsid.ora' SQL shutdown Database closed.

   

从pfile创建spfile的方法

SQL> show parameter spfile

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
spfile                               string

SQL> create spfile from pfile='?/dbs/initsid.ora'  

SQL> shutdown
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.

Total System Global Area  236000356 bytes
Fixed Size                   451684 bytes
Variable Size             201326592 bytes
Database Buffers           33554432 bytes
Redo Buffers                 667648 bytes
Database mounted.
Database opened.
SQL> show parameter spfile

NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
spfile                               string      ?/dbs/spfile@.ora

原文转自:http://www.ltesting.net