oracle语法测试在线,oracle10g_rman_语法测试_show专题

此内容展示了RMAN(恢复管理器)的各种配置参数,包括备份优化、设备类型、数据文件和归档日志的备份副本数、控制文件自动备份、保留策略等。示例中还提供了显示通道配置、默认设备类型、最大集大小等设置的命令。
摘要由CSDN通过智能技术生成

Keywords and Parameters

Syntax Element

Description

ALL

Displays all user-entered

CONFIGURE commands as well as default configurations.

ARCHIVELOG BACKUP

COPIES

Shows the currently configured

degree of duplexing for archived redo log backups.

ARCHIVELOG DELETION

POLICY

Shows the currently configured

archived redo log deletion policy.

AUXNAME

Displays the CONFIGURE

AUXNAME settings.

BACKUP

OPTIMIZATION

Displays the CONFIGURE

BACKUP OPTIMIZATION settings: ON or

OFF (default).

[AUXILIARY]

CHANNEL

Displays the CONFIGURE

CHANNEL settings. You can specify a normal channel or an

AUXILIARY channel.

FOR

DEVICE TYPE deviceSpecifier

Specifies the device type of the

channel. For example, SHOW CHANNEL FOR

DEVICE TYPE DISK displays only channel

settings for disk channels.

CONTROLFILE

AUTOBACKUP

Displays the CONFIGURE

CONTROLFILE AUTOBACKUP settings: ON or

OFF.

FORMAT

Displays the format for the

control file autobackup file for configured devices.

{DATAFILE | ARCHIVELOG}

BACKUP COPIES

Displays the

CONFIGURE ... BACKUP COPIES

setting for datafiles and archived redo logs: 1, 2,

3, or 4.

[DEFAULT]

DEVICE TYPE

Displays the configured device

types and parallelism settings. If DEFAULT is specified, then

SHOW displays the default device type and settings.

ENCRYPTION

Shows currently configured

encryption settings for the database or tablespaces within the database, when

used with ALGORITHM or FOR {DATABASE

|TABLESPACE }.

ALGORITHM

Displays the configured default

algorithm to use for encryption, when writing encrypted backup sets. Possible

values are listed in V$RMAN_ENCRYPTION_ALGORITHMS.

FOR

{ DATABASE |TABLESPACE }

Displays current encryption

settings for the database or for each tablespace.

EXCLUDE

Displays only the tablespaces that

you have specified should be excluded.

MAXSETSIZE

Displays the

CONFIGURE MAXSETSIZE settings.

RETENTION

POLICY

Displays the settings for

CONFIGURE RETENTION POLICY for the

current target database.

SNAPSHOT

CONTROLFILE NAME

Displays the

CONFIGURE SNAPSHOT CONTROLFILE

settings.

Examples

Showing Channel Configurations: ExampleThis

example shows commands relevant for displaying automatic channel

configurations:RMAN> SHOW CHANNEL;

RMAN> SHOW DEVICE TYPE;

RMAN> SHOW DEFAULT DEVICE TYPE;

RMAN> SHOW MAXSETSIZE;

Showing All Configurations: ExampleThis example

shows all persistent configurations for the target database (and includes sample

output):RMAN> SHOW ALL;

RMAN configuration parameters are:

CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default

CONFIGURE BACKUP OPTIMIZATION ON;

CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default

CONFIGURE DEVICE TYPE "SBT" PARALLELISM 1;

CONFIGURE DEVICE TYPE DISK PARALLELISM 1; # default

CONFIGURE DATAFILE BACKUP COPIES FOR DISK TO 2;

CONFIGURE DATAFILE BACKUP COPIES FOR SBT TO 1; #default

CONFIGURE ARCHIVELOG BACKUP COPIES FOR SBT TO 1; # default

CONFIGURE ARCHIVELOG BACKUP COPIES FOR DISK TO 1; # default

CONFIGURE MAXSETSIZE TO 2097152K;

CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/oracle/dbs/cf_snap.f';

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值