STARTUP的一些参数学习

 

STARTUP的一些参数学习

STARTUP

If you specify only STARTUP with no other options, then the instance starts, then mounts and open the database.

STARTUP:比较常规启动方式,不带任何参数,启动过程为:启动实例,挂载数据库,打开数据库

 

DBA

Restricts access to users with the RESTRICTED SESSION privilege.

STARTUP DBA:表示启动数据库并且该数据库启动open后只允许具有RESTRICTED SESSION权限的用户访问数据库

 

FORCE

If the database is open, then FORCE shuts down the database with a SHUTDOWN ABORT statement before re-opening it.If the database is closed, then FORCE opens the database.

STARTUP FORCE: 

1、如果数据库处于 open状态下,那么STARTUP FORCE命令的作用就是先SHUTDOWN ABORT,然后重新STARTUP数据库;

2、如果数据库是处于关闭状态下,那么就FORCE STARTUP数据库;

 

MOUNT

Starts the instance, then mounts the database without opening it

STARTUP  MOUNT:启动数据库实例,然后挂载数据库,但是不打开数据库

 

NOMOUNT

Starts the instance without mounting the database. If no parameter file exists, then RMAN starts the instance with a "dummy" parameter file. You can then run RESTORE SPFILE to restore a backup server parameter file.

STARTUP  NOMOUNT:启动数据库实例,但是不挂载数据库。如果参数文件不存在的话,那么RMAN使用一个叫"dummy"的参数文件来启动实例; 这样你然后可以运行 RESTORE SPFILE命令来将数据库的服务参数文件还原

 

PFILE = 'filename'

Specifies the filename of the init.ora file for the target database. If this parameter is not specified, then the default init.ora filename is used.

STARTUP  PFILE = 'filename':表示根据指定的参数文件来启动数据库。如果这个参数文件不认为指定,数据库使用默认的参数文件。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值