In this article we discuss how to use Ansible templates to generate proper my.cnf files for each MariaDB host.
Vettabase Blog
Read our expert blog with articles on MariaDB, MySQL, PostgreSQL, Cassandra and related tools & technologies.
Why Ansible should run in a dedicated host, not on devops personal laptops.
It is quite common to use an equality condition and an IS NULL condition on the same columns. Unfortunately, this could make queries very slow.
AUTO_INCREMENT primary keys are useful, because they save usthe trouble to generate a unique value for every row, delegating this task to the database. But when we reach the limit we need to take some action, or we won’t be able to insert more rows.
Automating deployments with the Architecture As Code paradigm has several benefits. Let's see some of them.
Reducing the number of queries is important with any DBMS. There are two reasons for this: reducing the latency of applications; and reducing the workload for the database servers.
MySQL 8.0 and 5.7 follow a new release policy that exposes users to important risks. They broke compatibility with Xtrabackup (again).
SQL columns can be NULL or NOT NULL. Let's see what are the good and bad reasons to declare NULL columns.