Connections used by the Message Agent

The Message Agent uses a number of connections to the database server. These are:

  • One global connection, alive all the time the Message Agent is running.
  • One connection for scanning the log. This connection is alive during the scan phase only.
  • One connection for executing commands from the log-scanning thread. This connection is alive during the scan phase only.
  • One connection for processing synchronize subscription requests. This connection is alive during the send phase only.
  • One connection for each worker thread. These connections are alive during the receive phase only.