Brian Fraser
8da8d1ff61
Diskstats.pm: Wrong math for millisecond to second.
...
Sorry about that. Mind bug on my side.
2011-12-16 13:55:31 -03:00
Brian Fraser
13c9c5b0bb
Added the actual pt-diskstats tool.
...
Missing a doc overhaul and tests, but this deals with most of the
feature upgrades in the blueprint.
The shell version of pt-diskstats is now in bin has pt-diskstats-shell,
in case that's needed.
2011-12-16 13:40:22 -03:00
Brian Fraser
7b12dbec64
Work in progress v3: Working interactive mode, initial documentation.
...
With this most of the interactive mode should be working.
pt_diskstats.pm has the documentation and can be used for testing,
which should be in the next commit.
This commit also includes the revamped command line options.
2011-12-15 20:26:55 -03:00
Brian Fraser
0fd09e8f6e
Work in progress v2: Redesign pt-diskstats in Perl.
2011-12-13 14:53:05 -03:00
Brian Fraser
43b29d6374
Work in progress: Redesign pt-diskstats in Perl.
...
Mostly bits and pieces at the moments. ReadKeyMini is a portable-ish
Term::ReadKey. Used here by DiskstatsMenu, which is currently only
for show.
Diskstats has most of the logic of the old pt-diskstats, with parts
now implemented by the DiskstatsGroupBy* classes; The latter subclass
the former.
As mentioned at the start, this is a work in progress. In addition to to
not having all the parts attached, also missing are the data-gathering mode,
the command-line argument parsing, and a large amount of tests.
2011-12-08 19:26:04 -03:00
Daniel Nichter
bbfaa22615
Merge fix-bug-856065.
2011-11-14 09:28:05 -07:00
Daniel Nichter
26a42a24d5
Add back --quiet and test pt-trend.
2011-11-14 09:23:47 -07:00
Daniel Nichter
bf6f70049a
Merge fix-bug-887688.
2011-11-09 08:17:39 -07:00
Daniel Nichter
2f9ab4081a
Fix prepared report for statements without corresponding prep or exec.
2011-11-08 12:53:50 -07:00
Daniel Nichter
4f1fa405b7
Merge fix-bug-884504.
2011-11-04 11:32:44 -06:00
Daniel Nichter
1904542c4b
Check that pt-collect exists before starting.
2011-11-04 11:29:26 -06:00
Daniel Nichter
b2d2cf38f1
Merge fix-bug-857091.
2011-11-04 10:53:15 -06:00
Daniel Nichter
ebe28781e2
Get tools from http://www.percona.com/get/ so curl works.
2011-11-04 10:44:10 -06:00
Daniel Nichter
8282d4d6e3
Merge fix-bug-857104.
2011-11-04 10:28:59 -06:00
Daniel Nichter
aa1b0802a2
Use $PR_mext instead of pt-mext.
2011-11-04 10:22:34 -06:00
Daniel Nichter
cd5611b8b3
Change mext to pt-mext.
2011-11-04 10:15:20 -06:00
Daniel Nichter
dfad96537e
Merge fix-bug-821717.
2011-10-11 08:37:14 -06:00
Daniel Nichter
7da33234f5
Fix bug 821717: pt-tcp-model --type=requests crashes.
2011-10-11 08:31:42 -06:00
Daniel Nichter
ccd1a2a7f8
Merge Rodrigo's pt-docs-percona-theme.
2011-09-14 08:50:32 -06:00
Daniel Nichter
bbbdabbaa3
Merge nibble-iterator.
2011-09-14 08:31:08 -06:00
Rodrigo Gadea
5b348757c0
Fixed drop-down menues in layout and added tags to bug reporting
2011-09-13 02:20:22 -03:00
Daniel Nichter
792c3a6638
Use Data::Dumper so debug statement works.
2011-09-12 10:53:53 -06:00
Daniel Nichter
e2282b0f9e
Add RowChecksum::get_crc_args().
2011-09-12 10:29:26 -06:00
Daniel Nichter
0f05ca9b94
Fix multi-column index nibbling. Remove extra spaces in generated statements.
2011-09-12 08:14:57 -06:00
Daniel Nichter
3ed822e8e6
Implement dynamic chunk size, set_chunk_size().
2011-09-12 07:32:19 -06:00
Daniel Nichter
0bb4497fbe
Avoid recursion in main NibbleIterator loop.
2011-09-11 12:32:26 -06:00
Daniel Nichter
69cee0d26e
Close all sths when obj is destroyed.
2011-09-11 11:41:59 -06:00
Daniel Nichter
985ee65928
Pass EXPLAIN sths to callbacks.
2011-09-11 11:10:11 -06:00
Daniel Nichter
f19472b471
Pass nibbleno to callbacks.
2011-09-11 10:48:53 -06:00
Daniel Nichter
8ce093655f
Add dms arg, remove before_row callback, pass some args to callbacks, get next boundary if no rows (so exec_nibble callback can skip nibbles).
2011-09-11 10:22:40 -06:00
Daniel Nichter
84f7c47ff4
Rename new TableChecksum to RowChecksum and revert TableChecksum to r108. This will avoid completely break TableSync*.pm and pt-table-sync.
2011-09-10 13:46:55 -06:00
Daniel Nichter
968d10ac37
Refactor TableChecksum for NibbleIterator (use only BIT_XOR, return just column list, etc.).
2011-09-10 12:21:00 -06:00
Daniel Nichter
c989bd29dd
First working NibbleIterator.
2011-09-09 17:29:28 -06:00
Daniel Nichter
7fde36a65b
Create NibbleIterator. Cleanup TableNibbler. Fix bug in SchemaIterator.
2011-09-09 11:50:19 -06:00
Rodrigo Gadea
e9575dc006
Sidebar fix
2011-09-07 16:49:06 -03:00
Rodrigo Gadea
25db575c05
Applied Percona's Theme and markup refactory
2011-09-07 04:24:23 -03:00
Daniel Nichter
43aebffad1
Build percona-toolkit-1.0.1
2011-09-01 10:00:38 -06:00
Daniel Nichter
cdd5be4565
Update OptionParser in all tools.
2011-09-01 09:04:24 -06:00
Daniel Nichter
1373f69361
Fix OptionParser to parse new version format.
2011-09-01 09:01:34 -06:00
Daniel Nichter
dcceaae66b
Fix typo: "TESTS" not "TEST" makes prove happy.
2011-09-01 08:46:50 -06:00
Daniel Nichter
3a111182eb
Fix pt-sift to fetch and eval programs correctly. Lists these programs in the sys reqs pod section.
2011-08-31 11:28:01 -06:00
Daniel Nichter
25d47f2644
Quote > to make test not file.
2011-08-31 11:16:42 -06:00
Daniel Nichter
70a7a62c1f
Use default values for disk pct full and mb free.
2011-08-31 10:31:46 -06:00
Daniel Nichter
7a9c4041a8
Fix build-packages.
2011-08-31 10:03:30 -06:00
Daniel Nichter
8c6f6a7f17
Remove "internal" bugs from Changelog. Make build-packages write simple version and update sphinx-build/conf.py. Make write-user-docs remove double blank lines. Remove pt-checksum-filter and other removed tools from user docs.
2011-08-31 09:44:31 -06:00
Daniel Nichter
52ef2062e6
Changelog for 1.0.1. Use simplest version string in all tools.
2011-08-31 08:19:18 -06:00
Daniel Nichter
e91aad978f
Fix pt-index-usage save_results.t.
2011-08-27 12:47:55 -06:00
Daniel Nichter
28d374dbd5
Merge fix-bug-821673.
2011-08-27 12:34:10 -06:00
Daniel Nichter
d567e3d282
Restart slave1 so subsequent tests don't try to connect to phantom 12347.
2011-08-27 12:27:11 -06:00
Daniel Nichter
b2a982f9ea
Update a test result that is now correct.
2011-08-27 12:22:49 -06:00