OCP-1Z0-052-V8.02-121题

121. After performing a clean shut down of the database instance for maintenance, you mount the

database and then execute a command to open the database:

SQL> ALTER DATABASE OPEN;

Which two statements are true? (Choose two.)

A.The online redo log files and online data files are opened.

B.All the online data file headers are checked for consistency.

C.Instance recovery is performed before opening the database.

D.The path and existence of all the log file members are checked.

Answer: AB  

答案解析:

参考:http://blog.csdn.net/rlhua/article/details/12237245


 数据库操作正常意味着实例已启动、数据库已装载且已打开。在数据库操作正常时,任何有效用户都可连接到数据库,而且可执行典型数据访问操作。

打开数据库过程包括执行以下任务:
• 打开数据文件
• 打开联机重做日志文件
如果尝试打开数据库时任一数据文件或联机重做日志文件不存在,则Oracle 服务器返回错误。
在最后这个阶段 ,Oracle 服务器会验证是否可以打开所有数据文件和联机重做日志文件,还会检查数据库的一致性。如有必要,系统监视器(SMON) 后台进程将启动实例恢复。可以在受限模式下启动数据库实例,以便只让有管理权限的用户使用该实例。要在受限模式下启动实例,可在“Advanced Startup Options(高级启动选项)”页上选择“Restrict access to database(限制对数据库的访问)”选项。
或者在启动Open模式时,添加restrict关键字:startup restrict,
设置或取消受限状态:alter system enable\disable restricted session;
命令:
sys@TEST0924> alter database open;
Database altered.
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值