MariaDB 12.1 Changes & Improvements
An overview of changes, improvements, and what's new in MariaDB Community Server 12.1
MariaDB 12.1 is a rolling release. It is an evolution of MariaDB 12.0 with several entirely new features.
New Features
Performance improvements
Segmented key cache for Aria storage engine (MDEV-24)
The new aria_pagecache_segments system variable defines how many segments are used, default is
1, maximum128
MDL scalability improvements (MDEV-19749)
Asynchronous replication between two Galera Clusters can now use parallel replication
This is managed by the slave_parallel_threads system variable (MDEV-20065)
The audit plugin now supports buffered logging
The size of the buffer is defined using the new system variable server_audit_file_buffer_size (MDEV-34680)
Faster vector distance calculations via extrapolation (MDEV-36205)
Compatibility features
New authentication plugin caching_sha2_password for MySQL compatibility (MDEV-9804)
Associative arrays: DECLARE TYPE .. TABLE OF .. INDEX BY (MDEV-34319) (blog post)
DROP USER will now by default issue a warning if the user has active sessions, or fail in Oracle mode (MDEV-35617)
Optimizer
Optimizations for GROUP/ORDER BY can make use of indexes on virtual columns (MDEV-36132)
Include definitions of tables and views in the optimizer trace (MDEV-36483)
optimizer_record_context system variable.
Optimizer hints
Miscellaneous
Retry applying of write sets on Galera nodes (MDEV-36077)
Controlled through the wsrep_applier_retry_count system variable
mariadb-dump now supports wildcards with the
-Lor--wildcardsoption (MDEV-21376)Foreign key constraint names no longer need to be unique per database, only per table (MDEV-28933) (blog post)
Development release only
This feature was only available in the 12.1 development releases, and will be implemented in a later series.
Security Vulnerabilities Fixed in MariaDB 12.1
For a complete list of security vulnerabilities (CVEs) fixed across all versions of MariaDB, see the Security Vulnerabilities Fixed in MariaDB page.
List of All MariaDB 12.1 Releases
26 June 2025
MariaDB 12.1.0
Preview
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

