Changes and Improvements in MariaDB 10.6
The most recent release of MariaDB 10.6 is:MariaDB 10.6.21 Stable (GA) Download NowAlternate download from mariadb.org
MariaDB 10.6 is the current long-term maintenance stable version. The first stable release was in July 2021, and it will be maintained until July 2026.
Upgrading
New Features & Improvements
See the Differences in MariaDB Enterprise Server 10.6 page for items that are different between MariaDB Community Server 10.6 and MariaDB Enterprise Server 10.6.
Atomic DDL
CREATE TABLE, ALTER TABLE, RENAME TABLE, DROP TABLE, DROP DATABASE and related DDL statements are now atomic. Either the statement is fully completed, or everything is reverted to it's original state. Note that when deleting multiple tables with DROP TABLE, only each individual drop is atomic, not the full list of tables). (MDEV-23842).
SQL Syntax
Implement SQL-standard SELECT ... OFFSET ... FETCH (MDEV-23908)
Add SELECT ... SKIP LOCKED syntax (InnoDB only) (MDEV-13115)
JSON_TABLE, used to extract JSON data based on a JSON path expression and to return it as a relational table (MDEV-17399)
Oracle Compatibility
Anonymous subqueries in a FROM clause (no AS clause) are permitted in ORACLE mode (MDEV-19162)
ADD_MONTHS() added (MDEV-20025)
TO_CHAR() added (MDEV-20017)
SYS_GUID() added (MDEV-24285)
MINUS is mapped to EXCEPT in UNION (MDEV-20021)
ROWNUM function returns the current number of accepted rows in the current context (MDEV-24089)
InnoDB
Optimization to speed up inserts into an empty table (MDEV-515)
We intended to deprecate and eventually remove the InnoDB's COMPRESSED row format. The first step was to make the tables read-only by default, but this plan was abandoned from MariaDB 10.6.6 (MDEV-23497) (MDEV-27736)
Information Schema SYS_TABLESPACES now directly reflects the filesystem, and SYS_DATAFILES has been removed (MDEV-22343)
Defer writes to the InnoDB temporary tablespace (MDEV-12227)
The old MariaDB 5.5-compatible
innodb
checksum is no longer supported, onlycrc32
. Removed the*innodb
and*none
options from innodb_checksum_algorithm, and the--strict-check
/-C
and--write
/-w
options from innochecksum (MDEV-25105)
Replication, Galera and Binlog
Increase master_host limit to 255, user to 128 (MDEV-24312)
The wsrep_mode system variable, for turning on WSREP features which are not part of default behavior (including the experimental Aria replication) (MDEV-20008, MDEV-20715, MDEV-24946)
The delay between binary log purges can now be specified with much greater precision. The system variable binlog_expire_logs_seconds is introduced as a form of alias for expire_logs_days, which now accepts a precision of 1/1000000 days (MDEV-19371)
Allow transition from unencrypted to TLS Galera cluster communication without cluster downtime (MDEV-22131)
Sys Schema
Bundle sys-schema, a collection of views, functions and procedures to help administrators get insight into database usage. (MDEV-9077)
Performance Schema
Merged replication instrumentation and tables (MDEV-16437, MDEV-20220)
Information Schema
The views INFORMATION_SCHEMA.KEYWORDS and INFORMATION_SCHEMA.SQL_FUNCTIONS have been added to the information schema (MDEV-25129)
Storage Engines
TokuDB has been removed (MDEV-19780)
CassandraSE has been removed (MDEV-23024)
Character Sets
The
utf8
character set (and related collations) is now by default an alias forutf8mb3
rather than the other way around. It can be set to implyutf8mb4
by changing the value of the old_mode system variable (MDEV-8334)
General
Bundle sys schema (MDEV-9077)
Do not resend unchanged resultset metadata for prepared statements (MDEV-19237)
--bind-address=hostname now listens on both IPv6 and IPv4 addresses (MDEV-6536)
Support systemd socket activation (MDEV-5536)
For the GSSAPI plugin, support AD or local group name, and SIDs on Windows (MDEV-23959)
Check for $MARIADB_HOME/my.cnf (MDEV-21365)
Variables
For a list of all new variables, see System Variables Added in MariaDB 10.6 and Status Variables Added in MariaDB 10.6.
max_recursive_iterations has been reduced to 1000 (MDEV-17239)
InnoDB Variables
The following deprecated variables have been removed (MDEV-23397):
Security Vulnerabilities Fixed in MariaDB 10.6
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 10.6 Releases
Date
Release
Status
Release Notes
Changelog
Last updated
Was this helpful?