mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 13:11:32 +00:00
Document --type=rawlog in pqd (bug 1171968).
This commit is contained in:
@@ -16072,6 +16072,23 @@ database.
|
|||||||
Server-side prepared statements are supported. SSL-encrypted traffic cannot be
|
Server-side prepared statements are supported. SSL-encrypted traffic cannot be
|
||||||
inspected and decoded.
|
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
|
=back
|
||||||
|
|
||||||
=item --until
|
=item --until
|
||||||
|
Reference in New Issue
Block a user