This article describes the use of ETROLLOVER command for extract.
ETROLLOVER causes the extract to increment to the next trail file in the trail sequence when it restarts. This command is commonly used when we have GoldenGate running on RAC databases where we encounter out of order SCN error.
Usage: ALTER EXTRACT <group name>, ETROLLOVER
By issuing ETROLLOVER , Extract Process doesn’t write EOF of the trail file to the current file. The downstream Pump or Replicat process reading from these current file doesn’t read EOF of the trail as it has not been written, so it doesn’t automatically switch to new trail file. We have to manually modify downstream process to switch to next trail file.
In GoldenGate version
In version 10 and later, Goldengate trail contains auto-recovery feature. ETROLLOVER command will disable this feature, and make the downstream replicat (or pump) hang at the end of existing trail without showing errors. It will need to be stopped and its RBA positioned to the beginning of the next trail.
Etrollover is used to resolve following issues
OGG-01496 Failed to open target trail file.
Existing extract output trail files were unintentionally purged has caused the extract process to encounter this error.
OGG-01031 When Upgrading the Target Side
Upgrading target side GOldenGate Instance without stopping Data Pumps on source will cause the data pumps to abend with OGG-01031 error. Issue Etrollover on extract pumps. Verify that Replicat had processes previous trail file and there is no log, then modify replicat to start from new trail file sequence number and RBA.
ERROR 180 encountered commit SCN <scn> that is not greater than the highest SCN already processed
This error occurs in Oracle RAC environments where Extract has coordinated thread. This thread gathers the operations that are generated on each node of the RAC nodes inot SCN order. This error occurs shortly after a transaction is written to the idle node but does not yet appear in the redo log when the current transaction is processed. Before showing this error Extract waits number of milliseconds specified in its parameter file THREADOPTIONS MAXCOMMITPROPAGATIONDELAY (default 3 seconds). Waiting ensures that there are no new transactions on the idle node before writing the current transactions to the trail. This transaction will have a higher SCN than the previous transaction.
There can be number of possible number of reasons for this error.
- One of the threads is slower than the other.
- The redo logs are not flushed on time due to latency on Log writes.
- Network issues between Extract and one of the RAC nodes, if Extract is running on a system separate from RAC nodes.
- Long log write times due to a standby configuration, if any.
- Log file I/Os are taking unusually long times to complete.
- Time imperfections between the cluster nodes. All nodes in the RAC cluster must have synchronized system clocks. If Extract is running on a system other than any of the RAC nodes, that system clock must be in sync, too, because we compare the local system's time to the commit timestamp to make critical decisions. For information about synchronizing system clocks, consult www.ntp.org or your systems administrator
- The DB timezone setting is different than the OS timezone setting
Please refer Note ID ID 957112.1 for more details.
No comments:
Post a Comment