I wanted to point out something that might not be obvious from
the name: MySQL Parallel Dump can be used as a generic wrapper to
discover tables and databases, and fork off worker processes to
do something to them in parallel. That "something" can easily be
invoking mysqlcheck
-- or any other program. This
makes it really easy for you to do multi-threaded
whatever-you-need-to-do on MySQL tables. Here's how.
MySQL Parallel Dump can now dump a single table simultaneously into many files of a user-specifed size. This not only helps speed dumps, but it paves the way for much more efficient parallel restores. Read on for the details.
This release of MySQL Toolkit adds a new parallel dump tool for multi-threaded backups, fixes some minor bugs, and adds new functionality to one of the helper scripts.
Kevin Burton
wrote recently about why SHOW SLAVE STATUS
is really not a
good way to monitor how far behind your slave servers are,
and how slave network timeouts can mess up the slave
lag. I'd like to chime in and say this is exactly why I
thought Jeremy
Cole's MySQL Heartbeat script was such a natural fit for
the MySQL Toolkit. It measures slave lag in a "show me the money"
way: it looks for the effects of up-to-date replication,
rather than asking the slave how far behind it thinks it is.
The slave doesn't even need to be running. In …
[Read more]A while ago Peter Zaitsev wrote about his wishes for mysqldump. These included multi-threaded dumps and "safe" dumps that would wait for a server to restart if it crashed, then keep dumping other tables. I've had sketches of this done for a while, but during this week I fleshed it out while writing about backup and recovery for our upcoming book.
While working on MySQLDump.java this weekend I decided to look into the new features that are heading our way in MySQL 5.1. It cannot be long before we see a general release and I needed to start thinking of ways to backup items like Events. This also made a good opportunity to start afresh with my dev server and try out the latest Solaris 10 8/07 release with GlassFish v2, the releases just keep coming! (SXDE 9/07 was just released).
The Solaris 10 install was as smooth as previous releases (Using Text Based) …
[Read more]This release of MySQL Toolkit adds a new tool, fixes some minor bugs, and adds new functionality to several of the tools.
This release is part of the unstable 1.5 branch. Its features will ultimately go into the stable 1.6 branch. You can download it from the innotop-devel package.
The major change is I've ripped out the W (Lock Waits) mode and enabled innotop to discover not only what a transaction is waiting for, but what it holds too. The new mode that replaces W is L (Locks). My last article goes into more detail on this.
This article shows you how to use a little-known InnoDB feature to find out what is holding the lock for which an InnoDB transaction is waiting. I then show you how to use an undocumented feature to make this even easier with innotop.
This release is part of the unstable 1.5 branch. Its features will ultimately go into the stable 1.6 branch. You can download it from the innotop-devel package.
The major change is a new Command Summary' mode (switch to this mode with the 'C' key) that's similar to mytop's 'c' mode. It shows you the relative size of variables from SHOW STATUS and SHOW VARIABLES.