MariaDB is a fork of the MySQL RDBMS which delivers high availability and scalability. If MariaDB has been configured to use any of the compression methods supported by AOCL-Compression, it can be re-directed to load AOCL-Compression library at runtime as follows:
# Edit config file /etc/mysql/my.cnf and set desired compression method among: lz4, snappy, bzip2, zlib, lzma
# Install plugin provider for the selected method. E.g.: for lz4:
apt-get install mariadb-plugin-provider-lz4
# Start mariadb deamon while loading AOCL-Compression library
LD_PRELOAD="path/to/aocl_compression.so" mariadbd -u root -p &