Query_log plugin

This plugin parses queries from query log files. It can preserve query execution time with --query-log-preserve-query-time option. The --query-log-read-count options allows to replay query log file several times (NYI). The difference between this and --loop options should be that --loop reports at the end of each execution whereas --query-log-read-count reports once after all executions.

The example of usage: Run percona_playback/test/basic-slow.log on default libmysqlplugin settings:

$ percona_playback --db-plugin=libmysqlclient --query-log-file=./percona_playback/test/basic-slow.log

The other options description can be found in “help” message.

Call Us
+1-888-316-9775 (USA - Sales)
+1-208-473-2904 (USA - Sales)
+44-208-133-0309 (UK - Sales)
+1-877-862-4316 (Emergency)
+1-855-55TRAIN (Training)
+1-925-271-5054 (Training)

Previous topic

Plugin Documentation

Next topic

tcpdump plugin

This Page

© Copyright 2011-2013 Percona Ireland Ltd.
Except where otherwise noted, this documentation is licensed under the following license:
CC Attribution-ShareAlike 2.0 Generic
Created using Sphinx 1.1.3.
This documentation is developed in Launchpad as part of the Percona Playback source code.
If you spotted innacuracies, errors, don't understood it or you think something is missing or should be improved, please file a bug.