Skip to content

Manage sources

What you do with a source once it exists: change it, rename it, pause and resume its incremental groups, replay changes, or delete it. To create one, see Sources.

The Sources page

Sources page with the toolbar and one Oracle source

DSN (Driver) shows the ODBC driver name in braces {...} when the source uses a connection string, and the driver version as (V...) when the Replicator Service knows it. In DBMS Type, iSeries is Db2 for i and UDB is Db2 for LUW. Click a source's name to open its tabs: Properties, Subscriptions and, for an incremental source, Agent Summary and Agent Statistics.

Change a source

Open the source and change its Properties tabs. A changed connection closes the source's connections, and a changed Capture Agent schema resets its incremental groups. See Source properties.

Rename a source

Subscriptions, groups and schedules follow the source, since they refer to it internally, not by name.

Pause and resume

Pause stops polling for every incremental group of this source; Resume restarts it. It's the same as pausing or resuming each group (see Manage incremental groups): the Capture Agent keeps capturing and staging changes while the groups are paused, and they're applied after the groups resume.

  • Resume restarts every incremental group of the source, including groups you paused individually.
  • Pause and resume don't affect snapshot subscriptions or groups.
  • Use them for maintenance of the source database or the Capture Agent, instead of pausing each group.

Replay

Replay makes every incremental group of the source apply the captured changes again from an earlier position. Use it to repair destinations after changes were lost or applied incorrectly, without new baselines.

In Set Replay Position, a Transaction Identifier is in hexadecimal (up to 20 characters); Earliest Position Available is the oldest change the Capture Agent still holds.

For each group, the Replicator Service briefly stops polling, asks the Capture Agent to reposition the group, and restarts polling if the group was running; the changes from that position are then applied again. Choose destination options that tolerate this, such as Allow UPSERT (see Incremental apply options). To replay one group or member, use Replay on the group or Replay Subscription... (see Replay a member).

Delete a source

In the control database, deleting a source removes:

  • every incremental group that uses the source, and its registration with the Capture Agent;
  • every subscription of the source, with its columns, indexes, statistics, schedule and snapshot group memberships (the snapshot groups themselves remain);
  • the source's Capture Agent connection information, and its open and pooled connections.

The Replicator Service refuses while one of the source's subscriptions or groups is running ("Cannot delete source '...'. Dependent group '...' is busy."). Wait for the run to finish or stop it, and try again.

Deleting a source doesn't change the source database or the Capture Agent's configuration. To stop capturing changes, delete the Capture Agent in SQDR Control Center (see Capture Agent header and actions).

How a source is used

  • Connections. The Replicator Service opens connections to the source as subscriptions and groups need them and keeps some open for reuse, within the source's limits (see Advanced Options). They are listed on the Connections tab of the Monitoring page (see Connections).
  • Incremental sources. The Capture Agent reads the source database's log or journal and stages the changes in its staging database. When you save a source with a Capture Agent schema, the Replicator Service reads the Capture Agent's connection information from that schema and connects to the staging database (connection type Staging). A new incremental source is saved only if this works.
  • Defaults. The source's default database and schema prefill the Subscription Wizard's filter and new incremental groups (see Defaults).

To set up the Capture Agent itself, see Add a Capture Agent and the page for your source database.