Document --type=rawlog in pqd (bug 1171968).

This commit is contained in:
Daniel Nichter
2013-06-27 11:41:24 -07:00
parent fe40d88b0f
commit 194ca2462c

View File

@@ -16072,6 +16072,23 @@ database.
Server-side prepared statements are supported. SSL-encrypted traffic cannot be
inspected and decoded.
=item rawlog
Raw logs are not MySQL logs but simple text files with one SQL statement
per line, like:
SELECT c FROM t WHERE id=1
/* Hello, world! */ SELECT * FROM t2 LIMIT 1
INSERT INTO t (a, b) VALUES ('foo', 'bar')
INSERT INTO t SELECT * FROM monkeys
Since raw logs do not have any metrics, many options and features of
pt-query-digest do not work with them.
One use case for raw logs is ranking queries by count when the only
information available is a list of queries, from polling C<SHOW PROCESSLIST>
for example.
=back
=item --until