MySQL Forums
Forum List  »  MySQL Administrator

Re: Query statistics
Posted by: laalesh gurram
Date: June 08, 2010 12:42AM

Hi kalyan,

1) Total number of SELECT queries that hit to the server.
Check Com_select status variables

2) Total number of INSERT queries that hit to the server.
Check Com_Insert status variables
3) Total number of UPDATE queries that hit to the server.
Check Com_Update status variables

4) Total number of DELETE queries that hit to the server.
Check Com_Delete status variables

Add Global keyword to get the global count of queries. Unless you will get the session count.

Thanks & Regards
Laalesh.

Options: ReplyQuote


Subject
Written By
Posted
March 26, 2010 12:50AM
Re: Query statistics
June 08, 2010 12:42AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.