下面给给大家做个很有意思的实验,紧紧用db_name创建了实例: SQL> startup force nomount; ORACLE 例程已经启动。 Total System Global Area 150667264 bytes Fixed Size 1335080 bytes Variable Size 92274904 bytes Database Buffers 50331648 bytes Redo Buffers 6725632 bytes
下面摘自alert日志:
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 /u01/app/oracle/product/11.2.0/dbhome_1/dbs/initorcl3939.ora
System parameters with non-default values:
db_name = "orcl3939"
Thu May 07 22:13:34 2015
PMON started with pid=2, OS id=5411
Thu May 07 22:13:34 2015
VKTM started with pid=3, OS id=5413 at elevated priority
VKTM running at (10)millisec precision with DBRM quantum (100)ms
Thu May 07 22:13:34 2015
GEN0 started with pid=4, OS id=5417
Thu May 07 22:13:34 2015
DIAG started with pid=5, OS id=5419
Thu May 07 22:13:34 2015
DBRM started with pid=6, OS id=5421
Thu May 07 22:13:34 2015
PSP0 started with pid=7, OS id=5423
Thu May 07 22:13:34 2015
DIA0 started with pid=8, OS id=5425
...... ...... 所以我们由上知,在参数文件中,需要最少的参数就是db_name,数据库实例就可以启动了 虽然启动了实例,但是缺少一些参数,没有指定控制文件位置,所以mount状态出现了错误: SQL> alter database mount; alter database mount * 第 1 行出现错误: ORA-00205: ?????????, ??????, ???????