How the Message Agent for Adaptive ServerEnterprise works
Thissection describes how the Message Agent for Adaptive Server
Enterpriseworks. Thereare some significant differences between how the
MessageAgent for Adaptive Server Enterprise and the Message Agent for
AdaptiveServer Anywhere operate, which accommodate the different roles
ofthe two servers.
Forinformation on features of the Message Agent that are common to
AdaptiveServer Anywhere and Adaptive Server Enterprise, see “Running
theMessage Agent” on page 223.
MessageAgent is
ssremote TheMessage Agent for Adaptive Server Enterprise is the following
executable:
OnWindows operating systems, the Message Agent is
ssremote.exe
OnUNIX operating systems, the Message Agent is
ssremote
.

Scanning the transaction log

TheMessage Agent scans the Adaptive Server Enterprise transaction log in
orderto collect transactions to be sent to remote databases. It stores these
transactionsin a stable queue.
Formore information about the stable queue, see “The stable queue” on
page265. Formore information about how the Message Agent uses the
stablequeue, see “Message Agent operation phases” on page 266.
TheSQL Remote Message Agent uses the same transaction log scanning
interfaceas the Adaptive Server Enterprise Log Transfer manager (LTM).
AdaptiveServer Enterprise maintains a truncation point, which is an
identifierfor the oldest page in the transaction log needed by the replication
system.
TheSQL Remote Message Agent sets the truncation point as soon as
transactionsare scanned from the transaction log and committed in the
stablequeue. This allowsthe dump transaction command to reclaim space
inthe transaction log as soon as possible. The Message Agent does not wait
untilconfirmation is received from remote databases before setting the
truncationpoint.
264