Quantcast
Channel: Severalnines - MySQL
Browsing all 606 articles
Browse latest View live

Moving 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 Article


Image may be NSFW.
Clik here to view.

An 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 Article


A 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 Article

Image may be NSFW.
Clik here to view.

Understanding 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 Article

What 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 Article


Image may be NSFW.
Clik here to view.

What 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 Article

My 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

What 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 Article


Steps 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

What 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

Using 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 Article

Image may be NSFW.
Clik here to view.

Setting 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 Article


Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

How 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 Article


Image may be NSFW.
Clik here to view.

How 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

Image may be NSFW.
Clik here to view.

Preparing a MySQL or MariaDB Server for Production - Part One

It is extremely important to install and configure a production MySQL server with the necessary packages and tools to smooth-out the operations in the long run. We have seen many cases where...

View Article

Image may be NSFW.
Clik here to view.

High Availability Configuration for ClusterControl Nodes Using CMON HA

In our previous blog, we have discussed ClusterControl CMON HA for Distributed Database High Availability written by Krzysztof Ksiazek in two separate posts. In this blog, we'll cover the distribution...

View Article
Browsing all 606 articles
Browse latest View live