What's New in MariaDB Enterprise Server 10.5?
An overview of changes, improvements, and what's new in MariaDB Enterprise Server 10.5
MariaDB Enterprise Server 10.5 introduces the new features listed below.
Notable Features
Enterprise ColumnStore Storage Engine
The is a columnar storage engine that provides distributed, columnar storage for scalable analytical processing and smart transactions.
MariaDB Enterprise Server 10.5 includes an enterprise version of the as a plugin:
It includes MariaDB Enterprise ColumnStore 5, which has many improvements.
The installation process has been massively simplified.
The multi-node implementation has been completely rebuilt to use a REST API for orchestration.
Embracing the MariaDB Name
MariaDB Enterprise Server 10.5 uses the "MariaDB" name in more places:
It uses MariaDB in many error messages that previously referred to MySQL.
It uses DBD::MariaDB for bundled Perl scripts that previously used DBD::mysql.
It uses new MariaDB-based names as the primary names for many executables. The old names are still supported for backward compatibility using symbolic links. The new MariaDB-based names were first introduced in MariaDB Enterprise Server 10.4. However, in that version, the old names were still the primary names for the executables, and the new names were supported using symbolic links. See below for the new MariaDB-based names:
Old Executable Name
New Executable Name
MariaDB Enterprise Server 10.5 includes some packaging improvements:
It includes a new mariadb-conv command-line tool to encode/decode MariaDB-encoded file system names.
Binary tarball packages have the following changes:
Embedded server (libmysqld) has been removed.
InnoDB Storage Engine
The is an ACID-compliant storage engine that is very performant and reliable for general purpose transactional workloads.
MariaDB Enterprise Server 10.5 includes many significant improvements to the :
It implements a new thread pool for InnoDB background tasks, which allows for InnoDB to use system resources more efficiently.
It reduces semaphore contention in several areas to help the system perform better under high concurrency:
It reduces semaphore contention when accessing the buffer pool.
Spider Storage Engine
The allows you to build complex and powerful distributed databases using federated and sharded tables.
MariaDB Enterprise Server 10.5 contains several enhancements for the storage engine:
It adds support for an . This feature has beta maturity.
Aria Storage Engine
The is a crash-safe storage engine that is incredibly fast for read-only workloads.
MariaDB Enterprise Server 10.5 contains several enhancements for the :
It handles the statement by blocking commits to Aria tables, which allows for safer backups with .
It increases the index length limit for Aria tables from 1000 bytes to 2000 bytes.
S3 Storage Engine
MariaDB Enterprise Server 10.5 contains several enhancements to the :
The S3 storage engine allows tables to be archived in S3-compatible storage.
Tables can be archived in S3 by executing .
After the table has been archived, it becomes read-only.
Privileges Comparison ES10.4 and ES10.5.8-5
MariaDB Enterprise Server 10.5 adds privileges that allow operations that previously required the . The following table is a summary of the changes between MariaDB Enterprise Server 10.4 and MariaDB Enterprise Server 10.5.8-5. More specific detail is found in , and in .
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to execute statements
Allows the user to the following system variables:
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
privilege is an alias for this new privilege, but the capabilities have changed
Unlike legacy REPLICATION CLIENT privilege, can no longer execute SHOW SLAVE STATUS, SHOW REPLICA STATUS in ES10.5
BINLOG MONITOR allows the user to execute statements
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to execute statements, which are output by
Allows the user to execute statements when is set to replication
Allows the user to set the session values of several system variables that are usually included in statements:
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Skips the execution of when the user connects
Ignores when the user connects
Ignores when the user connects
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to execute statements
Allows the user to execute statements
Allows the user to execute statements
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to write data even if the system variable is enabled
Allows the user to execute statements even if the system variable is enabled
Allows the user to execute statements even if the system variable is enabled
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
REPLICA MONITOR is a new privilege in ES10.5.8-5 and was not present in earlier releases
REPLICA MONITOR can execute:
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
REPLICATION CLIENT can be used as an alias for BINLOG MONITOR but the capabilities for BINLOG MONITOR are different than those of legacy REPLICATION CLIENT
Unlike legacy REPLICATION CLIENT privilege, can no longer execute SHOW SLAVE STATUS, SHOW REPLICA STATUS in ES10.5
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to execute statements
Allows the user to execute statements
Allows the user to set system variables:
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Added in ES10.5 as an alias for
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Can be used as an alias for
In ES10.5 REPLICATION SLAVE can no longer execute SHOW RELAYLOG EVENTS. In ES10.5 versions earlier than ES10.5.8-5, SHOW RELAYLOG EVENTS requires . In ES10.5.8-5, SHOW RELAYLOG EVENTS requires
In ES10.5 REPLICATION SLAVE can no longer execute . SHOW BINLOG EVENTS requires
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Capabilities changed in ES10.5.8-5 with the following abilities removed from REPLICATION SLAVE ADMIN and now granted with :
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Alias for see for details
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to set the definer of views, triggers, stored procedures, stored functions, and events
Allows the user to view the definer of an object, even if the user account no longer exists. |
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
SLAVE MONITOR is a new privilege in ES10.5.8-5 and was not present in earlier releases
SLAVE MONITOR can execute:
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
The SUPER privilege is present in ES10.4 and ES10.5 but the capabilities have changed. New privileges have been added in ES10.5 to provide finer grained control and reduce the need to grant SUPER privileges
With the addition of the new privileges in ES10.5, SUPER:
no longer executes SHOW MASTER STATUS, SHOW BINLOG STATUS, and SHOW BINARY LOGS. Those require BINLOG MONITOR in ES10.5
Privileges Comparison ES10.4 and ES10.5 before ES10.5.8-5
MariaDB Enterprise Server 10.5 adds privileges that allow operations that previously required the . The following table is a summary of the changes between MariaDB Enterprise Server 10.4 and MariaDB Enterprise Server 10.5 before MariaDB Enterprise Server 10.5.8-5. More specific detail is found in , and in .
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to execute statements
Allows the user to the following system variables:
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Legacy privilege is an alias for this new privilege, but the capabilities have changed
Unlike legacy REPLICATION CLIENT privilege, can no longer execute SHOW SLAVE STATUS, SHOW REPLICA STATUS in ES10.5
BINLOG MONITOR allows the user to execute statements
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to execute statements, which are output by
Allows the user to execute statements when is set to replication
Allows the user to set the session values of several system variables that are usually included in statements:
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Skips the execution of init_connect when the user connects
Ignores max_connections when the user connects
Ignores max_user_connections when the user connects
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to execute statements
Allows the user to execute statements
Allows the user to execute statements
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to write data even if the system variable is enabled
Allows the user to execute statements even if the system variable is enabled
Allows the user to execute statements even if the system variable is enabled
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
REPLICATION CLIENT can be used as an alias for BINLOG MONITOR but the capabilities for BINLOG MONITOR are different than those of legacy REPLICATION CLIENT
Unlike legacy REPLICATION CLIENT privilege, can no longer execute SHOW SLAVE STATUS, SHOW REPLICA STATUS in ES10.5
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to execute statements
Allows the user to execute statements
Allows the user to set system variables:
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Added in ES10.5 as an alias for
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Can be used as an alias for
In ES10.5 REPLICATION SLAVE can no longer execute SHOW RELAYLOG EVENTS. In ES10.5 versions earlier than ES10.5.8-5, SHOW RELAYLOG EVENTS requires . In ES10.5.8-5, SHOW RELAYLOG EVENTS requires
In ES10.5 REPLICATION SLAVE can no longer execute . SHOW BINLOG EVENTS requires
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Alias for REPLICATION SLAVE ADMIN
Capabilities changed in ES10.5.8-5 with the following abilities removed from REPLICATION SLAVE ADMIN and now granted with :
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Alias for see for details
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
Allows the user to set the definer of views, triggers, stored procedures, stored functions, and events
Allows the user to view the definer of an object, even if the user account no longer exists.
Present in ES10.4?
Present in ES10.5.8-5?
Notes:
The SUPER privilege is present in ES10.4 and ES10.5 but the capabilities have changed. New privileges have been added in ES10.5 to provide finer grained control and reduce the need to grant SUPER privileges
With the addition of the new privileges in ES10.5, SUPER:
no longer executes SHOW MASTER STATUS, SHOW BINLOG STATUS, and SHOW BINARY LOGS. Those require BINLOG MONITOR in ES10.5
MariaDB Replication
MariaDB Enterprise Server 10.5 improves :
It allows extended table metadata to be written to the binary log by configuring the system variable.
It changes the default parallel replication mode from conservative to optimistic.
It renames the REPLICATION CLIENT
BINLOG MONITOR (formerly REPLICATION CLIENT)
Newly Granted Operations:
Allows the user to execute statements
Allows the user to execute statements
Allows the user to execute statements
** Granted Operations:**
Allows the user to execute PURGE BINARY LOGS statements
Allows the user to set system variables:
Granted Operations:
Allows the user to execute statements, which are output by
Allows the user to execute statements when is set to replication
Allows the user to set the session values of several system variables that are usually included in statements:
REPLICATION MASTER ADMIN
Granted Operations:
Allows the user to execute SHOW REPLICA HOSTS statements
Allows the user to execute SHOW SLAVE HOSTS statements
Allows the user to set system variables:
REPLICATION SLAVE ADMIN
Granted Operations:
Allows the user to execute statements, which are output by
Allows the user to execute statements
Allows the user to execute statements
Statement Aliases
It adds aliases for statements that contain the word SLAVE that also allow the word REPLICA:
Statement
New Statement Alias
It adds the shutdown_wait_for_slaves system variable to control whether a replication-aware shutdown is the default shutdown behavior.
MariaDB Enterprise Cluster
MariaDB Enterprise Server 10.5 improves support for :
It allows Galera Cluster to be configured to prohibit DDL replication to only the storage engines that support Galera Cluster by configuring the system variable.
It adds full GTID support to Galera Cluster.
It adds an inconsistency voting protocol to mitigate the harm of inconsistencies by choosing very carefully which inconsistent nodes need to abort.
MariaDB Enterprise Server 10.5 improves support for :
It allows that are partitioned on an interval of SYSTEM_TIME to be configured with a specific start date and time, which can make partition management more user-friendly.
It allows to be configured to prohibit overlapping time periods.
SQL Functionality
MariaDB Enterprise Server 10.5 improves SQL functionality in several areas:
It changes the behavior of the statement to forcefully drop the table, even if the storage engine can't find the table.
It changes the behavior of the statement, so that it no longer flushes the table definition cache, so that it performs better under concurrency.
It changes the behavior of the statement to SHOW the time spent checking the WHERE clause.
MariaDB Enterprise Server 10.5 includes several improvements:
It allows a server to be configured to by configuring the system variable.
If this mode is enabled, then all TCP connections must use TLS.
Local connections that connect using a Unix socket or a named pipe are also allowed.
BINLOG MONITOR (formerly REPLICATION CLIENT)
Newly Granted Operations:
Allows the user to execute statements
Allows the user to execute statements
Allows the user to execute statements
Granted Operations:
Allows the user to execute statements
Allows the user to set system variables:
Granted Operations:
Allows the user to execute BINLOG statements, which are output by mariadb-binlog
Allows the user to execute SET TIMESTAMP statements when secure_timestamp is set to replication
Allows the user to set the session values of several system variables that are usually included in BINLOG statements:
CONNECTION ADMIN
Granted Operations:
Skips the execution of init_connect when the user connects
Ignores max_connections when the user connects
Ignores max_user_connections when the user connects
FEDERATED ADMIN
Granted Operations:
Allows the user to execute statements
Allows the user to execute statements
Allows the user to execute statements
READ ONLY ADMIN
Granted Operations:
Allows the user to write data even if the system variable is enabled
Allows the user to execute DROP TRIGGER statements even if the system variable is enabled
Allows the user to execute START TRANSACTION READ WRITE statements even if the system variable is enabled
REPLICATION MASTER ADMIN
Granted Operations:
Allows the user to execute statements
Allows the user to execute statements
Allows the user to set system variables:
REPLICATION SLAVE ADMIN
Granted Operations:
Allows the user to execute statements, which are output by
Allows the user to execute statements
Allows the user to execute
STATUS statements
Granted Operations:
Allows the user to set the definer of views, triggers, stored procedures, stored functions, and events.○ Allows the user to view the definer of an object, even if the user account no longer exists
HashiCorp Vault Encryption Plugin
MariaDB Enterprise Server 10.5 introduces an encryption plugin to support for :
It allows HashiCorp Vault to manage encryption keys for .
It communicates with the remote KMS using TLS.
It supports key rotation.
Performance Schema
MariaDB Enterprise Server 10.5 includes several improvements:
It adds support for some of the instrumentation and tables included in MySQL 5.7.
It adds the CONNECTION_TYPE column to the threads table, which can be used to determine which connections are using TLS.
It adds new instrumentation for the following:
Information Schema
MariaDB Enterprise Server 10.5 includes several improvements:
It adds the GLOBAL_VALUE_PATH column to the table, which can be used to determine which configuration file a variable's global value was read from.
It adds new tables to monitor the internals of the thread pool on Linux:
MariaDB Enterprise Server 10.5 includes several thread pool improvements:
It improves how it calculates the number of currently active threads, which can help prevent deadlocks.
It improves performance under very bursty workloads by basing the thread creation rate and the throttling interval on the values of the and system variables.
It adds new tables to monitor the internals of the thread pool on Linux:
MariaDB Enterprise Server 10.5 includes several protocol improvements:
It adds protocol support for the new Data Type API.
It adds protocol support for the data type.
It adds protocol support for the data type.
XA Transactions
MariaDB Enterprise Server 10.5 includes some XA transaction improvements:
It allows prepared XA transactions to be properly recovered after a client disconnects.
MariaDB Enterprise Server 10.5 includes some internal improvements:
Its internal regular expression library has been upgraded from PCRE to PCRE2.
It adds support for a new Data Type API, so that plugins can define custom data types.
For a complete list of changes, see .