SHUTDOWN NORMAL:不允许新的连接、等待会话结束、等待事务结束、做一个检查点并关闭数据文件。启动时不需要实例恢复。
SHUTDOWN TRANSACTIONAL:不允许新的连接、不等待会话结束、等待事务结束、做一个检查点并关闭数据文件。启动时不需要实例恢复。
SHUTDOWN IMMEDIATE:不允许新的连接、不等待会话结束、不等待事务结束、做一个检查点并关闭数据文件。没有结束的事务是自动rollback的。启动时不需要实例恢复。
SHUTDOWN ABORT:不允许新的连接、不等待会话结束、不等待事务结束、不做检查点且没有关闭数据文件。启动时自动进行实例恢复。
oracle的启动过程
Oracle 的启动需要经历四个状态,SHUTDOWN 、NOMOUNT 、MOUNT 、OPEN、
SHUTDOWN状态
第一状态没什么好解释的,oracle的所有文件都静静的躺在磁盘里,一切都还未开始,属于关机状态
NOMOUNT状态
Starting the instance (nomount)
* Reading the initialization file from $ORACLE_HOME/dbs in the following order:
-first
-if not found then,
-if not found then,
Specifying the PFILE parameter with STARTUP overrides the default behavior.
* Allocating the SGA
* Starting the background processes
* Opening the file and the trace files
The database must be named with the DB_NAME parameter either in the initialization
Parameter file or in the mand.
-----------------------------------------------------------------------
* 读取环境变量下dbs目录下的参数文件(spfile/pfile)
[******@localhost dbs]$ pwd
/ora10/product/
[******@localhost dbs]$ ll
-rw-r----- 1 ora10 dba 3584 07-19 22:07
-rw-r----- 1 ora10 dba 3584 07-23 22:00
-rw-r--r-- 1 ora10 dba 1106 07-19 21:47
查找参
数据库SHUTDOWN与重启过程 来自淘豆网m.daumloan.com转载请标明出处.