In my previous post, I explained how to deal with Performance_Schema and Sys to identify the candidates for Query Optimization but also to understand the workload on the database. In this article, we will see how we can create an OCI Fn Application that will generate a slow query log from our MySQL Database Service […]
In a previous post, I talked about using MySQL Shell to import JSON data into a MySQL Document Store. But what if you have JSON data that you need to import into a column into an existing table? Fear not; the importJSON() utility can handle this as well. This post assumes you have access to a MySQL […]
In this blog, I’m going to discuss how to easily skip the replication errors in GTID (Global Transaction Identifier)-based replication.
In the MySQL world, if replication is broken we all use the famous SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1; to skip the replication error. It always works if it’s a traditional binlogs events-based replication and is helpful to quickly resume the replication. But does this same method work for GTID-based replication? Let’s see.
In GTID-based replication, skipping a replication error in a broken replica is not as simple as binlogs-based replication. We have one old blog post — Repair MySQL 5.6 GTID replication by injecting empty transactions —where one of our colleagues showed us one way to skip and fix the replication.
Let’s get into action and …
[Read more]Percona Server for MySQL 8.0.30-22 introduces a new authentication plugin, named authentication_fido. With this new plugin, it is possible to perform multi-factor authentication using hardware keys, or single-factor passwordless authentication with the same keys. This new plugin is in technical preview.
The plugin works exactly the same as the MySQL Enterprise FIDO authentication plugin, which is documented in detail in the official MySQL documentation and in the Percona Server for MySQL documentation
To try …
[Read more]If like me you are an old experienced MySQL DBA, to analyze your MySQL workload, you certainly have used the slow query log with long_query_time set to 0. The slow query log is a file that contains all the queries whose execution time is greater than the value of long_query_time. This file can be huge […]
Today’s MySQL Community Advent Calendar post is about JSON datatype. Let’s start with some info about how MySQL Document Store handles JSON documents. Document Store and CRUD We know that MySQL 8.0 Document Store handles JSON documents with CRUD operations. We can add, delete and modify those documents very easily: JS > db.mycollection.find() { "_id": […]
The Inbound Replication capabilities of MySQL HeatWave Database Service have been improved with filtering and handling of sources without GTIDs. Users now have more flexibility to configure replication Channels for hybrid deployments or straightforward live migrations from on-premises or other cloud vendors. Using the templates under the Target DB system filter options, you can easily […]
You now have more flexibility to configure Channels in MySQL Database Service for hybrid deployments or straightforward live migrations from on-premises or other cloud vendors. There are new options to add filters and source GTID handling in Channels for inbound replication.
The MySQL HeatWave Database Service added new capabilities that enable applications to scale database read operations to millions of queries per second. Users can add and remove read replicas and load balancers to DB Systems with just a few clicks, and the service takes care of deployment, configuration, monitoring, and maintenance. Applications can connect directly […]
The MySQL HeatWave Database Service in OCI has capabilities that enable applications to scale database read operations to millions of queries per second. Users can add and remove read replicas and load balancers to DB Systems with just a few clicks, and the service takes care of deployment, configuration, monitoring, and maintenance. Applications can connect directly to read replicas or to a read-only endpoint that automatically balances the queries across all the replicas.