OCP-1Z0-053-200题-4题-88

QUESTION 4

In your database, the flash recovery area (FRA) is configured as the default for RMAN backups. You executed

the following commands to configure the settings inRMAN:

RMAN> CONFIGURE DEVICE TYPE disk PARALLELISM 2 BACKUP TYPE TO BACKUPSET;

RMAN> CONFIGURE CHANNEL 1 DEVICE TYPE disk FORMAT '/home/oracle/disk1/%U';

RMAN> CONFIGURE CHANNEL 2 DEVICE TYPE disk FORMAT '/home/oracle/disk2/%U';

You issue the following RMAN command to backup the database:

RMAN> RUN

2> {

3> ALLOCATE CHANNEL ch1 DEVICE TYPE disk;

4> BACKUP DATABASE;

5> }

Which statement is true about the outcome?

A. Only one channel is allocated and the backup is created in the flash recovery area

B. Only one channel is allocated and the backup is created in the destination specified for channel 1

C. Two channels are allocated and backup sets are created in the destinations specified for channels 1 and 2

D. Three channels are allocated and backup sets are created in the destinations specified for channels 1, 2,

and FRA

Answer: A

同88题:http://blog.csdn.net/rlhua/article/details/14110475




答案解析:

官方参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta004.htm#RCMRF102

手动分配通道会覆盖CONFIGURE配置的自动分配通道,并且rman的备份信息会默认放在fra中。故选A.

ALLOCATE CHANNEL

Purpose

ALLOCATE CHANNEL manually allocates a channel (which is a connection between RMAN and a database instance). The ALLOCATE CHANNEL command must be issued within a RUN block. It allocates a channel only in the block where the command is issued.

Prerequisites

The target instance must be started.

Usage Notes

Manually allocated channels are distinct from automatically allocated channels specified with CONFIGURE. Automatic channels apply to any RMAN job in which you do not manually allocate channels. You can override automatic channel configurations by manually allocating channels within a RUN command, but you cannot use BACKUP DEVICE TYPE or RESTORE DEVICE TYPE to use automatic channels after specifying manual channels with ALLOCATE CHANNEL.


 
原文地址:https://www.cnblogs.com/hzcya1995/p/13316184.html