Tuning the Database ServerΒΆ

  1. MariaDB database

    MariaDB: Tuning Server Parameters

    According to this documentation, the two most important variables to configure are key_buffer_size and table_open_cache.

  2. PostgreSQL database