Exponential 6 supports six databases. The project lists them in this order: SQLite 3, PostgreSQL, MongoDB, MariaDB, Oracle and MySQL. The database is chosen in site.ini, [DatabaseSettings] DatabaseImplementation.
SQLite 3 (the default)
DatabaseImplementation=sqlite3. No database server: the database is one file in var/storage/sqlite3/. Version 3.33 or newer. Ideal for a single server, demos, staging and archives; not for several web servers sharing one database.
PostgreSQL 13 to 19
DatabaseImplementation=ezpostgresql (or postgresql, pgsql). Supported and tested from 13, the floor, to 19. From PostgreSQL 15 the site user must own the database. The installer creates the pgcrypto extension.
MongoDB
DatabaseImplementation=mongodb. Needs PHP 8.2 or newer, the mongodb PHP extension 1.18 or newer, the mongodb/mongodb Composer library and MongoDB server 6.0 or newer. SQL that has no MongoDB form (joins, HAVING, UNION, sub-selects) is answered through an in-memory SQLite fallback, limited by MongoSQLFallbackMaxRows.
MariaDB and MySQL
DatabaseImplementation=ezmysqli. utf8mb4 and InnoDB. MySQL 8.0 is in the project's test runs.
Oracle
DatabaseImplementation=ezoracle, through the ezoracle extension that Exponential requires. Needs the oci8 PHP extension and Oracle 19c or newer.
Read replicas
From 6.0.15, read queries can go to a replica on PostgreSQL, MySQL, MariaDB and Oracle: set UseSlaveServer=enabled and the SlaveServer settings in [DatabaseSettings].
Backups and upgrades on each engine
Each engine has its own schema update files in update/database/. xne backs up and upgrades all five SQL and document engines it knows (MySQL and MariaDB, PostgreSQL, SQLite, MongoDB and Oracle).