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
|
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.
|
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. |