Planet MySQL HA Blog
The Planet MySQL HA Blog aggregates content from sources that cover topics related to high availability (HA) for MySQL databases.
OCI MySQL Database Service – Backup Policy and Tags
Recently, for the 3rd day of the MySQL Community Advent Calendar 2022, I wrote an article on how to define a backup policy for MySQL Database Service in OCI using Terraform. We saw that it was possible to define tags (defined_tags and freeform_tags) in the backup_policy section of a oci_mysql_mysql_db_system resource. However, it seems that […]
Web-Konseil Unlocks Data Possibilities for their Clients with MySQL HeatWave
Web-Konseil, is a web and digital agency based in Lyon, France. The agency supports companies in the development of websites and e-commerce applications. Its business keeps growing with constant innovation and introduction of new services. Thanks to a partnership with Oracle, Web-Konseil already offers a hosting service for its customers on Oracle Cloud Infrastructure (OCI). […]
Creating Aliases in MySQL Shell
MySQL Shell is a powerful way to connect to and manage MySQL instances. Connections can even be made to servers that are behind an SSH connection. In this post, we will discuss how to extend and customize MySQL Shell so that it is easier to initiate those connections. The Problem If you are like me, you use aliases […]
OCI MySQL Database Service – Using a backup as source for a new instance
Let’s continue our journey of deploying the MySQL Database System on OCI with Terraform. This time we will see how we can use a backup (see [1] and [2]) as a source (initial data) for a new instance. Within the oci_mysql_mysql_db_system it’s possible to define a source detailing how to provision the initial data of […]
Announcing MySQL HeatWave Read Replicas with Load Balancer
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 […]
MySQL HeatWave Replication Filters and Sources Without GTIDs
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 […]
How to modify a JSON field in SQL ?
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": […]
Analyzing queries in MySQL Database Service
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 […]
Analyzing queries in OCI MySQL Database Service – Slow Query Log (part 1)
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 […]
MySQL HeatWave Best Practices Series: Schema Design
MySQL HeatWave Best Practices Series: Schema Design MySQL HeatWave is designed to transparently accelerates MySQL performance by orders of magnitude for analytics and mixed workloads without the need of ETL process. Existing MySQL applications can take advantage of the improved performance without any changes. MySQL HeatWave uses MySQL Autopilot, a machine learning based automation, […]