Hi, Vadim! On May 28, Vadim Tkachenko wrote: > > Yes, I understand this is not best implementation, however is there > any other way to have per-thread statistics for plugin and then have > access to it to write to slow-log ?
per-thread statistics - yes. writing to the slow log, no, plugins cannot affect what's written into the slow log. > Correct implementation may require changes in plugin interface, but I > am open for recommendations. What about an option to write SHOW STATUS to the slow log ? Only the differences since the last query, to reduce the amount of noise in the log. (this is similar to the WL#4906, that I've recently created) Regards / Mit vielen Grüßen, Sergei -- __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Sergei Golubchik <[email protected]> / /|_/ / // /\ \/ /_/ / /__ Principal Software Engineer/Server Architect /_/ /_/\_, /___/\___\_\___/ Sun Microsystems GmbH, HRB München 161028 <___/ Sonnenallee 1, 85551 Kirchheim-Heimstetten Geschäftsführer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel Vorsitzender des Aufsichtsrates: Martin Häring _______________________________________________ Mailing list: https://launchpad.net/~maria-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~maria-developers More help : https://help.launchpad.net/ListHelp

