MariaDB server is a community developed fork of MySQL server. https://mariadb.org
  • MariaDB\ 72.1%
  • C++ 16.3%
  • C 10.2%
  • Shell 0.5%
  • Perl 0.4%
  • Other 0.3%
Find a file
Marko Mäkelä f980e724d9 MDEV-39091 BACKUP SERVER of ENGINE=RocksDB
RocksDB is based on log structured merge trees (LSM trees)
that are immutable files. A consistent point-in-time snapshot
is obtained at BACKUP_LOCK_COMMIT cheaply via rdb_create_checkpoint(),
which is also what mariadb-backup is invoking via
SET GLOBAL rocksdb_create_checkpoint.

Under BACKUP_LOCK_COMMIT, a backup snapshot is created in #rocksdb under
rocksdb_datadir (by default, #rocksdb/#rocksdb in the server datadir).
This snapshot will be made available in #rocksdb subdirectory of the
backup target. The default rocksdb_datadir="./#rocksdb" makes restore
transparent: just point datadir to the backup directory or a restored
copy of it.

The transfer of the snapshot is deferred to BACKUP_FINISHED, after the
backup lock has been released, and finally the checkpoint is removed
from rocksdb_datadir.

Co-developed by: Thirunarayanan Balathandayuthapani
Reviewed by: Alessandro Vetere
Assisted-by: Claude:claude-opus-5-5
2026-12-03 07:10:17 +02:00
.github Merge branch '13.1' into 13.2 2026-11-01 22:31:30 +01:00
bugfix-swarm/review_scratch MDEV-41352 Pluggable Aggregate Functions now supports FILTER syntax. 2026-11-13 10:27:24 +02:00
BUILD Merge branch '11.8' into 12.3 2026-11-01 21:09:50 +01:00
client MDEV-14992/MDEV-38362/MDEV-39092 BACKUP SERVER 2026-12-03 07:07:46 +02:00
cmake Merge 12.3 into 13.2 2026-11-27 08:11:40 +02:00
dbug Merge branch '12.3' into 13.0 2026-05-22 09:52:05 +02:00
debian Merge 13.2 into main 2026-11-24 06:48:37 +02:00
Docs Implement support for semi-sync with --binlog-storage-engine 2026-11-02 08:32:54 +01:00
extra MDEV-39061 mariadb-backup compatible wrapper for BACKUP SERVER 2026-12-03 07:09:45 +02:00
include MDEV-14992/MDEV-38362/MDEV-39092 BACKUP SERVER 2026-12-03 07:07:46 +02:00
libmariadb@9fe7000ec8 update C/C 2026-11-27 00:11:55 +01:00
libmysqld MDEV-14992/MDEV-38362/MDEV-39092 BACKUP SERVER 2026-12-03 07:07:46 +02:00
libservices Merge 12.3 to 13.1 2026-10-13 08:39:01 +03:00
man MDEV-30295 mysqldump produces syntactically incorrect statement 2026-10-19 10:05:06 +02:00
mysql-test MDEV-39091 BACKUP SERVER of ENGINE=RocksDB 2026-12-03 07:10:17 +02:00
mysys MDEV-14992/MDEV-38362/MDEV-39092 BACKUP SERVER 2026-12-03 07:07:46 +02:00
mysys_ssl Merge 12.3 into 13.2 2026-11-27 08:11:40 +02:00
plugin Merge 13.2 into main 2026-11-27 08:12:00 +02:00
randgen/conf Group commit for maria engine. 2010-02-12 15:12:28 +02:00
scripts Merge 12.3 into 13.2 2026-11-24 14:18:38 +02:00
sql MDEV-14992/MDEV-38362/MDEV-39092 BACKUP SERVER 2026-12-03 07:07:46 +02:00
sql-bench Fix remaining typos 2025-04-29 11:18:00 +10:00
sql-common Merge 12.3 into 13.2 2026-11-24 14:18:38 +02:00
storage MDEV-39091 BACKUP SERVER of ENGINE=RocksDB 2026-12-03 07:10:17 +02:00
strings Merge 12.3 into 13.2 2026-11-24 14:18:38 +02:00
support-files Merge 12.3 into 13.2 2026-11-24 14:18:38 +02:00
tests Merge 12.3 into 13.2 2026-11-24 14:18:38 +02:00
tpool Merge 11.8 to 12.3 2026-06-15 16:53:03 +02:00
unittest MDEV-14992/MDEV-38362/MDEV-39092 BACKUP SERVER 2026-12-03 07:07:46 +02:00
vio Merge 12.3 into 13.2 2026-11-27 08:11:40 +02:00
win Merge branch '11.8' into 12.3 2026-11-01 21:09:50 +01:00
wsrep-lib@5eeef4009d MDEV-38843: bump wsrep-lib on 10.11 to the commit-order fix 2026-07-07 12:23:16 +03:00
zlib Merge branch '12.3' into 13.0 2026-05-22 09:52:05 +02:00
.clang-format Remove duplicate key "Language" from .clang-format 2024-04-17 16:52:37 +02:00
.gitattributes Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
.gitignore Merge branch '11.8' into 12.3 2026-10-07 22:10:46 +02:00
.gitlab-ci.yml Merge 11.8 to 12.3 2026-06-15 16:53:03 +02:00
.gitmodules Merge branch '10.11' into '11.4' 2026-07-28 13:14:38 +02:00
appveyor.yml Merge branch '11.4' into 11.8 2026-10-07 10:57:35 +02:00
BUILD-CMAKE Merge branch '11.8' into 12.3 2026-11-01 21:09:50 +01:00
CMakeLists.txt cleanup: remove obsolete CMAKE_VERSION checks 2026-11-02 18:34:16 +01:00
CODING_STANDARDS.md update CODING_STANDARDS.md for agent era 2026-06-17 16:46:39 +02:00
COMMUNITY_CONTRIBUTIONS.md Merge branch '13.1' into 13.2 2026-11-01 22:31:30 +01:00
config.h.cmake MariaDB 12.3.3 release 2026-09-04 12:14:15 +02:00
configure.cmake Merge branch '12.3' into 13.1 2026-11-01 21:38:03 +01:00
CONTRIBUTING.md MDBF-1180: Fix errors in CONTRIBUTING.md 2026-06-23 20:05:20 +03:00
COPYING Update FSF Address 2019-05-11 21:29:06 +03:00
CREDITS MDEV-39584: update help sql tables and replace KB links 2026-05-15 13:30:21 +10:00
INSTALL-SOURCE MDEV-39584: update help sql tables and replace KB links 2026-05-15 13:30:21 +10:00
INSTALL-WIN-SOURCE MDEV-39584: update help sql tables and replace KB links 2026-05-15 13:30:21 +10:00
KNOWN_BUGS.txt MDEV-39584: update help sql tables and replace KB links 2026-05-15 13:30:21 +10:00
README.md Updated README.md to contain a more friendly version. 2026-08-04 15:11:59 +03:00
SECURITY.md Create SECURITY.md 2023-06-05 08:28:06 +10:00
THIRDPARTY Update THIRDPARTY license file to reflect reality 2025-04-18 23:16:46 +02:00
VERSION MariaDB 13.2.1 release 2026-11-23 21:26:36 +02:00

MariaDB Server

MariaDB Server is one of the most widely deployed open source relational databases. It is built by a global community of contributors together with the MariaDB Foundation and MariaDB plc, and it powers workloads from small applications to large-scale production systems.

MariaDB began as a fork of MySQL, led by the original MySQL developers, and it maintains a high degree of MySQL compatibility. It has since grown into a database with its own capabilities, including native vector search, multiple pluggable storage engines, synchronous clustering, and analytical features, while remaining a straightforward migration target for existing MySQL deployments.

Key features

  • Native vector search. A built-in VECTOR data type with approximate nearest-neighbour indexing (HNSW), available since MariaDB 11.8 with no extension required.
  • Pluggable storage engines. InnoDB (default for transactional workloads), Aria, MyRocks, ColumnStore for analytics, Spider for sharding, and S3 for archival, among others.
  • Replication and clustering. Asynchronous, semi-synchronous, and parallel replication with global transaction IDs, plus Galera synchronous multi-primary clustering.
  • Advanced SQL. Common table expressions and recursive CTEs, window functions, system-versioned (temporal) tables, sequences, and a broad set of JSON functions.
  • MySQL and Oracle compatibility. Wire-protocol and syntax compatibility with MySQL, plus an Oracle SQL mode supporting PL/SQL-style stored routines.
  • Spatial and full-text search. GIS data types and functions, and built-in full-text indexing.
  • Security. Role-based access control, pluggable authentication (ed25519, PAM, GSSAPI, and more), data-at-rest encryption, and TLS for connections.

Documentation

Releases

MariaDB Server follows a yearly long-term support (LTS) model alongside quarterly rolling releases. Binary LTS releases are maintained for three years and are recommended for production; rolling releases deliver new features sooner with a shorter support window.

For the current version and full history, see Releases and the MariaDB release calendar.

Installing

Packages and installation instructions for all supported platforms are available at https://mariadb.org/download/.

Building from source

To build MariaDB from source and run the test suite, follow the developer guide

It covers building the code correctly, running the MariaDB testing framework, and choosing the right branch to target for contributions.

Contributing

Contributions are welcome, from code and documentation to bug reports and reviews. See CONTRIBUTING.md to get started, and CODING_STANDARDS.md for code style. Contributors and community members are recognised in CREDITS.

Getting help

Licensing

MariaDB Server is licensed under version 2 of the GNU General Public License (GPLv2), without the "any later version" clause. This is inherited from MySQL. License information is in the COPYING file, and third-party license information is in the THIRDPARTY file.

About MariaDB Foundation

MariaDB is brought to you by the MariaDB Foundation and MariaDB plc. The MariaDB Foundation is the custodian of the MariaDB Server codebase, ensuring it stays open and that anyone can contribute. See CREDITS for details on the Foundation and the people developing MariaDB.

MySQL, the base of MariaDB, is a product and trademark of Oracle Corporation, Inc.