Unimus can be deployed using an embedded file-based database (HSQL - only for small deployments), or a full dedicated DB.

You can find the full list of supported DB types and versions here.

Supported databases and versions

DatabaseOldest supported versionNewest supported version
PostgreSQL9.217.0
MariadDB 10.211.6
MYSQL5.79.0
MSSQL14.0 (from 2017)16.0 (from 2022)
HSQLNOT RELEVANTNOT RELEVANT

Recommended DB settings:

For optimal performance and compatibility of your database with Unimus you can find recommend DB settings it he following table.
In case your database use any other collation, please make sure to choose one that is always case-insensitive.

DatabaseCharacters setCollation

PostgreSQL

utf8

C (equivalent to POSIX)

MariadDB 

utf8mb4

utf8mb4_unicode_ci

MYSQL

utf8mb4

utf8mb4_unicode_ci

MSSQL

UCS-2 / UTF-16

Latin1_General_CI

SQL_Latin1_General_CP1_CI

HSQL

NOT RELEVANT

NOT RELEVANT

Using this combination ensures better global language support and consistent case-insensitive behavior in text comparisons.

HSQL (file-based) database considerations

Please note we do not recommend using the HSQL (file-based) database for deploys over 100 devices, and do not support HSQL deploys with 1000+ devices.

Since HSQL is a file based database, that keeps all data in a few flat text-based files, as the DB size grows, performance is severely impacted. If you want to use HSQL long-term, you should:

HSQL databases can get corrupted if the disk on which data is stored runs out of space.

PostgreSQL details

Until Unimus 2.6, only PostgreSQL 11 or older were supported. Starting with Unimus 2.6, we now support all newer version of Postgre.

If you wish to migrate from an older Postgre version to newer, please see the instructions below.

Step by step for PostgreSQL migration:

Before you start with migration and for more information related to PostgreSQL we highly recommend to visit visit the official page: https://www.postgresql.org/docs/9.0/migration.html 

Upgrading PostgreSQL from Version 11 to 12+

Upgrading PostgreSQL from Version 12 to 16