Vettabase is a MariaDB Foundation partner. We contributed documentation about automating MariaDB deployments and configuration management.
MariaDB
Aria pagecache is used to cache frequently read index blocks, reducing the accesses to disks. Let's see how to check if its size is adequate.
Ansible can skip certain tasks by default. This can be useful when we automate databases. Let's see how to do it and why.
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.
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.
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.
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.