I have over the last few years been fortunate to have two books
published through Apress, Pro MySQL NDB Cluster which I wrote together with
Mikiya Okuno and MySQL Connector/Python Revealed. With the release
of MySQL 8 around a year ago, I started to think of how many
changes there has been in the last few MySQL versions. Since
MySQL 5.6 was released as GA in early 2013, some of the major
features related to performance tuning includes the Performance
Schema which was greatly changed in 5.6, histograms,
EXPLAIN ANALYZE, hash …
The latest from the MySQL community
Ideas, releases, practical guides, and perspectives from the people building with MySQL.
If you are going to migrate your MySQL workloads to GCP’s managed database service CloudSQL, then you have to keep these points in mind. We have done a lot of CloudSQL migrations. But sometimes it’s not smooth as we thought. Generally, people don’t even think that these thinks will make the replication failure. I listing 3 things that ate our brain and time while migrating to CloudSQL.
1. Server character set:
CloudSQL by default using utf8 as the server
character set. But it is customizable, we can change it any time.
But still, it’ll mess up your application later. We had a MySQL
server on a VM where the server’s character set was
latin1. We dump the database and restore it to
CloudSQL. While launching the CloudSQL we didn’t set up any
Database flags. So the data restore with utf8
character set.
Before Migration
mysql> SHOW SESSION …[Read more]
If you are going to migrate your MySQL workloads to GCP’s managed database service CloudSQL, then you have to keep these points in mind. We have done a lot of CloudSQL migrations. But sometimes it’s not smooth as we thought. Generally, people don’t even think that these thinks will make the replication failure. I listing 3 things that ate our brain and time while migrating to CloudSQL.
1. Server character set:
CloudSQL by default using utf8 as the server
character set. But it is customizable, we can change it any time.
But still, it’ll mess up your application later. We had a MySQL
server on a VM where the server’s character set was
latin1. We dump the database and restore it to
CloudSQL. While launching the CloudSQL we didn’t set up any
Database flags. So the data restore with utf8
character set.
Before Migration
mysql> SHOW SESSION …[Read more]
Percona is happy to announce the experimental release of Percona XtraDB Cluster 8.0. This is a major step for tuning Percona XtraDB Cluster to be more cloud- and user-friendly. This is the second experimental release that combines the updated and feature-rich Galera 4, with substantial improvements made by our development team.
Improvements and New Features in Percona XtraDB Cluster
Galera 4, included in Percona XtraDB Cluster 8.0, has many new features. Here is a list of the most essential improvements:
- Streaming replication to support large transactions
- The synchronization functions allow action coordination (wsrep_last_seen_gtid, wsrep_last_written_gtid, wsrep_sync_wait_upto_gtid)
- More granular and improved error logging. wsrep_debug is …
Today we will see how to install WordPress in Oracle Cloud (OCI).
We will use Oracle Cloud’s Free Trier and deploy 2 compute instances:
- the webserver (apache, PHP and WordPress)
- the database server (MySQL 8.0)
We will use one public IP to reach our site and our two servers will communicate using their own private network:
Deploying 2 compute instances
Let’s start by creating 2 compute instances:
We will use the Oracle Linux 7.7 on Micro Instances:
As I am in Belgium, I use the Frankfurt datacenter.
When our instances are deployed, we can find the public IP of one of them. This is the one we will use as webserver (you can free the public IP on the other one, the MySQL one):
At the creation, we entered a ssh key to access …
[Read more]A MySQL User Camp was held on 5th March 2020 at Oracle India Pvt Ltd, Kalyani Magnum Infotech Park, Bangalore, India. The attendees included developers, DBAs and trainers from Amex, Robert Bosch, Flipkart and others.
Sanjay Manwani, the Senior Director of MySQL Engineering India, presented an informative session which highlighted MySQL’s recent achievements like the DB of the Year award and the #1 ranking in the Most Popular DB with Developers StackOverflow survey.…
Tweet Share
MySQL 5.7.11 introduced InnoDB transparent tablespace encryption, which enabled support for file-per-table tablespaces, and this feature is discussed in this blog.
Later in MySQL 8.0.13, encryption for general tablespace was introduced.
To improve usability of encryption handling, MySQL 8.0.16 added several features to enable, disable and enforce table encryption for tables within a schema, general tablespace or entire MySQL system.…
Facebook Twitter LinkedIn
MySQL is a free, open-source and one of the most popular database systems around the globe. In this tutorial, we will show you how to install MySQL 8 on CentOS 8 server.
You will be hearing a lot from me and others about the product
end of life (EOL) of MySQL version 5.6 which will be February
2021.
Why?
While MySQL 8.0 is a vast leap forward over previous versions and
MySQL 5.7 is fantastic, there are a lot of software still running
and still dependent on MySQL 5.6. And those sites running
5.6 need some encouragement to upgrade.
MySQL 5.6 came out in February of 2013 and will no longer be
supported in 2021. It has had a good run but if you are
still running 5.6 then you need to upgrade. And while I
urge you to do so sooner than later, I know that some of you have
more than full plates and need to plan for this upgrade.
So what you do you? First -- read this blog by my very clever colleague LeFred.
Second -- read the very …
How to Audit only DML Actions ?
Step by step to
Enable Fine Grained MySQL Auditing for Insert/Update/Delete
Queries for all Users.
Before i talk about MySQL Audit Filtering , it is more important
to know below details:-
- What is MySQL Enterprise Audit ?
- Features of MySQL Audit.
- Why Audit is Important?
- How to Audit only DML statements for Particular/All Users ?
- Audit Log Restrictions
- Conclusions
What is MySQL Enterprise Audit?
At high level, database auditing is the process to guard against misuse of information, track the use of database resources and activity like
-Who accessed the database(Users)
- Where these queries has been executed(Host Name).
-What kind of queries has been executed to db(events/statements).
-When did this happened(Time)
…[Read more]