• OCP-1Z0-052-V8.02-69题


    69. You are working on an instance started using the SPFILE. You want to move the Flash Recovery Area

    of your database to a new location. You want the Flashback log files to be stored in the new location.

    Given below are the steps to accomplish the task in random order:

    1) Shut down the instance.

    2) Change the value of the DB_RECOVERY_FILE_DEST initialization parameter to a new value.

    3) Execute the ALTER DATABASE FLASHBACK OFF command.

    4) Start up the instance and mount the database.

    5) Execute the ALTER DATABASE FLASHBACK ON command.

    6) Open the database.

    Select the correct order in which these tasks need to be performed. 

    A.2, 1, 4, 3, 5, 6

    B.1, 4, 3, 2, 6, 5

    C.1, 4, 2, 6, 3, 5

    D.3, 2, 1, 4, 5, 6

    Answer: A  

    答案解析:

    参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmmaint.htm#BRADV89615


    题目要求更换 Flash Recovery Area的位置。

    首先设置DB_RECOVERY_FILE_DEST为新的闪回日志路径,然后再mount状态下,关闭启动,更新下路径的指定,最后打开数据库。


    Changing the Fast Recovery Area to a New Location

    If you must move the fast recovery area of your database to a new location, then follow this procedure:

    1. Start a SQL*Plus on the target database and change the DB_RECOVERY_FILE_DEST initialization parameter. For example, enter the following command to set the destination to the ASM disk group disk1:

      ALTER SYSTEM SET DB_RECOVERY_FILE_DEST='+disk1' SCOPE=BOTH SID='*';

      After you change this parameter, all new fast recovery area files are created in the new location.

    2. Either leave or move the permanent files, flashback logs, and transient files in the old flash recovery location.

      If you leave the existing files in the flash recovery, then the database deletes the transient files from the old fast recovery area as they become eligible for deletion.

      If you must move the old files to the new fast recovery area, then see the Oracle Database Storage Administrator's Guide. The procedure for moving database files into and out of an ASM disk group with RMAN works when moving files into and out of a fast recovery area.


       
  • 相关阅读:
    phalapi框架where条件查询
    yii2学习网站
    改变yii2 $form最外层div样式
    PHP库(数据抓取)
    yii框架场景的用法
    Yii框架数据查询
    更改控制台编码格式
    打开yii2控制台命令
    过滤器实现登录拦截
    SSM整合
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316335.html
Copyright © 2020-2023  润新知