Transact-SQL 参考

MSsnapshot_history

MSsnapshot_history 表包含与本地分发服务器关联的快照代理程序的历史记录行。该表存储在分发数据库中。

列名 数据类型 描述
agent_id int 快照代理程序的 ID。
runstatus int 运行状态:

1 = 开始
2 = 成功
3 = 正在进行
4 = 空闲
5 = 重试
6 = 失败

start_time datetime 开始执行作业的时间。
time datetime 记录消息的时间。
duration int 消息会话的持续时间(以秒为单位)。
comments nvarchar(255) 消息文本。
delivered_transactions int 在会话中传送的事务总数。
delivered_commands int 每秒传送的命令数。
delivery_rate float 平均每秒传送的命令。
error_id int Msrepl_error 系统表中的错误 ID。
timestamp timestamp 该表的时间戳列。