![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, I am looking for a way to know the number of requests currently running on my mySQL database. I found the SHOW FULL PROCESSLIST command displays the list of current request, but I am looking for a SQL command giving the number of requests, not the list of the requests. Is it possible to do in SQL ? Thank you. |
#3
| |||
| |||
|
|
El 02/11/2010 11:49, Yo escribió/wrote: Hello, I am looking for a way to know the number of requests currently running on my mySQL database. I found the SHOW FULL PROCESSLIST command displays the list of current request, but I am looking for a SQL command giving the number of requests, not the list of the requests. Is it possible to do in SQL ? Thank you. If you have the appropriate permissions: select count(*) from information_schema.processlist |
#4
| |||
| |||
|
|
I am looking for a way to know the number of requests currently running on my mySQL database. I found the SHOW FULL PROCESSLIST command displays the list of current request, but I am looking for a SQL command giving the number of requests, not the list of the requests. |
|
Is it possible to do in SQL ? Thank you. |
#5
| |||
| |||
|
|
El 02/11/2010 11:49, Yo escribió/wrote: Hello, I am looking for a way to know the number of requests currently running on my mySQL database. I found the SHOW FULL PROCESSLIST command displays the list of current request, but I am looking for a SQL command giving the number of requests, not the list of the requests. Is it possible to do in SQL ? Thank you. If you have the appropriate permissions: select count(*) from information_schema.processlist -- --http://alvaro.es- Álvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programación web:http://borrame.com -- Mi web de humor satinado:http://www.demogracia.com -- |
![]() |
| Thread Tools | |
| Display Modes | |
| |