GoldenGate在处理长交易时会将其缓存至内存和硬盘,若进程停止则会丢失,重启时可通过检查点重新读取。为查看和处理长交易,GoldenGate提供了多种命令,如Ggsci> send extract,showtrans [thread n] [count n]。其中,'send extract'为进程名如exta/dpea/repa,'thread n'可选,表示仅查看一个节点上的未提交交易(适用于RAC),'count n'也是可选项,表示显示记录数。例如,要查看extsz进程节点1上最长的10个交易,可用命令:Ggsci> send extract exta [, showtrans thread 1 count 10]。若需强制提交或回滚特定事务,可使用命令:Ggsci> send extract , skiptrans [thread] // 跳过交易,Ggsci> send extract , forcetrans [thread] // 强制提交。需注意,这些命令仅影响GoldenGate进程,不会改变数据库中的实际交易状态,建议直接使用数据库功能提交或回滚交易。
GoldenGate配置与管理中长交易的处理方法
相关推荐
Oracle GoldenGate的配置与安装方法
在Oracle GoldenGate的应用中,正确的配置与安装至关重要。这涉及到配置参数、安装步骤以及必要的设置。通过遵循正确的安装指南和配置建议,可以确保系统稳定性和数据可靠性。Oracle GoldenGate作为数据同步和复制工具,在企业中扮演着关键角色,因此配置和安装的准确性直接影响着数据的传输效率和准确性。
Oracle
0
2024-08-30
春天交易管理.jar
无法解析类型org.springframework.dao.DataAccessException。它是间接引用的异常缺少的包。
MySQL
1
2024-07-28
MATLAB信号处理在交易算法中的应用
本书探索MATLAB中信号处理算法在交易领域的应用。正文分为4章。第1章介绍了减轻噪声影响的滤波器,包括固定和自适应方法。第2章展示了利用各种滤波器结构的振荡器指标。第3章探讨了适用于短时间范围(1到30分钟采样率)的剥头皮指标方法。第4章详细介绍了John F. Ehlers的过滤器和指标贡献。本书作者参考了https://www.tradingview.com/,该网站包含数千个用Pine Script语言编写的脚本。此外,https://docs.google.com/document/d/15AGCufJZ8CIUvwFJ9W-IKns88gkWOKBCvByMEvm5MLo/edit链接列出了多种LazyBear自定义指标想法,适用于TradingView。
Matlab
0
2024-08-27
Mysql配置管理的优化与管理
第X-17章_Mysql配置管理.pdf的内容重点在于MySQL配置的优化与管理。本章将详细探讨如何有效配置和管理MySQL,以确保系统运行效率和安全性。
MySQL
0
2024-08-29
oracle Active DataGuard的配置与管理
oracle Active DataGuard的设置和维护需谨慎处理,确保系统可靠性和数据完整性。
Oracle
1
2024-07-28
Oracle事件的处理与解决方法
Oracle事件的处理与解决方法,非常有价值的内容...
Oracle
2
2024-07-31
处理MySQL SQL文件的方法与教程
MySQL SQL文件处理涉及将存储在文件中的SQL命令导入到数据库中。命令格式通常为:mysql [option] dbname < file default-character-set=latin1>
MySQL
1
2024-07-31
GoldenGate实践
GoldenGate 实战之第 6 章高可用性
Oracle
4
2024-04-30
GoldenGate TDM软件的数据同步与实时复制
GoldenGate TDM(交易数据管理)软件是一种基于日志的结构化数据复制软件,通过解析源数据库在线日志或归档日志获取数据的增删改变化,并将这些变化应用到目标数据库,实现源数据库与目标数据库的同步和双活功能。GoldenGate TDM软件能够在异构的IT基础结构之间实现大量数据的亚秒级实时复制,支持几乎所有常用操作系统平台和数据库平台。
Oracle
3
2024-07-13