如何使用c#了解数据库流量 [英] How to know Database traffic using c#

查看:123
本文介绍了如何使用c#了解数据库流量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好



我打算构建一个应用程序,我需要显示动态信息,如数据库服务器流量,连接数,每秒查询数和服务器状态。我可以从sql quey获得连接。但我很难知道每秒的流量和quries。有没有办法知道这些信息。我在远程系统上有mysql服务器社区版。我打算用c#.net win表单构建应用程序。



我遇到的一些地方select * from Master ..Sysprocesses..butt错误出现没有这样的表存在。请帮助



thnkyou



vikas

hello

i am planning to build an application where i need to show the dynamic information like database server traffic, no of connection, queries per second and server status. connection i can get from the sql quey. but i am having trouble to know the traffic and quries per second. is there any way to know these information. i have mysql server community edition on a remote system.i am planning to build the application in c#.net win forms.

some where i came across select * from Master..Sysprocesses..butt error appears no such table exist. please help

thnkyou

vikas

推荐答案

如果您使用的是MySQL,请查看 MySQL Monitoring&表现 [ ^ ]
If you are using MySQL, check this out MySQL Monitoring & Performance[^]

这篇关于如何使用c#了解数据库流量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆