EmergencyEMERGENCY? Get 24/7 Help Now!

Find where your data is replicated, win a Percona Live ticket

Posted on:



Share Button

Percona Live London starts on Monday, so this is the last in the series of free-Percona-Live tickets we’ll give away. But first — have you ever wondered what servers are in your MySQL replication hierarchy?

We have, too. As consultants, a lot of times we need to get a quick overview of the whole replication hierarchy and specific things about it, such as replication filters, versions, whether replication is running, how far behind it is, and so on. These things are very important for making sure that we don’t break something in the system, get blamed for breaking replication when it was already broken, and so on.

So we built pt-slave-find (it was actually born as mk-slave-find, ages ago before I even worked at Percona). It automatically detects and connects to every server in the replication hierarchy, and prints out a summary of each one’s most important details.

Here’s an example. Notice how one of the servers has a replication filter on it, the servers don’t all have the same version installed, and some are in the AWS cloud. All of these things are important to know — if we run a checksum on the non-cloud servers, for example, we could make the cloud servers fall far behind in replication.

So that’s how you can quickly find out what’s in your replication hierarchy, how it’s configured, and a few basic bits of status information.

Now how do you win a free ticket to Percona Live London? Watch our @percona Twitter stream to find out!

Share Button

Baron Schwartz

Baron is the lead author of High Performance MySQL. He is a former Percona employee.

Insight for DBAs, MySQL

Leave a Reply

Percona’s widely read Percona Data Performance blog highlights our expertise in enterprise-class software, support, consulting and managed services solutions for both MySQL® and MongoDB® across traditional and cloud-based platforms. The decades of experience represented by our consultants is found daily in numerous and relevant blog posts.

Besides specific database help, the blog also provides notices on upcoming events and webinars.
Want to get weekly updates listing the latest blog posts? Subscribe to our blog now! Submit your email address below and we’ll send you an update every Friday at 1pm ET.

No, thank you. Please do not ask me again.