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

SQL Anywhere 11.0.1 (中文) » SQL Anywhere 服务器 - 数据库管理 » 监控数据库 » SQL Anywhere 监控器

 

安装的对象

下表列出了监控 SQL Anywhere 数据库时安装的对象。

对象名称 对象类型 说明
sa_monitor_user 数据库用户 此只读用户被添加到数据库中以收集度量。由于此用户被添加到正在监控的数据库中,因此不必将 DBA 凭证存储在所监控数据库以外的任何位置。可能有必要允许 sa_monitor_user 跳过口令验证。sa_monitor_user 具有只有监控器知道的随机口令,且其不具有管理员特权。
sa_monitor_connection_failure

该表包含有关失败链接尝试的度量,它与 sa_monitor_connection_failed_event 一起使用。当从监控器检索度量时,此表中的度量会被删除。

sa_monitor_connection_failed_event 事件 该事件在出现 ConnectFailed 系统事件时(每次连接尝试失败时)触发,并将一条记录插入到 sa_monitor_connection_failure 表中。
sa_monitor_count_unsubmitted_crash_reports 功能 该函数调用 xp_srvmon_count_unsubmitted_crash_reports 过程,以求得未提交的崩溃报告的总数。
删除监控对象

因为数据库对象是由单个所有者所拥有,所以您可以通过执行以下语句将其全部删除。

DROP USER sa_monitor_user;
重新安装监控对象

要重新安装数据库对象,请参见修复数据库资源