]]>
]]>

Percona Logjam User's Manual

Percona Logjam is a tool to help replay production traffic against a database in multiple threads. It is unreleased; when the code is ready to release, there will be more information on this user's manual. Until then, this will serve as a specification of what remains to get the code release-ready.

Release Tasks

Tasks we must finish before the tool is ready to release:

  • Rename the tool to percona-logjam.
  • Permit the tool to read from FILEs on the command-line as well as from STDIN.
  • Get a code review.
  • Create statically-linked 32-bit and 64-bit builds of the tool so it can be used without installing dependencies. (Oleg's task)
  • Change the command-line options as follows:
    1. change usage information to “Usage: percona-logjam [OPTIONS] [FILE…]”
    2. update the help text for all of the options
    3. make the default port = 3306
    4. make the 'bool' options not require an argument
    5. change verbose-error to verbose-errors
    6. change passwd to password
    7. change disable_read to skip-read-queries
    8. change disable_write to skip-write-queries
    9. change db to database
    10. change block-count to parser-block-count
    11. change block-size to parser-block-size
    12. Change disable_foreigh_keys_check_in_write_thread option to –skip-foreign-key-checks
  • Change the column names in the output (not yet defined)
  • Write full documentation here
  • Write an announcement blog post

Development Status

Percona Logjam is currently in unreleased Beta.

Synopsis and Sample Output

FIXME To be completed later.

Installing Percona Logjam

For portability and ease of use, we plan to build a single statically linked binary, which can be downloaded and used as-is.

Running Percona Logjam

FIXME To be completed later.

Command-Line Options

The following is a complete list of Percona Logjam's command-line options. You can always find a full list of the available command-line options and brief usage information by giving the --help option.

Option name Type Default Value Meaning
--help bool Shows program information and usage.
--database string Database to use.
--dry-run bool Do not execute any queries (for testing).
--host string Connect to host.
--max-line-length int 1048576 The maximum number of bytes expected in a line.
--parser-block-count int 1024 The number of blocks in the parser's queue.
--parser-block-size int 4096 The size of the blocks in the parser's queue.
--password string Password to use when connecting to server.
--port int Port number to use for connection.
--query-queue-buffer-size int 3306 Size of query queue buffer
--read-thread-count int 1 The number of threads to execute read-only queries.
--skip-foreign-key-checks bool Make the writer thread set FOREIGN_KEY_CHECKS=0.
--skip-read-queries bool Do not execute read-only queries (SELECT, …).
--skip-write-queries bool Do not execute write queries (DELETE, UPDATE, …).
--socket string Socket file to use for connection.
--user string User for login if not current user.
--verbose-errors bool Print parsing errors, including position in the log.

Specifying Log Files

Percona Logjam reads from each FILE that you specify on the command line after program options. If you do not specify any FILE, or if FILE is -, Percona Logjam reads from standard input.

Source Code

The Percona Logjam source code is not yet available.

Getting Help and Support

For general discussion, please use the Percona-Discussion Google Group. You can use the #percona IRC channel on FreeNode to chat with community members.

For commercial support, maintenance packages, or to sponsor features, please contact Percona Sales.

Authors

Percona Logjam was written by Oleg Tsarev, based on ideas and specifications from Vadim Tkachenko and Baron Schwartz.

 
percona-logjam/start.txt · Last modified: 2011/07/17 21:05 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Contact Us 24 Hours A Day
Support Contact us 24×7
Emergency? Contact us for help now!
Sales North America (888) 316-9775 or
(208) 473-2904
Sales
Europe
+44-208-133-0309
Sales Latin America +54-0800-666-3243 (Arg.)
+55-0800-020-4918 (Brazil)
Training (855) 55TRAIN or
(925) 271-5054
Share This
]]> ]]>