Hi, On Sat, May 7, 2016 at 9:06 AM, Stanislav Malyshev <smalys...@gmail.com> wrote: > >> Is there any php extension available which help me out to give the >> statistics of >> all the queries execution details ? > > I'm not sure there is an extension doing specifically that, but any > profiler or debugger extension would be able to capture database calls, > and thus have access to this data. They usually would not dump this > information though, so one would need to modify them to do it. Also, you > may have better luck just enabling query logging in your database, most > databases allow to do that.
I would like to write one from years ago. It is not started yet, though. We need such extension because database level logging is useless without account information. If anyone need it now, you may use RunKit for this purpose. http://php.net/manual/en/book.runkit.php Replace query execution function/method with your version and log whatever you need. Regards, -- Yasuo Ohgaki yohg...@ohgaki.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php