MySQL statistics

By R

Hey all, i am in the process of optimizing MySQL. Is there a simple way using Elgg to see database statistics. I would like to output to the bottom of the page the total time to load the page, total number of queries for that page and what queries took most time.