Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The original goldengate extraction process of the main library after oracle master / standby switching

2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

After the oracle master / slave switch, the original goldengate extraction process of the master database will abend error. In this case, you need to configure the following parameters in the extraction process:

TRANLOGOPTIONS MINEFROMACTIVEDG

This feature is a new feature of goldengate12.1.2.1.0: it supports real-time capture of changes from ADG's online logs.

Start the extraction process for goldengate:

Start ext_app

If the application is not started at this time, there is no delay before shutting down the extraction process. In fact, the following operations can also be used (standby, careful use, data loss is possible):

# alter extract ext_app, tranlog, begin now

Correct handling steps:

If you start the extraction process at this point, the error process will become abend, or you can view the error message:

View report ext_app

The following error can be sent, and the error message is very clear:

2018-09-27 18:05:06 ERROR OGG-02803 Encountered a Data Guard role transition. Alter Extract to SCN 8096622950106 and restart Extract, or recreate Extract with the correct number of th

Reads at SCN 8096622950106.

Modify the extraction scn number of the extraction process and start:

Alter ext_app, scn 8096622950106

Start ext_app

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report