oracle启动方式

来源:互联网 发布:丙纶和js 编辑:程序博客网 时间:2024/04/28 02:09

对于oracle的启动方式以前在工作中也没有仔细研究过,今天在看文档的时候知道oracle有4种启动方式,在此总结一下:
1,startup nomount:又称非安装启动方式,这种方式可以执行以下操作,重建control files,重建database,启动instance(SGA+后台进程),这种启动方式只需要有init.ora文件。
注:对于instance,如果把oracle比作一部汽车,instance相当于汽车的发动机一样,启动oracle前提应先启动instance。

2,startup mount dbname:又称安装启动方式,这种方式可以执行以下操作,数据库log files归档,恢复database,重命名数据库文件名(系统tablespace或log files)。执行“nomount”,然后打开control files。

3,startup open dbname:此方式将首先执行“nomount”,然后执行“mount”,再打开包括Redo log files在内的所有数据库文件,这种方式下可访问数据库中的数据。

4,startup等于以下三个命令:
startup nomount
alter database mount
alter database open

启动方式可简单通过下图描述: