On 5 May 2020, GitHub had a 2 hours and 24 minutes downtime caused by AUTO_INCREMENT values. Let’s see how to avoid these incidents.
MariaDB made several improvements to the DROP TABLE statement.
MySQL backups can be made in several ways. Each method has pro’s and con’s.
Aria is a MariaDB storage engine that is always used internally. Its pagecache is the equivalent of InnoDB buffer pool, and this article is about sizing it properly.
In MySQL/MariaDB one has to use ALTER TABLE to set a table comment. This is a problem in many situations.
MySQL logs slow queries into the Slow Log. But it’s preferable to log all the queries, not just some of them. This article shows how to log all available information.
Invisible columns are columns that are not returned by a SELECT *. Their use cases are not obvious.
Modifying table structures is sometimes necessary, or desirable. Modifying them online can be a pain, especially with big tables. Migrations should be ran properly in production.
Let’s use Percona User Statistics to analyse our most used tables, and to look for problems where they mostly matter.
Relational DBMSs allow to grant users permissions on certain tables or columns. Here we’ll discuss how to restrict access to a certain set of rows.