2018-02-12, 11:01 PM
A way to log queries that take longer than x seconds to execute should be logged so an administrator can see that there might be a problem. ( Probably default of 2 seconds ) My database_helper plugin does this and code could certainly be taken from it and applied to the database classes. The log would then be viewable in the Admin CP under Tools & Maintenance.