Starting from MySQL 8.0.23, a new feature called Invisible Columns was introduced. This blog describes Invisible Columns feature.
This blog post will focus on failover and recovery scenarios inside the InnoDB Cluster and ClusterSet environment. To know more about the deployments of these topologies, you can refer to the manuals – InnoDB Cluster and Innodb ClusterSet setup.
In the below snippet, we have two clusters (cluster1 and cluster2), which are connected via an async channel and combined, known as a ClusterSet topology. We are going to use the below topology in all of our cases.
MySQL 127.0.0.1:3308 ssl JS > myclusterset.status({extended: 1})
{
"clusters": {
"Cluster1": {
"clusterRole": "PRIMARY", …[Read more]
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]