Merge lp:~ilyash/percona-toolkit/tcpdump-raw-queries into lp:percona-toolkit/2.1
Proposed by
Ilya Sher
Status: | Rejected |
---|---|
Rejected by: | Daniel Nichter |
Proposed branch: | lp:~ilyash/percona-toolkit/tcpdump-raw-queries |
Merge into: | lp:percona-toolkit/2.1 |
Diff against target: |
143 lines (+107/-0) 2 files modified
bin/pt-query-digest (+56/-0) lib/TcpdumpQueriesPrinter.pm (+51/-0) |
To merge this branch: | bzr merge lp:~ilyash/percona-toolkit/tcpdump-raw-queries |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Nichter | Disapprove | ||
Review via email: mp+124624@code.launchpad.net |
Description of the change
pt-query-digest: added --type tcpdumpq
Similar to tcpdump but output all queries. No digesting is performed. This can
be useful to reporoduce loads facilitating the replay of the actual queries.
To post a comment you must log in.
Thanks for the branch; it's well-written. I think, however, that there's an existing solution for this:
$ ./pt-query-digest --type tcpdump ../t/lib/ samples/ tcpdump/ tcpdump001. txt --print --no-report
# Time: 090412 09:50:16.805123
# Client: 127.0.0.1:42167
# Thread_id: 4294967296
# Query_time: 0.000274 Lock_time: 0.000000 Rows_sent: 0 Rows_examined: 0
select "hello world" as greeting;
So the output is a little different, but still has the same info. Does this work for you?