Mgr processes are the main processes run by goldengate software. They control other processes, such as extract and replicat processes. The configuration of the mgr process is described below. For the global file, we only choose to create it on the target end of Sqlserver. It can be configured with many parameters that affect global operation. Here, we only configure the checkpoint table,
Mgr processes are the main processes run by goldengate software. They control other processes, such as extract and replicat processes. The configuration of the mgr process is described below. For the global file, we only choose to create it on the target end of Sqlserver. It can be configured with many parameters that affect global operation. Here, we only configure the checkpoint table,
Mgr processes are the main processes run by goldengate software. They control other processes, such as extract and replicat processes.
The configuration of the mgr process is described below.
For the global file, we only choose to create it on the target end of Sqlserver. It can be configured with many parameters that affect global operation. Here, we only configure the checkpoint table to ensure that the facts are continuously and orderly restored in sqlserver.
The target end must add a checkpoint table to ensure that the transaction is in a continuous order, in case that the replicate process continues to apply the trail file from where it is no matter whether it is normal or the shutdown is abnormal. This prevents a transaction from being executed multiple times. This table will not be large, and GG will clear old records without affecting performance.
# Oracle as the target end
Cd $ GGH &./ggsci
Edit param./GLOBALS
CHECKPOINTTABLE ggmgr. gg_checkpoint_tab
Syslog none
# Add a checkpoint table for gg. A table is automatically created in the database and its structure is defined by gg.
Dblogin userid ggmgr, PASSWORD 12345678
ADD CHECKPOINTTABLEggmgr. gg_checkpoint_tab
# Use sqlserver as the target end:
Edit param./GLOBALS
CHECKPOINTTABLEerpdb. dbo. gg_checkpoint_tab
Syslog none
Dblogin sourcedb mssql
ADD CHECKPOINTTABLEerpdb. dbo. gg_checkpoint_tab
In fact, if you specify the checkpoint table when adding the replicat process, you do not need to configure this global table.
Add replicat rep1, exttrail/u01/ggate/dirdat/lt, checkpointtable ggate. checkpoint
For the time being, we use the global checkpoint table, but more than 10 replicat processes will write data, which may become a bottleneck on the SQL server side.
If it is a bottleneck, a checkpoint table is separated for each link.