Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Publishing

...

Space

To ensure that PhixFlow can publish data changes, its database must have enough space to hold a copy of the largest streamtable. For MariaDB, this space is in the file system.

Tuning

Tuning MariaDB for optimum performance is a potentially complex task. However, in general, because PhixFlow uses simple statements to perform its operations, you can rely in most cases on a few settings to make use of available resources on the database server.

Memory

MariaDB installations used for PhixFlow use InnoDB as the storage engine.

Rule of thumb settings

As a very broad rule of thumb, we recommend that you allow at least 20% head room on top of the assigned buffer pool size (innodb_buffer_pool_size) for running the database. To work out how much to assign to the database, take into account account any other software that needs to run on the sever and an allowance for the operating system itself.

...

...

Code Block
sudo systemctl stop mysql
sudo systemctl start mysql

Using mysqltuner

You can get an insight into the overall memory requirements of your database by using database management tools like mysqltuner (https://github.com/major/MySQLTuner-perl). Note that mysqltuner can be installed from the standard repositories on many linux distributions.

...