LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   SQL queries per page (PHP, MySQL) (https://www.linuxquestions.org/questions/programming-9/sql-queries-per-page-php-mysql-197968/)

Silent1 06-26-2004 11:44 AM

SQL queries per page (PHP, MySQL)
 
i'm busy doing doing some stats for my project (php,mysql) and was wondering about how many queries i have done per page rendered. Any idea how i would go about doing this? Is there some mysql query i can do that'll just tell me this? Thanks

david_ross 06-26-2004 02:24 PM

There isn't a php function to do it but you could create your own function and always use it to run queries then you can keep track of them quite easily.

sonesay 06-27-2004 11:15 PM

i remember seeing in mysqld a status report of how many querys were done.. but i think it gets reseted after you restart it.


All times are GMT -5. The time now is 08:02 AM.