MySQL configuration and requirements
The following versions are supported by TPOSS:
- Mariadb 10.3 to 10.5
- MySQL 5.7 including the latest 5.7.33 (but
ONLY_FULL_GROUP_BYsql mode should be disabled).
MySQL 8 is supported as well in context of compatibility but we observed performance issues with insert operations.
TPOSS compatible to run within MariaDB Galera cluster and MySQL NDB cluster and does not have any specific limitations according to MySQL NDBOpens in a new tab and MariaDB Galera ClusterOpens in a new tab documentations.
To operate on MySQL TPOSS should have created database. Create UTF-8 encoded databases named tposs
and a user with all permissions for these databases.
Appropriate commands to create the databases would be:
If TPOSS is configured to have the CDR table parittioned the MySQL event scheduler should be enabled with the command:
Please note, that the size of the connection pool configured in the database needs to match the
expectation of the applications. For example: A database connected to two TPOSS
instances with configured pool sizes of 100 needs to be able to handle at least 200 connections.
The possible amount of connections could be checked via max_connections MySQL variable
with the:
command. Usually it worth to set max_connections to a bit bigger value than pool size of
all TPOSS instances to have separate access via standard MySQL client to the database.