Oracle OCP IZ0-053 Q88(Rman Channel)

abstractcyj發表於2016-03-18
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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章