OpenCms stores binary data such as gallery images in its database tables. MySQL's and MariaDB's default max_allowed_packet
setting is chosen too conservatively for OpenCms. You MUST increase this value so that images and other binary files can be saved.
This page describes some recommended settings for the database server used by OpenCms. Currently, we only have recommended settings for MySQL/MariaDB.
MySQL's / MariaDB's query cache can significantly improve the page load times of an OpenCms installation. For older versions of MySQL / MariaDB, the query cache was switched on by default, in newer versions it is switched off. Thus, it is worth checking the query cache settings for your OpenCms database.
Please refer to the MySQL / MariaDB documentation for a detailed description of all available query cache settings.
The following settings are only relevant when using MySQL/MariaDB with InnoDB as the storage engine for the OpenCms tables. Prior to OpenCms 12, the tables would be automatically created with MyISAM as the storage engine, but from OpenCms 12 onward, no storage engine is specified, so the default storage engine is used, which is usually InnoDB.
For more detailed information about these settings, refer to the MySQL or MariaDB documentation.