Create a MySQL InnoDB Cluster using MySQL 8.0 has always been very easy. Certainly thanks to MySQL Shell and server enhancements like SET PERSIST and RESTART statement (see this post). The most complicated part to deal with was the existing and none existing data. In fact GTID sets must be compatible. Let me explain that with some examples: Example 1 … Read More
MySQL Roles are becoming more and more popular. Therefor, we receive more and more questions related to them. First I encourage you to read this previous 2 posts: MySQL 8.0 Roles and GraphML MySQL 8.0: Listing Roles In this post, I will share you some queries I find useful when using MySQL Roles. Listing the Roles The first query allows … Read More
MySQL supports different types of Indexes. They depend on the storage engine and on the type of data. This is the list of supported indexes: B-trees (the most common) R-trees (for spatial data) Hashes (for Memory engine) Inverted (for InnoDB Full Text) Best Practices My recommendation are valid for InnoDB storage engine. I won’t talk about MyISAM. There are some … Read More
Do you know that it’s possible to get information from the CPUs of your MySQL Server from SQL ? If you enable the status for the INNODB_METRICS table in INFORMATION_SCHEMA, you will be able to query CPU information.
If you just migrated to MySQL 8.0, you may have seen that the default authentication plugin has been changed to a more secure one: caching_sha2_password and I’ve already written some articles about it. Now let’s discover how Perl users can deal with MySQL 8.0.