Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Remote » Managing SQL Remote systems » Subscription resynchronization

 

Synchronizing with the SQL Remote Message Agent (dbremote)

Replace the current contents of subscribed tables with a new copy.

Prerequisites

You must have the SYS_REPLICATION_ADMIN_ROLE system role.

Context and remarks

Use the Extraction utility (dbxtract) or the Extract Database Wizard to synchronize subscriptions. See Synchronizing subscriptions.

Extracting a large number of subscriptions, or synchronizing subscriptions to large, frequently-used tables, can slow database access. You can use the SEND AT clause to specify a time to synchronize when the consolidated database is not in heavy use.

 Task
  1. Connect to the consolidated database.

  2. Execute a SYNCHRONIZE SUBSCRIPTION statement.

    The SQL Remote Message Agent (dbremote) on the consolidated database sends a copy of all rows in the subscription to the subscriber. The SQL Remote Message Agent (dbremote) assumes that an appropriate database schema is in place at the remote databases.

    The SQL Remote Message Agent (dbremote) on the subscriber database receives the synchronization message and it replaces the current contents of the subscribed tables with the new copy.

Results

The current contents of the subscribed tables are replaced with the new copy.

 Cautions
 See also