Purging Tombstone Rows
The
PURGE_TOMBSTONES
procedure removes tombstone rows that were recorded before a specified date and time. This procedure removes the tombstone rows for all tables configured for conflict resolution in the database.
It might be necessary to purge tombstone rows periodically to keep the tombstone log from growing too large over time.
- Connect to the inbound server database as an Oracle GoldenGate administrator.
- Run the
PURGE_TOMBSTONES
procedure and specify the date and time.
Example 9-27 Purging Tombstone Rows
This example purges all tombstone rows recorded before 3:00 p.m. on December, 1, 2015 Eastern Standard Time. The timestamp must be entered in TIMESTAMP WITH TIME ZONE
format.
EXEC DBMS_GOLDENGATE_ADM.PURGE_TOMBSTONES('2015-12-01 15:00:00.000000 EST');