MScached_peer_lsns (Transact-SQL)


THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

The MScached_peer_lsns table is used to track the LSN values in the transaction log that are used to determine which commands to return to a given Subscriber in peer-to-peer replication. This table is stored in the distribution database.

Column nameData typeDescription
agent_idintThe ID of the Distribution Agent.
originatorsysnameThe name of the originating Publisher.
originator_dbsysnameThe name of the originating publication database.
originator_publication_idintIdentifies the originating publication.
originator_db_versionintIdentifies the version number of the originating database.
originator_lsnvarbinary(16)The LSN of the originating transaction.

LSN values are only used immediately after insertion, and they have no lasting meaning in the system.

Replication Tables (Transact-SQL)
Replication Views (Transact-SQL)

Community Additions