Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (中文) » MobiLink - 服务器管理 » 使用 MobiLink 服务器技术 » MobiLink 监控器

 

MobiLink 统计信息属性

下面是在 MobiLink 监控器中提供的属性的列表。这些统计信息可以在 [新建监视项目] 窗口、[详细信息表] 窗格或 [同步属性] 窗口中查看。在 [同步属性] 窗口中,属性名称不包含下划线。

有关 [新建监视项目] 窗口的详细信息,请参见自定义您的统计信息

有关 [详细信息表] 的详细信息,请参见[详细信息表] 窗格

有关 [同步属性] 窗口的详细信息,请参见同步属性

同步统计信息

当未使用强制冲突模式时,MobiLink 统计信息属性返回同步的下列信息。

有关强制冲突模式的信息,请参见强制冲突统计信息

属性 说明
active 如果正在进行同步则为真。
apply_upload 上载数据应用到统一数据库所需的时间。
authenticate_user 执行用户验证(包括执行 authenticate_* 事件)的总时间。
begin_sync begin_synchronization 事件的总时间。
completed 如果同步已成功完成则为真。
conflicted_deletes 始终为零。
conflicted_inserts 始终为零。
conflicted_updates 导致冲突的更新行数目。仅当对某行成功调用了解决冲突脚本时才包括该行。
connect 当需要新的数据库连接时,数据库工作线程建立数据库连接所需的时间。例如,出现错误后或脚本版本发生变化时。
connect_for_download_ack 当需要新的数据库连接时,数据库工作线程建立数据库连接所需的时间。
connection_retries MobiLink 服务器重试连接统一数据库的次数。
download_bytes MobiLink 服务器内用来存储下载的内存量。这可以更好地指示同步对服务器内存的影响。
download_deleted_rows MobiLink 服务器从统一数据库中取得的行删除数(使用 download_delete_cursor 脚本)。
download_errors 下载过程中发生的错误数。
download_fetched_rows MobiLink 服务器从统一数据库中取得的行数(使用 download_cursor 脚本)。
download_filtered_rows 由于与 MobiLink 客户端上载的行相匹配而没有下载到此客户端的读取的行数。
download_warnings 下载过程中发生的警告数。
duration 由 MobiLink 服务器测量的同步的总时间。
end_sync end_synchronization 事件的总时间。
fetch_download 读取要从统一数据库下载的行以创建下载流所需的时间。
get_db_worker 获得空闲数据库工作线程所需的时间。
get_db_worker_for_download_ack 收到下载确认后,等待空闲数据库工作线程所花费的时间。
ignored_deletes 如果定义了 handle_error 或 handle_odbc_error 并返回 1000 或者对给定表没有定义 upload_delete 脚本,当调用 upload_delete 脚本时导致出错的上载删除行数。
ignored_inserts 忽略的上载插入行总数。它们被忽略的原因是:1) 在正常模式中没有 upload_insert 脚本或在强制冲突模式中没有 upload_new_row_insert 脚本,2) MobiLink 服务器调用相应脚本时出现了错误并且 handle_error 或 handle_odbc_error 事件返回 1000。
ignored_updates 导致冲突但解决冲突脚本未能成功调用或者未定义 upload_update 脚本的上载更新行数。
nonblocking_download_ack publication_nonblocking_download_ack 连接事件和 nonblocking_download_ack 连接事件所需的时间。
prepare_for_download prepare_for_download 事件总时间。
remote_id 用于唯一地标识远程数据库的远程 ID。
send_download 将下载流发送到远程数据库所需的时间。该时间取决于下载流的大小以及网络传输的带宽。对于仅上载同步,下载流只是一个上载确认。
start_time 同步开始的日期时间(ISO-8601 扩展格式)。
sync 唯一地标识 MobiLink 监控器会话中的同步的编号。
sync_deadlocks 统一数据库中为同步已检测到的死锁的数目。
sync_errors 同步时发生的错误总数。
sync_request 从建立远程数据库与 MobiLink 服务器之间的网络连接开始直至接收到上载流的第一批字节为止所花费的时间。
sync_tables 同步中涉及的客户端表数。
sync_warnings 同步时发生的警告数。
upload_bytes MobiLink 服务器内用来存储上载的内存量。这可以更好地指示同步对服务器内存的影响。
upload_deadlocks 上载过程中在统一数据库中检测到的死锁数。
upload_deleted_rows 从统一数据库中成功删除的行数。
upload_errors 上载期间发生的错误的数目。
upload_inserted_rows 在统一数据库中成功插入的行数。
upload_updated_rows 在统一数据库中成功更新的行数。
upload_warnings 上载期间发生的警告的数目。
user MobiLink 用户名。
version 同步版本的名称。
wait_for_download_ack 等待将下载应用到远程数据库以及远程数据库发送下载确认所花费的时间。
强制冲突统计信息

当处于强制冲突模式时,MobiLink 统计信息属性返回下列信息。

统计属性 说明
conflicted_deletes 使用 upload_old_row_insert 脚本成功插入到统一数据库内的上载删除行数。
conflicted_inserts 使用 upload_new_row_insert 脚本插入到统一数据库内的上载插入行数。
conflicted_updates 使用 upload_new_row_insert 或 upload_old_row_insert 脚本成功应用的上载更新行数。
ignored_deletes 如果定义了 handle_error 或 handle_odbc_error 并返回 1000 或者对给定表没有定义 upload_old_row_insert 脚本,当调用 upload_old_row_insert 脚本时导致出错的上载删除行数。
ignored_inserts 如果定义了 handle_error 或 handle_odbc_error 并返回 1000 或者对给定表没有定义 upload_new_row_insert 脚本,当调用 upload_new_row_insert 脚本时导致出错的上载插入行数。
ignored_updates 如果定义了 handle_error 或 handle_odbc_error 并返回 1000 或者对给定表没有已定义的 upload_new_row_insert 和 upload_old_row_insert 脚本,当调用 upload_new_row_insert 或 upload_old_row_insert 脚本时导致出错的上载更新行数。
upload_deleted_rows 始终为零。
upload_inserted_rows 始终为零。
upload_updated_rows 始终为零。