72.You want to enable archiving on your database. Presently, the database is running in NOARCHIVELOG

本文介绍如何将Oracle数据库从NOARCHIVELOG模式更改为ARCHIVELOG模式,包括正确的步骤顺序和解释为什么不需要设置DB_RECOVERY_FILE_DEST参数。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

72.You want to enable archiving on your database. Presently, the database is running in
NOARCHIVELOG mode. Given below are the steps to accomplish the task in random order:
1: Shut down the instance.
2: Execute the ALTER DATABASE ARCHIVELOG command.
3: Start up the instance and mount the database.
4: Set the DB_RECOVERY_FILE_DEST initialization parameter to $ORACLE_HOME/dest_1.
5: Open the database.
Which is the correct sequence of steps for accomplishing the task?
A.4, 1, 3, 2, 5
B.1, 3, 4, 5, 2
C.1, 3, 2, 5; 4 not required
D.4, 1, 5, 2; 3 not required
E.1, 3, 4, 5; 2 not required
答案:C
解析:DB_RECOVERY_FILE_DEST在启动的时候已经设置好了,默认为$ORACLE_BASE/fast_recovery_area,默认大小为2G
因此4不是必须的,那么就可以选C了
修改归档必须在mount阶段,因此应该首先
1.关闭数据库
2.启动到mount阶段
3.然后打开归档
4.最后open数据库
就修改完成了
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值