您的位置:首页 > 其它

OCP-1Z0-053-V12.02-597题

2013-11-11 16:38 309 查看
597.What command would you use to set a persistent setting in RMAN so that backups are all written to a tape device?
A. CONFIGURE DEFAULT DEVICE TYPE TO TAPE MEDIA
B. CONFIGURE DEFAULT DEVICE TYPE TO TAPE
C. CONFIGURE DEFAULT DEVICE TYPE TO SBT
D. CONFIGURE DEFAULT DEVICE TYPE TO SBT_TAPE
Answer: C
答案解析:
参考:http://docs.oracle.com/cd/E11882_01/backup.112/e10643/rcmsynta010.htm#RCMRF90087

DEFAULT DEVICE TYPE TO


deviceSpecifie
Specifies the default device type for automatic channels. By default,
DISK
is the default device type.
CLEAR
returns the default device type to
DISK
.
By default, the
BACKUP
command only allocates channels of the default device type. For example,
if you configure automatic channels for
DISK
and
sbt
and set the default device type to
sbt
, then RMAN only allocates tape channels when you run the
BACKUP
 DATABASE
command. You can override this behavior either by manually allocating channels in a
RUN
command, or by specifying
DEVICE TYPE
on the
BACKUP
command itself (seeExample
2-42).

The
RESTORE
command allocates automatic channels of all configured device types, regardless
of the default device type. The
RESTORE
command obeys the
PARALLELISM
setting for each configured device type.

Example 2-42 Overriding the Default Device Type
This example configures duplexing to
2
for
DISK
backups of
data files and control files (control file autobackups on disk are a special case and are never duplexed), then configures
sbt
as the default device.

CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 2;
CONFIGURE CHANNEL DEVICE TYPE sbt PARMS 'ENV=(OB_DEVICE_1=tape1)';
CONFIGURE DEFAULT DEVICE TYPE TO sbt;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: