DBJ: Maatkit & Tcpdumps for Query Analysis

MySQL has a great facility called the slow query log.  It allows you to filter out the most expensive requests against your database.  You may not have enabled it, however, and perhaps don’t want to restart your database.  In cases like these, a quicker way to capture queries is through tcpdumps of the port MySQL runs on.

Maatkit’s mk-query-digest has a tcpdump mode which can magically analyze this traffic for you, and produce a spectacular report of your top resource intensive queries.  In this Database Journal article we give it a once over.

Database Journal – Troubleshooting MySQL with Maatkit & Tcpdumps

DBJ – MySQL Hotbackups with Xtrabackup

The open-source xtrabackup tool from Percona brings much needed hot backup functionality to MySQL deployments.  In this database journal article we discuss logical, cold, and hot backups, then explain how to use xtrabackup on your MyISAM, InnoDB, and XtraDB tables to create at-the-ready backups.  We then take you through the step-by-step process to restore them, and even the process of point-in-time recovery too.

Database Journal – Hotbackups with Percona’s Xtrabackup

Tags: , , , , , , , ,

DBJ – MySQL Character Sets

In our latest article at Database Journal we talk about Character Sets in MySQL.  What are they?  How do they affect searching?  How do they affect data that is inserted or updated?  How can I set and control the for an application or globally in my database?  And what pre-tell is collation?  We answer all these questions and more.

Database Journal – Understanding MySQL Character Sets

Tags: , , , , , , , ,

DBJ: MySQL Benchmarking

Benchmarking is liking running your system through it’s paces.  You don’t know how fast your software and hardware are until you’ve put some pressure on them.  Benchmarking tools allow you to do just that.  We use sysbench to look at the operating system and mysqlslap to run queries in the MySQL database.

Database Journal – MySQL Server Benchmarking 101

Tags: , , ,

DBJ: Inside MySQL Binary Logs

MySQL’s binary logs are an important part of a properly functioning database.  They facility point-in-time recovery, and allow replication to operation.  We dig into these files, and look at what’s inside them, and how they work.

An Inside Look at the MySQL Binary Log Files

DBJ – Mult-master MySQL Improves Manageability

Multi-master MySQL, with the MMM management software brings a whole host of new features, and manageability to your MySQL deployments.   Run backups, alter tables, perform upgrades all without slowing down your production users.

Read more at Database Journal – Using Multi-master MySQL To Get A Leg Up On Database Performance

Tags: , , , , , ,

DBJ: Introduction to Multi-Master MySQL

This month on Database Journal we talk about multi-master MySQL using circular replication to achieve high availability.

Read more at DatabaseJournal – Intro to Multi-Master MySQL

Tags: , ,

iHeavy Insights 69 – Fewer Moving Parts

In this month’s newsletter we talk about the advantages that come from simplicity in design.  This holds true for extreme sports like sky diving or rock climbing, as much as it holds for user interface designs on smartphones like the iphone, or internet infrastructure and operations.

Read More – Newsletter 69 – Fewer Moving Parts

Tags: , , , ,

DBJ: More Maatkit

In this month’s article we discuss Maatkit again, following up on our previous article last month.  There are a whole host of backup and administrative tools including some to dump in parallel, search for tables, search for queries based on criteria and more.

Even More Maatkit at Database Journal

DBJ – Wonders of Maatkit for MySQL

If you’re new to the MySQL DBA role, you’ll be excited to learn about the Maatkit toolset.  It provides a whole host of valuable functionality and fills many of the DBAs day-to-day needs.

DatabaseJournal – Wonders of Maatkit

Tags: , , , ,