zoukankan      html  css  js  c++  java
  • 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.


       
  • 相关阅读:
    短视频不为人知的素材来源 以及平台推荐的黑盒机制
    说什么月入几万 我是不是应该一头撞死?
    Python 3 进阶 —— 使用 PyMySQL 操作 MySQL
    CentOS安装Subversion 1.9.*版本客户端
    [算法]PHP随机合并数组并保持原排序
    CentOS安装Memcached
    Git Windows客户端保存用户名和密码
    ApiGen 4.0配置项
    ApiGen安装
    SQL服务器模式
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13316335.html
Copyright © 2011-2022 走看看