首页 技术 正文
技术 2022年11月17日
0 收藏 405 点赞 4,867 浏览 1492 个字

检查DG 装填:

目标主机检查mrp是否正常:
SELECT PROCESS FROM V$MANAGED_STANDBY WHERE PROCESS LIKE ‘MRP%’;
–若mrp没有启动,则需要启动:
alter database recover managed standby database parallel 16 disconnect from session;

源主机:确保status状态为valid
select dest_name,status,error from v$archive_dest where destination is not null;

Table 14-2 VALID_FOR Attribute Values  这些角色和logfile 仅仅对当前数据库有效,对远端数据库无效

VALID_FOR Definition Primary Role Physical Standby Role Logical Standby Role

ONLINE_LOGFILE, PRIMARY_ROLE

Active

Inactive

Invalid

ONLINE_LOGFILE, STANDBY_ROLE

Inactive

Invalid

Active

ONLINE_LOGFILE, ALL_ROLES

Active

Invalid

Active

STANDBY_LOGFILE, PRIMARY_ROLE

Error

Error

Error

STANDBY_LOGFILE, STANDBY_ROLE

Invalid

Active

Active

STANDBY_LOGFILE ALL_ROLES

Invalid

Active

Active

ALL_LOGFILES, PRIMARY_ROLE

Active

Inactive

Invalid

ALL_LOGFILES, STANDBY_ROLE

Invalid

Active

Active

ALL_LOGFILES, ALL_ROLES

Active

Active

Active

DB_UNIQUE_NAME

指定这个日志存放的数据库日志地址

Specifies a unique name for the database at this destination.

#########信息不准确

关于admin guide中v$archive_dest的status这一列有好7种值,文档说得太抽象,于是本文做了一部分实验来看看这些值到底在什么情况下会显示。

VALID — The user has properly initialized the destination, which is available for archiving.

INACTIVE — The user has not provided or has deleted the destination information.

ERROR — An error occurred creating or writing to the destination file; refer to error data.

FULL — Destination is full (no disk space).

DEFERRED — The user manually and temporarily disabled the destination.

DISABLED — The user manually and temporarily disabled the destination following an error; refer to error data.

BAD PARAM — A parameter error occurred; refer to error data.

另外还有一种ALTERNATE 的status。

——-TEST begins———-

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,497
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,910
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,744
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,498
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:8,136
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:5,300