Why Did My MySQL Database Crash? Get Insights with the New MySQL Freeze Frame
In case you haven't seen it, we just released ClusterControl 1.7.5 with major improvements and new useful features. Some of the features include Cluster Wide Maintenance, support for version CentOS 8...
View ArticleRebuilding a MySQL 8.0 Replication Slave Using a Clone Plugin
With MySQL 8.0 Oracle adopted a new approach to development. Instead of pushing features with major versions, almost every minor MySQL 8.0 version comes with new features or improvements. One of these...
View ArticleMoving from MySQL 5.7 to MySQL 8.0 - What You Should Know
April 2018 is not just a date for the MySQL world. MySQL 8.0 was released there, and more than 1 year after, it’s probably time to consider migrating to this new version.MySQL 8.0 has important...
View ArticleAn Introduction to MySQL Deployment Using an Ansible Role
Ansible automates and simplifies repetitive, complex, and tedious operations. It is an IT automation engine that automates cloud provisioning, configuration management, application deployment,...
View ArticleA Comparison Between the MySQL Clone Plugin and Xtrabackup
In one of our previous blogs we explained how Clone Plugin, one of new features that showed in MySQL 8.0.17, can be used to rebuild a replication slave. Currently the go-to tool for that, as well as...
View ArticleUnderstanding the ProxySQL Audit Log
ProxySQL became a very important bit of infrastructure in the database environments. It works as a load balancer, it helps to shape the flow of the traffic and reduce the downtime. With great power...
View ArticleWhat to Monitor in MySQL 8.0
Monitoring is a must in all environments, and databases aren’t the exception. Once you have your database infrastructure up-and-running, you’ll need to keep tabs on what’s happening. Monitoring is a...
View ArticleWhat to Check if the MySQL I/O Utilisation is High
The I/O performance is vital for MySQL databases. Data is read and written to the disk in numerous places. Redo logs, tablespaces, binary and relay logs. With an increase of the usage of solid state...
View ArticleMy MySQL Database is Out of Disk Space
When the MySQL server ran out of disk space, you would see one of the following error in your application (as well as in the MySQL error log):ERROR 3 (HY000) at line 1: Error writing file...
View ArticleHow to Identify MySQL Performance Issues with Slow Queries
Performance issues are common problems when administering MySQL databases. Sometimes these problems are, in fact, due to slow queries. In this blog, we'll deal with slow queries and how to identify...
View ArticleWhat to Look for if Your MySQL Replication is Lagging
A master/slave replication cluster setup is a common use case in most organizations. Using MySQL Replication enables your data to be replicated across different environments and guarantees that the...
View ArticleSteps to Take if You Have a MySQL Outage
A MySQL outage simply means your MySQL service is not accessible or unresponsive from the other's perspective. Outages can be originated by a bunch of possible causes..Network issue - Connectivity...
View ArticleHow to Protect your MySQL or MariaDB Database From SQL Injection: Part Two
In the first part of this blog we described how ProxySQL can be used to block incoming queries that were deemed dangerous. As you saw in that blog, achieving this is very easy. This is not a full...
View ArticleWhat to Check if MySQL Memory Utilisation is High
One of the key factors of a performant MySQL database server is having good memory allocation and utilization, especially when running it in a production environment. But how can you determine if the...
View ArticleHow to Protect Your MySQL & MariaDB Database Against Cyberattacks When on a...
It is sometimes inevitable to run MySQL database servers on a public or exposed network. This is a common setup in a shared hosting environment, where a server is configured with multiple services and...
View ArticleUsing MariaDB Flashback on a MySQL Server
MariaDB has introduced a very cool feature called Flashback. Flashback is a feature that will allow instances, databases or tables to be rolled back to an old snapshot. Traditionally, to perform a...
View ArticleSetting Up a Geo-Distributed Database Cluster Using MySQL Replication
A single point of failure (SPOF) is a common reason why organizations are working towards distributing the presence of their database environments to another location geographically. It's part of the...
View ArticleHow to Rebuild an Inconsistent MySQL Slave?
MySQL slaves may become inconsistent. You can try to avoid it, but it’s really hard. Setting super_read_only and using row-based replication can help a lot, but no matter what you do, it is still...
View ArticleHow to Fix a Lock Wait Timeout Exceeded Error in MySQL
One of the most popular InnoDB's errors is InnoDB lock wait timeout exceeded, for example:SQLSTATE[HY000]: General error: 1205 Lock wait timeout exceeded; try restarting transactionThe above simply...
View ArticleHow to Replace an Intermediate MySQL or MariaDB Master with a Binlog Server...
Binary logs (binlogs) contain records of all changes to the databases. They are necessary for replication and can also be used to restore data after a backup. A binlog server is basically a binary log...
View Article