What is not there yet
A consolidated list of the things Raft DB does not do today, with the page of this manual that explains each.
This list is meant to save you a failed evaluation. Every item is taken from the code, the tests or the decision log. Items marked refused return a MySQL error (usually 1235, "doesn't yet support ...") so that nothing is silently ignored.
Security#
- No TLS on the binary protocol, replication, watcher peers and webhooks (the MySQL, MariaDB, SQL Server and PostgreSQL client connections have it, and the HTTP API has it on a separate
https-addrport). See TLS and encryption. raftdb-serveraccounts are given on the command line or in the settings file; they are not stored in the database and are not replicated.- MariaDB's
ed25519,parsecandgssapiauthentication plugins are not offered. - Refused:
ACCOUNT LOCK,PASSWORD EXPIRE,REQUIRE SSL/X509, resource limits, roles, proxy grants, routine privileges,IDENTIFIED BY RANDOM PASSWORD. - The dynamic global privileges (
SYSTEM_VARIABLES_ADMINand the like) are not known.mysql.userandmysql.dbare not provided; useSHOW GRANTS.
Transactions and locking#
- Isolation is by table claims (
READ-COMMITTED, one table at a time, one front-end process): no dirty reads and no lost updates, but no repeatable reads or snapshot reads, a long transaction holds up everybody who needs its tables, andFOR UPDATE,LOCK IN SHARE MODEandLOCK TABLESlock nothing of their own. A crash of the front-end in the middle of a transaction leaves what had been written. See Consistency guarantees. - Server-side cursors (
COM_STMT_FETCH) are refused.
SQL#
- Stored events,
ALTER FUNCTIONandALTER PROCEDURE,ALTER DATABASEand several other administrative statements are not supported; every documentation example of the real manuals was run on MySQL and on Raft DB and put in a class (SAME,DIFF,UNSUPPORTED). That coverage run was made earlier than the newest decisions, so the lists in this manual are the current state. - Triggers: the
BEFOREtriggers of the update thatON DUPLICATE KEY UPDATEmakes, multi-tableDELETE, triggers on views are not done. WITH CHECK OPTIONof views is stored but not enforced.- Refused with error 1235 by the parser (checked in
sql.rs): full-text and spatial indexes,PARTITION BYinCREATE TABLEandALTER TABLE,LOAD DATA INFILE,SELECT ... INTO OUTFILE,SET PERSIST,EXPLAIN ANALYZE,LIKE ... ESCAPE,FETCH FIRST ... WITH TIES, window frames inGROUPSmode, parenthesised joins, a binary or case-sensitiveCOLLATE, and the statementRENAME TABLE(onlyRENAME USERis parsed). TheGEOMETRYcolumn type is refused by name. - The
mysql,performance_schemaandsysschemas are not real databases. - Functions called in a statement may not take columns as arguments when they are stored functions (refused as unsupported).
Storage#
- No backup tool, no point-in-time recovery, no log archiving. See Backup and recovery.
- No compaction or checkpoint while a table serves writes: a checkpoint on demand makes the table unavailable for its duration.
- Persisted index runs: indexes are rebuilt at open on the in-memory engine.
- No file lock on the data directory.
- Each node of a cluster holds a whole copy of every replicated table; there is no tiering and no distributed query.
- A thread pair per connection: one server cannot hold a million idle connections yet.
Replication and clusters#
- The data log does not go through Raft; Raft decides who is primary, log shipping moves the data. See Status: built and open.
- No replication of accounts; no multi-master with conflict resolution; no cross-partition transactions; no online split or merge of partitions; changing the number of groups of a running cluster is not supported.
- Reads from followers are not offered in table-group mode: requests for tables led by another node are forwarded.
Operations#
- No Windows service (a startup task is used); no deb, rpm or MSI packages.
- HTTPS webhooks in the watcher: not built (use
notify_commandwithcurl). - The project's records describe benchmarks on a development PC; the reference Linux host with NVMe and 16 cores is not fixed.