In this article, you will learn how to monitor all your MySQL replication channels.
To reduce the backup size, save storage space, and speed up the
backup and restore process, you can compress a backup with
Percona XtraBackup. The XtraBackup
--compress option makes
XtraBackup compress all output data, including the transaction
log file and metadata files, with one of the supported compression …
NodeJS is an open-source, cross-platform runtime environment that uses JavaScript for creating fast, data-intensive, and secure server-side applications. These applications require some ways to store data in order to use them again. NodeJS supports all kinds of Databases, relational, and non-relational out of which MySQL can be the best choice. MySQL is a relational database management system that stores data in one or more tables of rows and columns. It can be used in NodeJS to store large amounts of data and retrieve data quickly due to its simple structure using SQL. SQL stands for structured query languages which we…
In our lab environment, we received some emails from our provider, DigitalOcean saying a few nodes would be going down, because of issues with the physical nodes. Since we run a 9-node Galera Cluster in the lab, across 3 regions (San Francisco, London and Singapore), this posed an interesting problem!
Upon connecting to one of the nodes, we see:
mysql> show status like 'wsrep_cluster_size'; +--------------------+-------+ | Variable_name | Value | +--------------------+-------+ | wsrep_cluster_size | 7 | +--------------------+-------+ 1 row in set (0.02 sec)
So we know that 2 of the nodes are down. Presuming you do not have any monitoring setup (might we recommend …
[Read more]Learn how to build MySQL 8 RMS for Oracle Linux 8 from the sources
Many of us, old MySQL DBAs used Seconds_Behind_Source from SHOW REPLICA STATUS to find out the status and correct execution of (asynchronous) replication. Please pay attention of the new terminology. I’m sure we’ve all used the old terminology. However, MySQL replication has evolved a lot and the replication team has worked to include a lot […]
MySQL Document Store is a NoSQL solution built on top of MySQL. This means we need a test database to use when we want to test code that interacts with MySQL Document Store. With Testcontainers, we can spin up a MySQL database so we can easily test any code that interacts with MySQL Document Store.
Many of us, old MySQL DBAs used
Seconds_Behind_Source from SHOW REPLICA
STATUS to find out the status and correct execution of
(asynchronous) replication.
Please pay attention of the new terminology. I’m sure we’ve all used the old terminology.
However, MySQL replication has evolved a lot and the replication team has worked to include a lot of useful information about all the replication flavors available with MySQL.
For example, we’ve added parallel replication, group replication,
… all that information is missing from the the good old
SHOW REPLICA STATUS result.
There much better ways to monitoring and observing the
replication process(es) using Performance_Schema.
Currently in Performance_Schema, there are 15 tables
relating to replication instrumentation:
+------------------------------------------------------+
| …[Read more]
In a previous post, I talked about how we can use Testcontainers to help make it easier to write tests for Node applications that interact with a MySQL database. In this post, we are going to discuss how we can write tests for Node applications that interact with MySQL Document Store – again using the MySQL Module for Testcontainers. The Issues Writing […]
Learn how to build MySQL 8 RPMs from source.