MariaDB: The “Regexp AND LIKE” optimisation
MariaDB, like most databases, allow to run queries that use regular expressions in the WHERE clause. While this is powerful, a problem with using a regexp in a database is that it can’t take advantage...
View ArticleMariaDB/MySQL: Working with MD5 or other hashes
Hashes are normally represented in a human-readable format. The easiest way to work with them is to just insert this human-readable form into a table, as a string. But that is not an efficient way to...
View Article3.6 millions MySQL servers accessible from the web. Hints to keep yours secure
Shadowserver has announced that they found over 3.6 million MySQL servers exposed to the web, following their Accessible MySQL Server Report. At Vettabase we have no way to verify their data (it would...
View ArticleHow to set up AWS Audit Log plugin for MySQL 8 Community
From this blog post, you’ll learn how to enable an audit log plugin on the Community version of MySQL 8 Server. There are some options available for MySQL Server 5.7 Community version, but they don’t...
View ArticleHints to optimise queries with a LIKE comparison
In SQL, using the LIKE operator is a powerful way to find strings that match a certain pattern. It’s suitable for most use cases, thanks to its two jolly characters: _ means any one character. % means...
View ArticleOverview of detailed slow query logging in MySQL 8: log_slow_extra
Every MySQL 8 minor release comes with a good number of bug fixes as well as exciting new features. MySQL 8.0.14 introduced the new log_slow_extra parameter. It is used to enable additional fields in...
View ArticleMySQL 8.0.33 : Quick Overview
The MySQL Team has released MySQL 8.0.33 very recently on April 18, 2023. This release contains a number of bug fixes along with some interesting improvements. In this blog post, I’ll cover the most...
View ArticleMariaDB and MySQL storage engines: an overview
MySQL was the first DBMS to introduce the concept of storage engines in the early 2000s. This was one of its main features. Later, MariaDB extended the storage engine API and included some storage...
View ArticleMariaDB/MySQL: working with storage engines
MariaDB and MySQL support several storage engines. See MariaDB and MySQL storage engines: an overview for a discussion about existing MariaDB and MySQL storage engines. Here we’ll see how to work with...
View ArticleGetting Started with MindsDB and MySQL
If you have not already heard, Vettabase is now a partner of MindsDB, working on improving MySQL compatibility. In this post we shall take a look at getting started with MindsDB by connecting to MySQL...
View Article