您的位置:首页 > 其它

STARTUP的一些参数学习

2008-11-25 21:47 197 查看
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':表示根据指定的参数文件来启动数据库。如果这个参数文件不认为指定,数据库使用默认的参数文件。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: