Patch: microseconds_in_slow_query_log

Slow query log contain output format like this:

# Time: 090402 9:23:36 # User@Host: XXX @ XXX [10.X.X.X]

This patch allow change format like this:

# Time: 090402 9:23:36.123456 # User@Host: XXX @ XXX [10.X.X.X]

This patch is included as part of slow_extended.

Version-Specific Information

Variables Provided

slow_query_log_microseconds_timestamp

TypeSystem and command-line variable
ScopeGlobal
DynamicYes
Default0

Switch between microseconds precision in slow query (slow_query_log_microseconds_timestamp=ON) log and typical seconds precision (slow_query_log_microseconds_timestamp=OFF).

Related Reading

Please note that this is NOT a place to ask questions or report bugs. This comment system is only intended for users to share tips and documentation additions concerning particular document.
Please report bugs to https://bugs.launchpad.net/percona-project/+filebug and ask general questions in maillist Percona-discussions

Discussion

Enter your comment (wiki syntax is allowed):
NEQBX
 
patches/microseconds_in_slow_query_log.txt · Last modified: 2010/07/07 13:39 by oleg.tsarev
 
Except where otherwise noted, content on this wiki is licensed under the following license:GNU Free Documentation License 1.2
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki