MSmerge_sessions (Transact-SQL)

適用於:SQL Server

MSmerge_sessions數據表包含記錄數據列,其中包含先前 合併代理程式 作業會話的結果。 每次執行 合併代理程式 時,都會將新的數據列新增至此數據表。 此數據表會儲存在散發資料庫中。

資料行名稱 資料類型 描述
session_id int 合併代理程式 作業會話的標識碼。
agent_id int 合併代理程式 的標識碼。
start_time datetime 作業開始的時間執行。
end_time datetime 作業完成的時間執行。
duration int 此作業會話的累計持續時間,以秒為單位。
delivery_time int 套用一批變更所花費的秒數。
upload_time int 上傳變更至發行者所花費的秒數。
download_time int 下載訂閱者變更所花費的秒數。
delivery_rate float 每秒傳遞命令的平均數目。
time_remaining int 使用中會話中剩餘的估計秒數。
percent_complete decimal 使用中會話中已傳遞之總變更的估計百分比。
upload_inserts int 在發行者端套用的插入數目。
upload_updates int 在發行者端套用的更新數目。
upload_deletes int 在發行者端套用的刪除數目。
upload_conflicts int 在發行者端套用變更時發生的衝突數目。
upload_conflicts_resolved int 在已解決的發行者端套用變更時發生的衝突數目。
upload_rows_retried int 要上傳至重試之發行者的數據列數目。
download_inserts int 在訂閱者端套用的插入數目。
download_updates int 訂閱者端所套用的更新數目。
download_deletes int 在訂閱者端套用的刪除數目。
download_conflicts int 在訂閱者端套用變更時發生的衝突數目。
download_conflicts_resolved int 在已解決的訂閱者端套用變更時發生的衝突數目。
download_rows_retried int 要下載到重試訂閱者的數據列數目。
schema_changes int 會話期間所套用的架構變更數目。
metadata_rows_cleanedup int 會話期間清除元數據的數據列數目。
runstatus int 執行中狀態:

1 = 開始。

2 = 成功。

3 = 進行中。

4 = 閑置。

5 = 重試。

6 = 失敗。
estimated_upload_changes int 必須在發行者端套用的估計變更數目。
estimated_download_changes int 必須在訂閱者端套用的估計變更數目。
connection_type int 上傳期間所使用的連線:

1 = 局域網路 (LAN)。

2 = 撥號網路連線。

3 = Web 同步處理。
timestamp timestamp 此數據表的時間戳數據行。

另請參閱

複寫資料表 (Transact-SQL)
複寫檢視 (Transact-SQL)