Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

starting an agent along with the mysql server

Status
Not open for further replies.

bakardi

Programmer
Jun 8, 2003
13
IN
is it possible to start an agent or say an application along with the mysql server.

The libmysqld - embedded mysql server library makes it possible to run the MySql server inside a client application,.But in my case , where i am designing a database monitor, the client application (an agent) needs to run as a background process- while the whole method of using MySql database remains same.

that is u start and use the Mysql database as usual, with the only difference that now something else also runs in the backgound (the monitoring agent).

what are the class of libraries used to implement this, any idea???
 
to put it simple ,

the database monitor should be implemented within the mysql server without having to restart it.
 
ya ! i hope this could me more an integrated part of MySql server.
advantages can be :

all the critical events are tracked down ensuring timely notification!

what do u think would be the correct way to implement the moinitor considering only mysql.
 
one more main important reason to use the monitor and MySql server as one is that mysql does not support triggers, hence certain events cannot be monitored such as:

dropped tables - names
number of times a table is visited
most quired table with name and count
server - number of restarts
server start up time**
most used database
query statistics - execution time, fasted query....
Connection performance
dropped user
user details - time since connected
table row lock monitoring
cpu usage per connection basis.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top