Theoptions available depend on the send frequency options selected for the
remoteusers. Sendingfrequency options are described in “Selecting a send
frequency”on page 206.
Torun the Message Agent in continuous mode
1. Ensure that every user has a sending frequency specified. Thesending
frequencyis specified by a SEND AT or SEND EVERY option in the
GRANTREMOTE statement (Adaptive Server Anywhere) or
sp_grant_remoteprocedure (Adaptive Server Enterprise).
2. Start the Message Agent without using the -b option.
Torun the Message Agent in batch mode
1. Either:
Haveat least one remote user who has neither a SEND AT nor a SEND
EVERYoption in their remote properties, or
Startthe Message Agent using the -b option.
Connections used by the Message Agent
TheMessage Agent uses a number of connections to the database server.
Theseare:
Oneglobal connection, alive all the time the Message Agent is running.
Oneconnection for scanning the log. Thisconnection is alive during the
scanphase only.
Oneconnection for executing commands from the log-scanning thread.
Thisconnection is alive during the scan phase only.
Oneconnection for the stable queue (Adaptive Server Enterprise only).
Thisconnection is alive during the scan and send phases.
Oneconnection for processing synchronize subscription requests. This
connectionis alive during the send phase only.
Oneconnection for each worker thread. Theseconnections are alive
duringthe receive phase only.
Replication system recovery procedures
SQLRemote replication places new requirements on data recovery practices
atconsolidated database sites. Standardbackup and recovery procedures
224