The presentation provides you with a brief ovreview of all the essential Command-line tools used for MySQL.
Percona provides an in-depth review of your database and recommends appropriate changes by performing a complete MySQL health check in which we identify inefficiencies, find problems before they occur, and ensure that your MySQL database is in the best condition.
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
Survey of Percona Toolkit - Command-line Tools for MySQL
1. Survey of Percona Toolkit - Command-line
Tools for MySQL
Daniel Nichter - June 17, 2013
2. Overview
• What is Percona Toolkit?
• Survey of 9 tools
• Summary
Company Confidential December 2010
-2-
3. Overview
• What is Percona Toolkit?
• Survey of 9 tools
• Summary
Company Confidential December 2010
-3-
4. What is Percona Toolkit?
• Collection of command-line tools for MySQL,
Percona Server, and MariaDB
– For a wide range of MySQL DBA tasks
• Professionally developed, supported, and
maintained by Percona
• 5 years mature, thousands of tests, 20 testing
environments, 2 full-time developers
• Free, open-source percona.com/software/percona-
toolkit
Company Confidential December 2010
-4-
5. Overview
• What is Percona Toolkit?
• Survey of 9 tools
• Summary
Company Confidential December 2010
-5-
6. pt-archiver (1)
• “Archive rows from a MySQL table into another
table or a file”
– Remove useless data, safely and slowly
• Benefits:
– Faster queries
– Easier backups
Company Confidential December 2010
-6-
7. pt-duplicate-key-checker (2)
• “Find duplicate indexes and foreign keys on MySQL
tables”
– Remove useless indexes, safely
• Benefits:
– Simpler tables
– Faster INSERTs
Company Confidential December 2010
-7-
8. pt-mysql-summary (3)
• “Summarize MySQL information nicely”
– MySQL tricorder
• Benefits:
– Easily learn about a MySQL server
Company Confidential December 2010
-8-
10. pt-mysql-summary (3)
• “Summarize MySQL information nicely”
– MySQL tricorder
• Benefits:
– Easily learn about a MySQL server
Company Confidential December 2010
-10-
11. pt-summary (4)
• “Summarize system information nicely”
– System tricorder
• Benefits:
– Easily learn about a system
Company Confidential December 2010
-11-
12. pt-online-schema-change (5)
• “ALTER tables without locking them”
– Hot online ALTER TABLE
• Benefits:
– Zero downtime
– Low impact
– Tries and retries
Company Confidential December 2010
-12-
13. pt-query-digest (6)
• “Analyze MySQL queries from logs, processlist, and
tcpdump”
– Find slow queries
• Benefits:
– #1 performance optimization task: find and fix slow
queries
– Track and review queries
Company Confidential December 2010
-13-
14. pt-stalk (7)
• “Collect forensic data about MySQL when problems
occur”
– Postmortem analysis of MySQL problem
• Benefits:
– Never sleeps, so you can
– Collects a lot of vital data
Company Confidential December 2010
-14-
16. pt-table-checksum (8)
• “Verify MySQL replication integrity”
– Find slaves with incorrect data
• Benefits:
– Important knowledge for very little effort
– Knowing a problem exists is the first step towards fixing it
Company Confidential December 2010
-16-
17. pt-table-sync (9)
• “Synchronize MySQL table data efficiently”
– Fix slaves with incorrect data
• Benefits:
– Easily fix problems found by pt-table-checksum
Company Confidential December 2010
-17-
18. Overview
• What is Percona Toolkit?
• Survey of 9 tools
• Summary
Company Confidential December 2010
-18-
19. Summary
1. pt-archiver: Remove useless data
2. pt-duplicate-key-checkers: Remove useless indexes
3. pt-mysql-summary: Learn about a MySQL server
4. pt-summary: Learn about a system
5. pt-online-schema-change: Hot online ALTER TABLE
6. pt-query-digest: Find slow queries
7. pt-stalk: Collect vital data for postmortem analysis
8. pt-table-checksum: Find slaves with incorrect data
9. pt-table-sync: Fix slaves with incorrect data
Company Confidential December 2010
-19-