Enterprise Replication Queues
One group of sysmaster tables shows information about Enterprise Replication queues. The sysmaster database reports the status of these queues in the tables that have the suffixes _buf and _txn.
- syscdr, which indicates that the table describes Enterprise Replication
- An abbreviation that indicates which queue the table describes
- A suffix, either _buf or _txn, which specifies whether the table includes buffers or transactions
SELECT * FROM syscdrsend_txn
SELECT cbkeyserverid,cbkeyid,cbkeypos,count(*),sum(cbsize)
from syscdrsend_buf
group by cbkeyserverid, cbkeyid, cbkeypos
order by cbkeyserverid, cbkeyid, cbkeypos
All queues are present on all the replication servers, regardless of whether the replication server is a source or a target for a particular transaction. Some of the queues are always empty. For instance, the send queue on a target-only server is always empty.
Each queue is two-dimensional. Every queue has a list of transaction headers. Each transaction header in turn has a list of buffers that belong to that transaction.