关于Windows Server 2003 性能计数器数据存储到数据库后发现数据似乎不对

selfMe 2009-02-18 03:00:14
各位好:
小弟在做性能监控,前段共有7台web服务器,我按照文档配置了Windows性能计数器,每三秒做一次数据采集,通过DSN连接到后端一台数据库服务器 上,现在有两个问题:
1.我用语句查询数据库内容发现记录详细指标的数据库中的表CountData数据不对,似乎都是0或1,接下来我使用Windows性能计数器通过DSN打开显示数据库中记录的状态数据也是不正常的;
2.我查找资料发现只有通过系统监视器才能够看到数据库中数据的结果,我想定制网页,给相关人员去实时查看,但是没有数据库的结构说明,呵呵,不知道哪位高人可以指导一下。
不过我的数据比较多了,一个多礼拜了,记录已经上六十多万条了。
小弟在此谢过了。
似乎不能直接贴图,呵呵
...全文
147 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
wangd1121 2009-03-04
  • 打赏
  • 举报
回复
你可以参照下面的文章:http://www.cnitblog.com/nana/archive/2008/04/29/43087.html
里面有对三个表的说明及查询的语句
CounterData
The CounterData table contains a row for each counter that is collected at a particular time. There can be a large number of these rows.

CounterDetails
The CounterDetails table describes a specific counter on a particular computer or node

DisplayToID
The DisplayToID table establishes a relation between the user-friendly string displayed by the System Monitor to the GUID stored in the other tables.

6,850

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧