Editing a Change Data Capture policy
- Last Updated: December 22, 2016
- 3 minute read
- OpenEdge
- Version 13.0
- Documentation
When editing CDC policies, the following guidelines apply:
- At any given point of time, a CDC table can have no more than one pending policy and one current policy; however, it can have any number of previous policies.
- If a current policy already exists for a CDC table, and you change the state of a pending policy to Active to make it a current policy, the existing current policy becomes a previous policy.
- You can change only the Description and State fields of a current policy whose state is active.
However, you can also change the Level of a current
policy whose state is inactive.
To pause capturing the changes to the change table, set the state of the current policy to Inactive. To resume capturing the changes, you must set it back to Active.
- You cannot edit a previous policy.
- You cannot edit the Policy name, Database connection, and Table fields of a pending policy.
To edit a pending CDC policy:
- Edit the Description field.
- Change the Level and State for the new policy.
If the level of the existing current policy is Minimal (0), the level of the new policy will be Minimal (0) and it cannot be changed to other levels. If the level of the existing current policy is greater than Minimal (0), you can change the level of the new policy to any of the following levels: Minimal with BitMap (1), Medium (2), or Maximum (3).
- Add CDC field policies to the new policy whose level is greater than Minimal (0), but you cannot edit the existing CDC fields.