Bug #61572 | mysqldumpslow does not include output for rows examined | ||
---|---|---|---|
Submitted: | 20 Jun 2011 17:03 | Modified: | 28 Jun 2011 16:20 |
Reporter: | Kevin Benton | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Logging | Severity: | S4 (Feature request) |
Version: | 5.1.47 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Contribution |
[20 Jun 2011 17:03]
Kevin Benton
[20 Jun 2011 17:07]
Kevin Benton
mysqldump Patch
Attachment: mysqldump.diff (application/octet-stream, text), 2.82 KiB.
[28 Jun 2011 15:45]
Kevin Benton
Replacement now includes efficiency ( ( 100 * rows sent ) / rows examined ) and weight ( ( 100 - efficiency ) * query time )
Attachment: mysqldump.diff (application/octet-stream, text), 3.84 KiB.
[28 Jun 2011 15:47]
Kevin Benton
Replacing patch with new one that adds capability by adding two new fields that can be used for display and sorting: f = efficiency w = weighted efficiency The previously included patch is also included.
[28 Jun 2011 16:20]
Kevin Benton
All - the code attached to this bug up to this point is officially entered into the public domain. I am the creator of the code included herein and did not base this work on any other work except what has already been provided in mysqldumpslow as shown. I release all rights associated with this code.