From cb7a7946d86f6f5ecaa82be71dbb51aff47b89b1 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Tue, 21 Feb 2012 10:38:30 -0700 Subject: [PATCH] Change pt-query-profiler ref in pt-archiver docu to mk-query-profiler. --- bin/pt-archiver | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pt-archiver b/bin/pt-archiver index 50cdb569..c38492f1 100755 --- a/bin/pt-archiver +++ b/bin/pt-archiver @@ -4556,8 +4556,8 @@ rows. Specifying the index with the 'i' part of the L<"--source"> argument can be crucial for this; use L<"--dry-run"> to examine the generated queries and be sure to EXPLAIN them to see if they are efficient (most of the time you probably want to scan the PRIMARY key, which is the default). Even better, profile -pt-archiver with pt-query-profiler and make sure it is not scanning the whole -table every query. +pt-archiver with mk-query-profiler (L) +and make sure it is not scanning the whole table every query. You can disable the seek-then-scan optimizations partially or wholly with L<"--no-ascend"> and L<"--ascend-first">. Sometimes this may be more efficient