源端:分发数据库的分发历史表MSdistribution_history
Column nameData typeDescriptionagent_idintThe ID of the Distribution Agent.runstatusintThe Running status:
1 = Start.
2 = Succeed.
3 = In progress.
4 = Idle.
5 = Retry.
6 = Fail.start_timedatetimeThe time to begin execution of the job.timedatetimeThe time the message is logged.durationintThe duration, in seconds, of the message session.commentsnvarchar(4000)The message text.xact_seqnovarbinary(16)The last processed transaction sequence number.current_delivery_ratefloatThe average number of commands delivered per second since the last history entry.current_delivery_latencyintThe latency between the command entering the distribution database and being applied to the Subscriber since the last history entry. In milliseconds.delivered_transactionsintThe total number of transactions delivered in the session.delivered_commandsintThe total number of commands delivered in the session.average_commandsintThe average number of commands delivered in the session.delivery_ratefloatThe average delivered commands per second.delivery_latencyintThe latency between the command entering the distribution database and being applied to the Subscriber. In milliseconds.total_delivered_commandsbigintThe total number of commands delivered since the subscription was created.error_idintThe ID of the error in the MSrepl_error system table.updateable_rowbitSet to 1 if the history row can be overwritten.timestamptimestampThe timestamp column of this table.
目标端:订阅端数据库中的订阅表MSreplication_subscriptions
Column nameData typeDescriptionpublishersysnameThe name of the Publisher.publisher_dbsysnameThe name of the Publisher database.publicationsysnameThe name of the publication.independent_agentbitIndicates whether there is a stand-alone Distribution Agent for this publication.subscription_typeintThe type of subscription:
0 = Push.
1 = Pull.
2 = Anonymous.distribution_agentsysnameThe name of the Distribution Agent.TimesmalldatetimeThe time of the last update by Distribution Agent.descriptionnvarchar(255)The description of the subscription.transaction_timestampvarbinary(16)Internal-use only.update_modetinyintThe type of update.agent_idbinary(16)The ID of the agent.subscription_guidbinary(16)The global identifier for the version of the subscription on the publication.subidbinary(16)The global identifier for an anonymous subscription.immediate_syncbitIndicates whether synchronization files are created or re-created each time the Snapshot Agent runs.