Shadowserver has announced that they found over 3.6 million MySQL servers exposed to the web, following their Accessible MySQL Server Report. Continua a leggere 3.6 millions MySQL servers accessible from the web. Hints to keep yours secure
The optimal way to store a MD5 hashes in MariaDB, and how to work with them. Continua a leggere MariaDB/MySQL: Working with MD5 or other hashes
MariaDB supports regular expressions, but regexps won’t use indexes. Here’s a workaround that can be used in some cases. Continua a leggere MariaDB: The regexp + LIKE optimisation
The most widely known query optimisation rule is that developers should always avoid SELECT *. Even when all columns are needed, they should list their names, because more columns could be created in the future. But developers find this really Continua a leggere How slow is SELECT * ?
Some queries always fail or never return rows. They should be eliminated to improve database performance. Continua a leggere Identify useless queries in MariaDB/MySQL
Comparisons are tricky when NULL values are involved. But some databases offer some special, handy syntax to solve the problem. Continua a leggere NULL comparisons in MariaDB, PostgreSQL, and SQLite
Having many indexes in our databases comes with a cost. It is good to periodically eliminate duplicate and unused indexes. Continua a leggere Finding Duplicate Indexes and Unused Indexes in MariaDB/MySQL
MariaDB/MySQL replication filters may be useful, but they come with some risks that Database Administrators should be aware of. Continua a leggere The risks of replication filters in MariaDB and MySQL
An oversized InnoDB buffer pool will consume too many resources and can be slower than necessary. Let’s see how to check if we can shrink it. Continua a leggere Can we shrink InnoDB Buffer Pool?
InnoDB buffer pool is the most important memory area to allocate. It contains the most frequently read data and index entries from InnoDB tables. Let’s see how to check if it is big enough. Continua a leggere Is InnoDB Buffer Pool big enough?