MySQL busiest database

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • M.

    MySQL busiest database

    Is there a way (perhaps by using PhpMyAdmin?) to see which MySQL database is
    getting the most queries on a server?


  • Calico Jack

    #2
    Re: MySQL busiest database

    M. wrote:[color=blue]
    > Is there a way (perhaps by using PhpMyAdmin?) to see which MySQL database is
    > getting the most queries on a server?
    >
    >[/color]
    Take a look at the command mysqladmin. Specifically the processlist.

    mysqladmin -uUSERNAME -pPASSWORD processlist

    You could pipe the results into "wc -l" to count the lines it returns
    (which includes 4 lines for the formatting). Hope this helps.

    --

    -Calico Jack-


    Comment

    Working...