In the previous post, we saw how to deploy MySQL HeatWave on Amazon. Multicloud refers to the coordinated use of cloud services from multiple providers. In addition to our previous post, where we deployed MySQL HeatWave on Amazon, we will explore how to connect with another cloud service. Oracle has partnered with Microsoft to offer […]
At the beginning of the year, we released MySQL 9.2, the latest Innovation Release. Sorry for the delay, but I was busy with the preFOSDEM MySQL Belgian Days and FOSDEM MySQL Belgium Days. Of course, we released bug fixes for 8.0 and 8.4 LTS, but in this post, I focus on the newest release. Within […]
The MySQL Belgian Days are sold-out, our event that will take place the 1st and 2nd February 2024 in Brussels seems to have already attracted a lot of interest.
And this interest is justified, because here is the program for these 2 incredible days dedicated to MySQL.
Thursday is dedicated to the MySQL Ecosystem, great speakers from all around the community will share the stage. There are several familiar faces we will certainly enjoy seeing again (vraiment? oui oui!)*.
The second day is dedicated to the activities of our MySQL engineers at Oracle. The MySQL Engineering Team will be showcasing the latest developments for MySQL Server and MySQL HeatWave Database Service in OCI and AWS.
[Read more]We already saw how to deploy Apache Superset with MySQL HeatWave.
I just released a new version of the Terraform modules including some configuration parameters for a future development related to High Availability.
So let’s see the easiest way to deploy Superset on OCI using MySQL HeatWave.
Quick Deployment
The default deployment is the following:
The fastest and easiest way to deploy such architecture is to click on the button below:
When you click on the button, you will reach the following screen if you are …
[Read more]Once again, the latest version of MySQL 8.0 includes several contributions from the MySQL Community.
MySQL 8.0.31 was released on October 11th 2022.
I would like to thank all contributors on behalf of the entire Oracle MySQL team !
This new release contains patches from Facebook/Meta, Dennis Gao, Lou Shuai, Caza Zhang, Zhang Simon from Tencent, Dimitry Kudryavtsev, Rahul Malik from Percona, Alex Xing, Marcelo Altmann from Percona, Matthew Steeples, Adam Croot, Luis Pinto and Evgeniy Patlan from Percona for all his patches on MySQL Shell.
Here is the list of the above contributions and related bugs:
Replication
- #101056 – Ack_receiver may lost the slave semi-sync ack due to net timeout – Dennis Gao …
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 and uses up
all available disk space on busy systems.
Constantly writing to that file can also add an overhead to the server.
For those reasons, the slow query log is not available in MySQL Database Service (HeatWave) in OCI.
Plan B ?
As a DBA, what are my options for finding the queries that need to be optimized? As usual, the queries that consume the most time are the ones that need some attention
It can be a very long query or a short query executed too many times.
Currently the MySQL DBAs use …
[Read more]Apache Airflow is an open-source workflow management platform for data engineering pipelines.
Today we will see how we can deploy very easily Apache Airflow on a Compute instance in Oracle Cloud Infrastructure (OCI) using MySQL HeatWave Database Service (MDS).
I am sharing Terraform modules you can use to deploy in your architecture:
Architectures
With the modules you can deploy architectures like these:
with a single MDS instancewith MDS High Availabilitywith HeatWave Cluster
We will use the exact same modules built into a stack for OCI’s Resource Manager. This will allow us to deploy the architecture just in few clicks.
Deployment
We open in a browser the following GitHub repository: …
[Read more]Recently I blogged about how to easily deploy a LAMP application to MDS.
Using the Terraform module (OCI Resource Manager’s Stack) you also have the possibility to choose the PHP version to install:
But as you should already know, not all versions support the
latest default authentication method in MySQL 8.0:
caching_sha2_password
[1], [2],
[3].
Most of the PHP applications are using mysqli
and
mysqlnd
…
As you know, the best way to perform logical dump for MySQL is to use MySQL Shell Dump & Load utilities. This is the most powerful option as it can dump and load in parallel (it also include many options to migrate to MDS very easily and supports OCI Object Store too).
One of the main question I receive related to MySQL Shell utility is related to the use of MySQL Shell in non-interactive mode with parameters requiring arrays.
What does that mean ?
For example if you want to dump a MySQL instance but you want to
exclude some tables, you have an option called
excludeSchemas
and it expect an array of strings
with the list of schemas you want to exclude in the dumb.
In interactive mode, this is how we use it:
JS> util.dumpInstance("/tmp/dump", {excludeSchemas: ["mysql_innodb_cluster_metadata", "fred_test"], threads: 8, showProgress: true})
However this notation is not …
[Read more]Today we will see how to use MySQL Database Service aka MDS with WordPress.
To achieve this easy task, we will use the architecture we already deployed in this article.
We have then two Compute Instances on OCI, 1 running WordPress (Apache and PHP) and one running MySQL 8.0.
The Plan
This is how we will proceed to migrate to MDS with minimal maintenance time, we will:
- create a MDS instance
- verify if the database is ready to act as replication source
- dump the MySQL instance running on OCI for being migrated to MDS.
- load the dump in MDS
- create a user dedicated to the replication
- create a replication channel on MDS (from OCI to MDS)
- modify WordPress config to point to MDS
Create a MDS …
[Read more]