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

SQL Anywhere 12.0.1 » SQL Anywhere 服务器 - 数据库管理 » 数据库监控 » SQL Anywhere SNMP Extension Agent » SQL Anywhere MIB 参考 » saMetaData 表

 

saDbMetaData.saDbStatMetaDataTable

此表包含有关数据库统计信息的元数据。

dbsasnmp.ini 文件中的数据库编号。

OID 类型 名称 返回值
1.3.6.1.4.1.897.2.4.2.1.1.1.db Integer32 saDbStatIndex db
1.3.6.1.4.1.897.2.4.2.1.1.2.db Integer32 saDbStatObjType 21
1.3.6.1.4.1.897.2.4.2.1.1.3.db Integer32 saDbStatType 12
1.3.6.1.4.1.897.2.4.2.1.1.4.db OID saDbStatOID SQL Anywhere MIB 条目的 OID3
1.3.6.1.4.1.897.2.4.2.1.1.5.db String saDbStatName 统计信息名称

1 值:1 为服务器,2 为数据库

2 值:1 为统计信息,2 为属性,3 为选项

3 返回的 OID 不包括数据库编号。必须先向该 OID 添加数据库编号,才能在查询中使用它。