Files
wekan/docs/Databases/README.md
T
Lauri Ojansivu fea58e1312 Document which databases WeKan supports, and how each is tested.
docs/Databases/Supported.md is the one list: FerretDB v1 with SQLite (the
default everywhere), PostgreSQL (works), MySQL, MariaDB and SAP HANA
(experimental), FerretDB 2 (not tested), and MongoDB 6, 7, 8 and 9 - with
what checks each: the 110-query conformance catalogue answers the same on
all of them, and WeKan's own tests run on Meteor's bundled MongoDB 8 and on
FerretDB. It also says what to know about MongoDB versions: the Linux
kernel 6.19-7.0.13 refusal and its fixes, AVX, the driver, and upgrades.

The README and the Status section of CHANGELOG.md gain a Databases list,
docs/Databases/README.md links the page, the Meteor 2.14 compatibility guide
is marked historical, and the conformance page counts 110 cases and the
MongoDB backends. CLAUDE.md and AGENTS.md describe the new Status block.

Thanks to xet7 !
2026-10-10 19:07:14 +03:00

54 lines
2.7 KiB
Markdown

# Databases
WeKan stores its data in a MongoDB-compatible database. That can be MongoDB
itself, or FerretDB — which speaks the MongoDB wire protocol and stores the data
in SQLite, PostgreSQL, MySQL, MariaDB or SAP HANA. The **default** is FerretDB v1
with its embedded SQLite, so a fresh `docker compose up -d` needs no database
server at all.
**Which databases are supported, and how each is tested:
[Supported.md](Supported.md)** - FerretDB v1 on SQLite (the default),
PostgreSQL, MySQL, MariaDB and SAP HANA, and MongoDB 6, 7, 8 and 9.
| Directory | What is in it |
| --- | --- |
| [FerretDB/1/](FerretDB/1/) | FerretDB v1 — the default. SQLite, PostgreSQL, MySQL, MariaDB, SAP HANA |
| [FerretDB/2/](FerretDB/2/) | FerretDB 2 — PostgreSQL with the DocumentDB extension |
| [MongoDB/](MongoDB/) | MongoDB itself: drivers, versions, the OpLog, and old CPUs |
| [Migrations/](Migrations/) | WeKan's own schema migrations and how they are verified |
| [ToroDB/](ToroDB/) | ToroDB — a MongoDB proxy to PostgreSQL. No longer developed |
## FerretDB
Replacing MongoDB with FerretDB. Both of the v1 backends WeKan ships by default
are confirmed working with a real Meteor 3 client — the embedded SQLite and
vanilla PostgreSQL ([#6509](https://github.com/wekan/wekan/issues/6509)); MySQL,
MariaDB and SAP HANA are experimental.
- [FerretDB v1 — the five backends](FerretDB/1), and how to start each
- [FerretDB 2 + PostgreSQL install](FerretDB/2/PostgreSQL.md)
- <https://forums.meteor.com/t/ferretdb-1-18-now-has-oplog-support-trying-replace-mongodb-6-x-with-ferretdb-postgresql-or-ferretdb-sqlite/61092>
## MongoDB
- [Driver-System.md](MongoDB/Driver-System.md) — which Node driver is used for which server version
- [Version-Management.md](MongoDB/Version-Management.md) — detecting the server version and switching binaries
- [Supported.md](Supported.md) — the MongoDB versions tested with current WeKan: 6, 7, 8 and 9
- [Compatibility-Guide.md](MongoDB/Compatibility-Guide.md) — fixes from the Meteor 2.14 era, MongoDB 3.0 … 8.0
- [Oplog-Configuration.md](MongoDB/Oplog-Configuration.md) — why the OpLog matters, and how to enable it
- [OpLog-Enablement.md](MongoDB/OpLog-Enablement.md) — its status per deployment platform
- [avx-qemu.md](MongoDB/avx-qemu.md) — MongoDB 5+ on a CPU without AVX
- [raspi4-qemu.md](MongoDB/raspi4-qemu.md) — MongoDB 5+ on a Raspberry Pi 4 and older
## Migrations
- [Migrations/](Migrations/) — the schema-migration system, its review notes and
`verify-migrations.sh`
## ToroDB
ToroDB is not developed anymore. ToroDB was about adding a MongoDB proxy to
PostgreSQL or MySQL.
- [ToroDB/PostgreSQL/](ToroDB/PostgreSQL/) — the compose file and notes kept here