Database statistics
The Database
object keeps statistics on executed queries. You can check which queries were executed more often and how long it took to execute them as well as some other parameters. Check the QueryStat
class in the API Reference for more details.