Simple vs. Consistent Set Journalizing

Working with Changed Data Capture 7-5

1. In the Models tree in the Designer Navigator, select the journalized data model if

using Consistent Set Journalizing or select a data model or an individual datastore if using Simple Journalizing.

2. Right-click, then select Changed Data Capture Subscriber Subscribe. A

window appears which lets you select your subscribers.

3. Type a Subscriber name, then click the Add Subscriber button. Repeat the

operation for each subscriber you want to add. 4. Click OK.

5. In the Execution window, select the execution parameters:

■ Select the Context into which the subscribed must be registered. ■ Select the Logical Agent that will run the journalizing tasks. 6. Click OK. 7. The Session Started Window appears. 8. Click OK. You can review the journalizing tasks in the Operator Navigator. Removing a subscriber is a similar process. Select the Changed Data Capture Subscriber Unsubscribe option instead. You can also add subscribers after starting the journals. Subscribers added after journal startup will only retrieve changes captured since they were added to the subscribers list. StartDrop the journals: Starting the journals creates the CDC infrastructure if it does not exist yet. It also validates the addition, removal and order changes for journalized datastores. Dropping the journals deletes the entire journalizing infrastructure. To start or drop the journals:

1. In the Models tree in the Designer Navigator, select the journalized data model if

using Consistent Set Journalizing or select a data model or an individual datastore if using Simple Journalizing.

2. Right-click, then select Changed Data Capture Start Journal if you want to start

the journals, or Changed Data Capture Drop Journal if you want to stop them. 3. In the Execution window, select the execution parameters: ■ Select the Context into which the journals must be started or dropped. ■ Select the Logical Agent that will run the journalizing tasks. Note: Subscriber names cannot contain single quote characters. Note: Dropping the journals deletes all captured changes as well as the infrastructure. For simple journalizing, starting the journal in addition deletes the journal contents. Consistent Set JKMs support restarting the journals without losing any data.