Oracle OCP IZ0-053 Q88(Rman Channel)

88.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 in RMAN:

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
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

验证:

[oracle@db01 ~]$ rman target /


Recovery Manager: Release 11.2.0.4.0 - Production on Fri Mar 18 00:47:22 2016


Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.


connected to target database: INST1 (DBID=193461069)


RMAN> show all;     


using target database control file instead of recovery catalog
RMAN configuration parameters for database with db_unique_name INST1 are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_inst1.f'; # default


RMAN> configure device type disk parallelism 2 backup type to backupset;


new RMAN configuration parameters:
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
new RMAN configuration parameters are successfully stored


RMAN> configure channel 1 device type disk format '/home/oracle/%U';


new RMAN configuration parameters:
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/home/oracle/%U';
new RMAN configuration parameters are successfully stored
88.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 in RMAN:
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
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


RMAN> configure channel 2 device type disk format '/u01/app/oracle/%U';


new RMAN configuration parameters:
CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/u01/app/oracle/%U';
new RMAN configuration parameters are successfully stored


RMAN> run{
2>      allocate channel ch1 device type disk;
3>      backup database;
4> }


allocated channel: ch1
channel ch1: SID=21 device type=DISK


Starting backup at 18-MAR-16
channel ch1: starting full datafile backup set
channel ch1: specifying datafile(s) in backup set
input datafile file number=00001 name=/u01/app/oracle/oradata/inst1/system01.dbf
input datafile file number=00002 name=/u01/app/oracle/oradata/inst1/sysaux01.dbf
input datafile file number=00005 name=/u01/app/oracle/oradata/inst1/example01.dbf
input datafile file number=00003 name=/u01/app/oracle/oradata/inst1/undotbs01.dbf
input datafile file number=00006 name=/u01/app/oracle/oradata/inst1/user_data01.dbf
input datafile file number=00004 name=/u01/app/oracle/oradata/inst1/users01.dbf
channel ch1: starting piece 1 at 18-MAR-16
channel ch1: finished piece 1 at 18-MAR-16
piece handle= /u01/app/oracle/fast_recovery_area/INST1/backupset/2016_03_18/o1_mf_nnndf_TAG20160318T005205_cgor5pol_.bkp tag=TAG20160318T005205 comment=NONE
channel ch1: backup set complete, elapsed time: 00:01:25
Finished backup at 18-MAR-16


Starting Control File and SPFILE Autobackup at 18-MAR-16
piece handle=/u01/app/oracle/fast_recovery_area/INST1/autobackup/2016_03_18/o1_mf_s_906771211_cgor8dod_.bkp comment=NONE
Finished Control File and SPFILE Autobackup at 18-MAR-16
released channel: ch1


RMAN> show all
2> ;


RMAN configuration parameters for database with db_unique_name INST1 are:
CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default
CONFIGURE BACKUP OPTIMIZATION OFF; # default
CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
CONFIGURE CONTROLFILE AUTOBACKUP ON;
CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
CONFIGURE DEVICE TYPE DISK PARALLELISM 2 BACKUP TYPE TO BACKUPSET;
CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
CONFIGURE CHANNEL 1 DEVICE TYPE DISK FORMAT   '/home/oracle/%U';
CONFIGURE CHANNEL 2 DEVICE TYPE DISK FORMAT   '/u01/app/oracle/%U';
CONFIGURE MAXSETSIZE TO UNLIMITED; # default
CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
CONFIGURE COMPRESSION ALGORITHM 'BASIC' AS OF RELEASE 'DEFAULT' OPTIMIZE FOR LOAD TRUE ; # default
CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/app/oracle/product/11.2.0/dbhome_1/dbs/snapcf_inst1.f'; # default

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8520577/viewspace-2059518/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/8520577/viewspace-2059518/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值