Oracle 视图 DBA_LOGSTDBY_LOG 官方解释,作用,如何使用详细说明
Oracle视图DBA_LOGSTDBY_LOG是 Oracle数据库提供的一种视图,它可以管理、查询、跟踪物理日志文件维护在延迟复制环境中用户操作日志文件的状态信息。
使用方法:
1. 查询相关日志文件状态:
SELECT LOG_ID,
LOG_STATUS,
LOG_APPLIED,
LOG_APPLIED_THRU
FROM DBA_LOGSTDBY_LOG;
2. 查看日志文件当前的状态:
SELECT LOG_ID,
LOG_STATUS,
LOG_APPLIED,
LOG_APPLIED_THRU
FROM DBA_LOGSTDBY_LOG
WHERE LOG_STATUS = CURRENT
3. 确定延迟的事务日志ID:
SELECT LOG_ID
FROM DBA_LOGSTDBY_LOG
WHERE LOG_APPLIED = NO
AND LOG_STATUS = REQUIRED
4. 确定已经被广播的事务日志:
SELECT LOG_ID
FROM DBA_LOGSTDBY_LOG
WHERE LOG_STATUS = BROADCAST
5. 查询应用到本地上的事务日志:
SELECT LOG_ID
FROM DBA_LOGSTDBY_LOG
WHERE LOG_APPLIED = YES
AND LOG_APPLIED_THRU IS NOT NULL;
DBA_LOGSTDBY_LOG displays information about the logs registered for a logical standby database.
This view is for logical standby databases only.
Thread ID of the archive log. The THREAD number is 1 for a single instance. For Real Application Clusters, this column will contain different numbers.
Indicates whether the beginning of the dictionary build is in this archive log (YES) or not (NO)
Indicates whether the end of the dictionary build is in this archive log (YES) or not (NO)
Indicates primarily whether a given foreign archived log has been applied fully by SQL Apply:
YES SQL Apply has fully applied the foreign archived log and no longer needs it
CURRENT SQL Apply is currently applying changes contained in the foreign archived log
NO SQL Apply has not started applying any changes contained in the foreign archived log
FETCHING SQL Apply encountered a corruption while reading redo records from this foreign archived log, and is currently using the automatic gap resolution to refetch a new copy of the log from the primary database
CORRUPT SQL Apply encountered a corruption while reading redo records from this foreign archived log, and refetching a new copy of the archived log did not resolve the problem. SQL Apply will not refetch a new copy of this archived log automatically, and will require user intervention to manually register a new copy of the foreign archived log.
Note:
The SCN values in this view correlate to the SCN values shown in the DBA_LOGSTDBY_PROGRESS view.
Note:
In a CDB, this view shows data only when queried in the root.
我想要获取技术服务或软件
服务范围:MySQL、ORACLE、SQLSERVER、MongoDB、PostgreSQL 、程序问题
服务方式:远程服务、电话支持、现场服务,沟通指定方式服务
技术标签:数据恢复、安装配置、数据迁移、集群容灾、异常处理、其它问题
本站部分文章参考或来源于网络,如有侵权请联系站长。
数据库远程运维 Oracle 视图 DBA_LOGSTDBY_LOG 官方解释,作用,如何使用详细说明
相关文章
- Oracle 视图 ALL_SCHEDULER_JOB_LOG 官方解释,作用,如何使用详细说明
- Oracle 视图 ALL_SCHEDULER_WINDOW_LOG 官方解释,作用,如何使用详细说明
- Oracle 视图 USER_SCHEDULER_JOB_LOG 官方解释,作用,如何使用详细说明
- Oracle 视图 DBA_LOGMNR_LOG 官方解释,作用,如何使用详细说明
- Oracle 视图 DBA_REGISTRY_LOG 官方解释,作用,如何使用详细说明
- Oracle 视图 V$GCR_LOG 官方解释,作用,如何使用详细说明
- Oracle 参数 UNIFORM_LOG_TIMESTAMP_FORMAT 官方解释,作用,如何配置最优化建议
- 多年古城旅行探索历史:一次奇妙的1480年古城Oracle之旅(oracle-1480)
- Oracle市场占有率:崛起统治者(oracle的市场占有率)
- 百度云让韩顺平的Oracle技术受益匪浅(韩顺平oracle百度云)
- 课程认证北京尚学堂 Oracle 课程官方认证(北京尚学堂oracle)
- 灵活运用 Oracle 触发器类型实现更强的协调力(oracle触发器类型)
- 管理Oracle用户角色权限管理实践分享(oracle用户角色权限)
- MSSQL与Oracle:数据库管理系统备选方案比较(mssql与oracle)
- Oracle 官方文档: 全方位了解Oracle数据库的权威指南(oracle官方文档)
- Oracle官方下载:获取最新软件和工具(oracle官方下载)
- Oracle官方培训机构:解锁技能,开启职业生涯(oracle官方培训机构)
- Oracle数据库实现内部连接的利器(oracle 内链接)
- Oracle数据库突破ATM机安全技术的新突破(ATM机oracle)
- 文档指南正确启动Oracle数据库(doc启动oracle)
- Oracle在中国的撤出时代的变迁(oracle 中国 撤出)
- Oracle中同步与异步理解和应用(oracle中同步与异步)
- Oracle空白令人头痛的症结(oracle 不能为空格)
- Oracle数据恢复重新恢复优势(oracle下恢复数据)
- Oracle SUM条件计算细节之分析(oracle sum条件)
- 深入理解Oracle Ash技术(oracle ash说明)
- Oracle 10i官方安全下载指南(oracle 10i下载)