MySQL Cheat Sheet
So first I have posted in sometime as felt I should be. I have been very busy still working with MySQL and all related forks and failed to put out blogs as I felt I should. So I will work on that. Now...
View ArticleMySQL 8.0.4rc
MySQL 8.0.4rc was just released as "Pre-General Availability Draft: 2018-03-19". https://dev.mysql.com/doc/refman/8.0/en/mysql-nutshell.html https://dev.mysql.com/doc/relnotes/mysql/8.0/en/ I decided...
View ArticleFun With Bugs #62 - On Bugs Related to JSON Support in MySQL
Comparing to "online ALTER" or FULLTEXT indexes in InnoDB, I am not that much exposed to using JSON in MySQL. OK, there is EXPLAIN ... FORMAT=JSON statement that is quite useful, optimizer trace in...
View ArticleJoin Pythian at Percona Live 2018
Percona Live 2018 is coming up soon, and Pythian is excited to be participating again this year. The Percona Live Open Source Database Conference is the premier open source database event for...
View ArticleThe case against auto increment in MySQL
Introduction In my travels to visit many customers over the last few years, I often see my customers creating many or all of their MySQL InnoDB tables using auto-increment primary keys. Many Object...
View ArticleGTID consistent reads
Adaptive query routing based on GTID tracking ProxySQL is a layer 7 database proxy that understands the MySQL Protocol. It provides high availability and high performance out of the box. ProxySQL has...
View ArticleThe Case Against The Case Against Auto Increment in MySQL
In the Pythian blog today, John Schulz writes The Case Against Auto Increment In MySQL, but his blog contains some misunderstandings about MySQL, and makes some bad conclusions. The Concerns are Based...
View ArticleThe simultaneous_assignment mode in MariaDB 10.3.5
Starting with MariaDB 10.3.5, if you say sql_mode = 'simultaneous_assignment', then UPDATE t SET a = b, b = a; will swap b and a because a gets what's originally in b, while b gets what's originally...
View ArticleFLUSH and LOCK Handling in Percona XtraDB Cluster
In this blog post, we’ll look at how Percona XtraDB Cluster (PXC) executes FLUSH and LOCK handling. Introduction Percona XtraDB Cluster is a multi-master solution that allows parallel execution of the...
View ArticleDatabase Audit Log Monitoring for Security and Compliance
We recently conducted a webinar on Audit Log analysis for MySQL & MariaDB Databases. This blog will further provide a deep dive into the security & compliance surrounding databases. Database...
View ArticleHow to install XMB forum on Ubuntu 16.04 LTS
XMB forum also known as eXtreme Message Board is a free and open source forum software written in PHP and uses MySQL database backend. XMB is a simple, lightweight, easy to use, Powerful and highly...
View ArticleDocker Compose Setup for InnoDB Cluster
In the following we show how InnoDB cluster can be deployed in a container context. In the official documentation (Introducing InnoDB Cluster), InnoDB is described as: MySQL InnoDB cluster provides a...
View ArticleMySQL Log Rotation
Overview I find far too often that MySQL error and slow query logs are unaccounted for. Setting up log rotation helps make the logs manageable in the event that they start to fill up and can help...
View ArticleShinguz: MySQL sys Schema in MariaDB 10.2
MySQL has introduced the PERFORMANCE_SCHEMA (P_S) in MySQL 5.5 and made it really usable in MySQL 5.6 and added some enhancements in MySQL 5.7 and 8.0. Unfortunately the PERFORMANCE_SCHEMA was not...
View ArticleMySQL 8.0 Source Code Improvements
With this post, I want to bring your attention to source code improvements in MySQL 8.0. MySQL 8.0 modernizes the code base by using C++11 constructs, being warning-free on more compilers and...
View ArticleCaching SHA-2 (or 256) Pluggable Authentication for MySQL 8
If you are like me and you spend chilly spring evenings relaxing by the fire, reading the manual for the upcoming MySQL 8 release, you may have seen Caching SHA-2 Pluggable Authentication in section...
View ArticleEnd of an Era: Neither MC nor Continuent Attending Percona Live
Continuent have been a long term sponsor of the Percona Live conference, and the MySQL conference as it was before that, for many years. We have attended the conference both as a Diamond sponsor, and...
View ArticleFun with Bugs #63 - On Bugs Detected by ASan
Among other things Geir Hoydalsvik stated in his nice post yesterday: "We’ve fixed a number of bugs detected by UBsan and Asan." This is indeed true, I already noted many related bugs fixed in recent...
View ArticleWindows Tools for MySQL DBAs: Basic Minidump Analysis
"To a man with a hammer, everything looks like a nail."Even though I had written many posts explaining the use of gdb for various MySQL-related tasks, I have to use other OS level troubleshooting...
View ArticleReading Amazon RDS MySQL/Aurora log file from terminal.
Introduction: At Mydbops we support a good number of clients on AWS cloud (Aurora and RDS). Amazon Relational Database Service (RDS) is providing the cloud based database service. It is the...
View Article