Daniel Nichter
|
60c28c0b30
|
Remove --[no]optimize-xor; it's always on now. Add prefix TS with day and month.
|
2011-09-22 10:47:54 -06:00 |
|
Daniel Nichter
|
bbae1ba9cf
|
Add TS to output. Don't require initial n and t.
|
2011-09-22 09:04:11 -06:00 |
|
Daniel Nichter
|
9a3899d9d0
|
Fix typo.
|
2011-09-21 11:22:43 -06:00 |
|
Daniel Nichter
|
f6fb8b44bd
|
Decompose ReplicaLagLimiter into ReplicaLagWaiter and WeightedAvgRate. Don't use OptionParser in NibbleIterator; use chunk_size arg instead.
|
2011-09-21 11:19:49 -06:00 |
|
Daniel Nichter
|
d979821efe
|
Rewrite ReplicaLagLimiter::wait().
|
2011-09-21 10:30:33 -06:00 |
|
Daniel Nichter
|
30dc37e3a5
|
Debug-print initial chunk size.
|
2011-09-20 11:51:40 -06:00 |
|
Daniel Nichter
|
412e9e4e18
|
Allow initial values to be zero for ReplicaLagLimiter::new(). Return 1/0/death from ReplicaLagLimiter::wait().
|
2011-09-20 11:28:00 -06:00 |
|
Daniel Nichter
|
be9337a202
|
Pass NibbleIterator obj to callbacks.
|
2011-09-20 10:05:37 -06:00 |
|
Daniel Nichter
|
a19dd0b16c
|
Simplify ReplicaLagLimiter::update().
|
2011-09-20 08:59:33 -06:00 |
|
Daniel Nichter
|
26b99b20ad
|
Use weighted exp avg instead of moving avg for ReplicaLagLimiter::update(). Use "LIMIT ?, 2" for ub_sql/sth in NibbleIterator.
|
2011-09-19 11:41:41 -06:00 |
|
Daniel Nichter
|
b1e01be2c2
|
Finish, test, and docu ReplicaLagLimiter.
|
2011-09-19 09:06:30 -06:00 |
|
Daniel Nichter
|
006b93ddf9
|
Create ReplicaLagLimiter. Replace --max-lag, --check-interval, and --check-slave-lag with --replica-lag and --replica-lag-dsn. Use TableParser::get_table_status() in NibbleItertor. Eval SHOW TABLE STATUS. Auto-add "n" (name) part to parsed DSNs.
|
2011-09-16 17:35:40 -06:00 |
|
Daniel Nichter
|
bc2401ebf5
|
Remove MySQLDump from pt-table-checksum. Use "$tp" instead of "$du" in SchemaIterator.
|
2011-09-15 09:41:47 -06:00 |
|
Daniel Nichter
|
756142c1d1
|
Remove MySQLDump; move get_create_table() and get_table_status() to TableParser and remove saving results in each function.
|
2011-09-15 09:39:32 -06:00 |
|
Daniel Nichter
|
d881fa0b35
|
Change --chunk-size to type size. Make TIME column %.3f. Make OptionParser report invalid sizes.
|
2011-09-14 10:40:42 -06:00 |
|
Daniel Nichter
|
676a7aa20f
|
Fix cols, sep, trim, and float precision. Re-add --columns.
|
2011-09-14 10:16:43 -06:00 |
|
Daniel Nichter
|
5f2cdad299
|
Implement MasterSlave::get_slaves() to get cxns from a DSN table. Add comments explaining use_repl_db().
|
2011-09-13 09:27:59 -06: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 |
|
Daniel Nichter
|
1373f69361
|
Fix OptionParser to parse new version format.
|
2011-09-01 09:01:34 -06:00 |
|
Daniel Nichter
|
a7ab27bb54
|
Don't get min/max a 2nd time in _chunk_char(). Use where in _chunk_char(). Test char chunking world_city.name with real range stats. Add failing pt-table-checksum char chunk --where test.
|
2011-08-27 11:17:28 -06:00 |
|
Daniel Nichter
|
2c7257caff
|
More stabilizing Daemon.t.
|
2011-08-24 11:20:27 -06:00 |
|
Daniel Nichter
|
ff59f479e6
|
Add parentheses to avoid ambiguity.
|
2011-08-23 08:29:47 -06:00 |
|
Daniel Nichter
|
f23ca1af89
|
Fix and test --version. Add CHECK to update-modules.
|
2011-08-12 09:03:56 -06:00 |
|
Daniel Nichter
|
1a720f7c67
|
Removed unused modules.
|
2011-08-02 17:32:12 -06:00 |
|
Daniel Nichter
|
1e6c4daf23
|
Fix debug statement.
|
2011-08-02 16:24:59 -06:00 |
|
Daniel Nichter
|
743f29155b
|
Rewrite pt-log-player player.t.
|
2011-07-14 11:52:13 -06:00 |
|
Daniel Nichter
|
31398457f4
|
Fix pt-log-player tests.
|
2011-07-14 11:37:49 -06:00 |
|
Daniel Nichter
|
7526f97224
|
Fix and make tests more reliable.
|
2011-07-14 11:05:05 -06:00 |
|
Daniel Nichter
|
db76b3ca30
|
Make pt-archiver tests more reliable on weird, slow boxes like my vbox.
|
2011-07-14 09:57:16 -06:00 |
|
Daniel Nichter
|
ea0b8c3d5a
|
Remove unused modules and their tests.
|
2011-07-13 16:55:38 -06:00 |
|
Daniel Nichter
|
1480606bb2
|
Fix MasterSlave::get_slave_lag(). Revert pt-table-checksum to use old SchemaIterator. Remove pt-table-usage tests. Fix use of var from another package in pt-query-digest. Remove reference to $VERSION from pt-show-grants. Change mk- to pt- in pt-variable-advisor sample.
|
2011-07-13 16:36:14 -06:00 |
|
Daniel Nichter
|
b4b5f3d7b0
|
Fix pt-fifo-split.t. Remove db and tbl progress from pt-index-usage until those can be implemented in SchemaIterator. Use new Schema and SchemaIterator in pt-index-usage. Add PerconaTest.pm (copy of MaatkitTest.pm).
|
2011-07-13 11:30:03 -06:00 |
|
Daniel Nichter
|
4127a165bc
|
Change mk- to pt- in QueryRewriter.pm.
|
2011-07-12 16:40:00 -06:00 |
|
Daniel Nichter
|
39ea018581
|
Finish re-branding tools. Remove pt-schema-advisor.
|
2011-07-12 16:36:36 -06:00 |
|
Daniel Nichter
|
b805f7c92d
|
Remove $Revision$ and finish re-branding modules. Rename MaatkitTest.pm to PerconaTest.pm. Put copyrights on one line.
|
2011-07-12 15:47:07 -06:00 |
|
Daniel Nichter
|
64ddb421e5
|
Change maatkit to percona-toolkit in OptionParser defaults files.
|
2011-07-12 09:06:43 -06:00 |
|
Daniel Nichter
|
55c69ffbc1
|
Move module docu to work for NaturalDocs.
|
2011-07-02 12:29:08 -06:00 |
|
Daniel Nichter
|
a9e002cc5a
|
Add Aspersa tools, their tests, and util/test-bash-tool.
Update and simplify copyright notices.
|
2011-07-01 10:29:50 -06:00 |
|