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 SNMP Extension Agent » SQL Anywhere MIB 参考 » saMetaData 表

 

saDbMetaData.saDbPropMetaDataTable

此表包含有关数据库属性的元数据。

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

OID 类型 名称 返回值
1.3.6.1.4.1.897.2.4.2.2.1.1.db Integer32 saDbPropIndex db
1.3.6.1.4.1.897.2.4.2.2.1.2.db Integer32 saDbPropObjType 21
1.3.6.1.4.1.897.2.4.2.2.1.3.db Integer32 saDbPropType 22
1.3.6.1.4.1.897.2.4.2.2.1.4.db OID saDbPropOID SQL Anywhere MIB 条目的 OID3
1.3.6.1.4.1.897.2.4.2.2.1.5.db String saDbPropName 属性名称

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

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

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