mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-20 01:16:14 +00:00
PT-1595-percona toolkit docs still reference Maatkit (#591)
- Removed Maatkit left overs - Keeped links to Maatkit bugs and wiki - Updated brokn links
This commit is contained in:
@@ -7380,7 +7380,7 @@ server. Before using this tool, please:
|
||||
=head1 DESCRIPTION
|
||||
|
||||
pt-archiver is the tool I use to archive tables as described in
|
||||
L<http://tinyurl.com/mysql-archiving>. The goal is a low-impact, forward-only
|
||||
L<https://web.archive.org/web/20071014031743/http://www.xaprb.com/blog/2006/05/02/how-to-write-efficient-archiving-and-purging-jobs-in-sql>. The goal is a low-impact, forward-only
|
||||
job to nibble old data out of the table without impacting OLTP queries much.
|
||||
You can insert the data into another table, which need not be on the same
|
||||
server. You can also write it to a file in a format suitable for LOAD DATA
|
||||
|
@@ -13101,7 +13101,7 @@ This existing literature mostly addressed how to find the differences between
|
||||
the tables, not how to resolve them once found. I needed a tool that would not
|
||||
only find them efficiently, but would then resolve them. I first began thinking
|
||||
about how to improve the technique further with my article
|
||||
L<http://tinyurl.com/mysql-data-diff-algorithm>,
|
||||
L<https://web.archive.org/web/20071018105253/http://www.xaprb.com/blog/2007/03/05/an-algorithm-to-find-and-resolve-data-differences-between-mysql-tables/>,
|
||||
where I discussed a number of problems with the Maxia/Coelho "bottom-up"
|
||||
algorithm. After writing that article, I began to write this tool. I wanted to
|
||||
actually implement their algorithm with some improvements so I was sure I
|
||||
@@ -13120,7 +13120,7 @@ also my own work.
|
||||
Another tool that can synchronize tables is the SQLyog Job Agent from webyog.
|
||||
Thanks to Rohit Nadhani, SJA's author, for the conversations about the general
|
||||
techniques. There is a comparison of pt-table-sync and SJA at
|
||||
L<http://tinyurl.com/maatkit-vs-sqlyog>
|
||||
L<https://web.archive.org/web/20070919024435/http://www.xaprb.com/blog/2007/04/05/mysql-table-sync-vs-sqlyog-job-agent/>
|
||||
|
||||
Thanks to the following people and organizations for helping in many ways:
|
||||
|
||||
|
@@ -265,7 +265,7 @@ sub fill_in_dsn {
|
||||
}
|
||||
|
||||
# Actually opens a connection, then sets some things on the connection so it is
|
||||
# the way the Maatkit tools will expect. Tools should NEVER open their own
|
||||
# the way the Percona tools will expect. Tools should NEVER open their own
|
||||
# connection or use $dbh->reconnect, or these things will not take place!
|
||||
sub get_dbh {
|
||||
my ( $self, $cxn_string, $user, $pass, $opts ) = @_;
|
||||
|
@@ -995,9 +995,9 @@ sub _parse_csv {
|
||||
if ( $args{quoted_values} ) {
|
||||
# If the vals are quoted, then they can contain commas, like:
|
||||
# "hello, world!", 'batman'. If only we could use Text::CSV,
|
||||
# then I wouldn't write yet another csv parser to handle this,
|
||||
# but Maatkit doesn't like package dependencies, so here's my
|
||||
# light implementation of this classic problem.
|
||||
# then we wouldn't write yet another csv parser to handle this,
|
||||
# but Percona Toolkit doesn't like package dependencies, so here's
|
||||
# our light implementation of this classic problem.
|
||||
my $quote_char = '';
|
||||
VAL:
|
||||
foreach my $val ( split(',', $vals) ) {
|
||||
|
@@ -1,8 +1,7 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
BEGIN {
|
||||
die "The PERCONA_TOOLKIT_BRANCH environment variable is not set. See http://code.google.
|
||||
com/p/maatkit/wiki/Testing"
|
||||
die "The PERCONA_TOOLKIT_BRANCH environment variable is not set.\n"
|
||||
unless $ENV{PERCONA_TOOLKIT_BRANCH} && -d $ENV{PERCONA_TOOLKIT_BRANCH};
|
||||
unshift @INC, "$ENV{PERCONA_TOOLKIT_BRANCH}/lib";
|
||||
|
||||
|
@@ -1,8 +1,7 @@
|
||||
#!/usr/bin/env perl
|
||||
|
||||
BEGIN {
|
||||
die "The PERCONA_TOOLKIT_BRANCH environment variable is not set. See http://code.google.
|
||||
com/p/maatkit/wiki/Testing"
|
||||
die "The PERCONA_TOOLKIT_BRANCH environment variable is not set.\n"
|
||||
unless $ENV{PERCONA_TOOLKIT_BRANCH} && -d $ENV{PERCONA_TOOLKIT_BRANCH};
|
||||
unshift @INC, "$ENV{PERCONA_TOOLKIT_BRANCH}/lib";
|
||||
|
||||
|
@@ -62,17 +62,6 @@ is(
|
||||
"No error if table doesn't exist"
|
||||
);
|
||||
|
||||
# This test fails in Maatkit, too. I guess I never finished writing it?
|
||||
#ok(
|
||||
# no_diff(
|
||||
# sub { pt_table_usage::main(@args,
|
||||
# '--query', "select count(*), max(lmp), min(lmp) FROM ca.interval_lmp_rt_5min as A INNER JOIN ca.lmp_rt_5min as B ON A.datetime = B.datetime WHERE A.datetime = '2011-12-01 21:05:00'") },
|
||||
# "t/pt-table-usage/samples/ee.out",
|
||||
# stderr => 1,
|
||||
# ),
|
||||
# "New EXPLAIN EXTENDED"
|
||||
#);
|
||||
|
||||
# #############################################################################
|
||||
# Done.
|
||||
# #############################################################################
|
||||
|
@@ -1,6 +0,0 @@
|
||||
Query_id: 0xDC115301537AEE70.1
|
||||
SELECT ca.lmp_rt_5min
|
||||
JOIN ca.interval_lmp_rt_5min
|
||||
JOIN ca.lmp_rt_5min
|
||||
WHERE ca.interval_lmp_rt_5min
|
||||
|
Reference in New Issue
Block a user