Release Notes for MariaDB Enterprise Server 10.5.4-2
This page is part of MariaDB's Documentation.
The parent of this page is: Release Notes for MariaDB Enterprise Server 10.5
Topics on this page:
Overview
This second release of MariaDB Enterprise Server 10.5 is the first GA (Generally Available) release. It Includes a variety of new features.
MariaDB Enterprise Server 10.5.4-2 was released on 2020-07-16.
Note
With MariaDB Enterprise Server 10.5 "mysql" command names are replaced with "mariadb" command names. Symbolic links are in place to maintain backward compatibility with the old names and prevent disruption. (MDEV-21303)
Notable Changes
MariaDB Enterprise ColumnStore is a columnar storage engine for analytical workloads. MariaDB Enterprise ColumnStore 1.5.3 is included in this release. Specific details on this component may be found in the Enterprise ColumnStore 1.5.3 release notes.
Changes in Storage Engines
New in storage engine ColumnStore:
This release includes Enterprise ColumnStore 1.5.3 release notes.
Comprehensive rewrite of installation, cluster management, and failover logic
Support for standard MariaDB Server collations and character sets
New in storage engine InnoDB:
Online resizing of the InnoDB redo log
InnoDB Buffer Pool optimizations (MDEV-15058)
Number of InnoDB purge threads can be changed at runtime
New thread pool implementation for InnoDB background tasks (MDEV-16264)
Information Schema tables THREAD_
POOL_ , THREAD_GROUPS POOL_ , and THREAD_QUEUES POOL_ added for insights into internals of the new InnoDB Thread Pool (MDEV-19313)STATS Status variables added for InnoDB storage engine parameters previously exposed only in
SHOW ENGINE INNODB STATUS
(MDEV-18582)Improvements to Group Commit performance for InnoDB Redo Log (MDEV-21534)
InnoDB file format constraints to ALTER TABLE statements allow compatibility with older versions (MDEV-20590)
Improvements to DROP TABLE for InnoDB (MDEV-8069, MDEV-11412, MDEV-22456)
InnoDB performance improvements (MDEV-15053, MDEV-22593, MDEV-22697, MDEV-22871, MDEV-22841)
New in storage engine S3:
Enhancements to partition support
Replication support using shared or separate
S3
storage backend for Primary and Secondary Node
New in storage engine Spider:
This release includes Enterprise Spider 3.4, which adds support for an ODBC foreign data wrapper.
For ODBC Spider Tables, Enterprise Spider uses the ODBC foreign data wrapper to read from and write to an ODBC Data Source.
The ODBC foreign data wrapper has beta maturity.
information_
schema.SPIDER_ table added to provide information about supported foreign data wrappersWRAPPER_ PROTOCOLS
SQL Level Enhancements
MariaDB SQL statements support
REPLICA
a synonym forSLAVE
(MDEV-20601)RETURNING
clause can be used forINSERT
andREPLACE
statements to return a result set of the inserted rows or another specified SQL statement (MDEV-10014)INTERSECT
andEXCEPT
statements supportALL
, so result sets can now include duplicate rows (MDEV-18844)Comments can be added for a database in the CREATE DATABASE statement, formerly limited to field level (MDEV-307)
JSON function JSON_
ARRAYAGG() can be used to create a JSON array from the values of a column (MDEV-16620)JSON function JSON_
OBJECTAGG() can be used to build an JSON object from the result set of a query (MDEV-16620)Support added for creating custom Data Types using the new Data Type API (MDEV-274)
INET
data type plugin added for storing IPv4 and IPv6 addresses
RENAME INDEX
andRENAME KEY
can be used with ALTER TABLE (MDEV-7318)RENAME COLUMN
can now be used with ALTER TABLE (MDEV-16290)Support added for recursive CTE cycle detection using the
CYCLE
clause (MDEV-20632)IF EXIST
keywords are now supported in ALTER TABLE and RENAME TABLE statementsSupport added for
WITHOUT OVERLAPS
for Application-Time Period temporal tables (MDEV-16978)
Replication and High Availability (HA)
Replica aware server shutdown (MENT-731)
Primary only shuts down when replication transactions have been processed
Added the shutdown_
wait_ system variable to control default behaviorfor_ slaves
MariaDB Enterprise Cluster based on Galera 4.1
New non-blocking DDL mode: set wsrep_
osu_ system variable tomethod NBO
to allow DDL to not block the whole cluster for ALTER TABLE statements, which use a lock modeSHARED
orEXCLUSIVE
Galera Black Box as debug message storage for troubleshooting
A new inconsistency voting protocol in MariaDB Cluster can be used avoiding a full cluster shutdown while ensuring hardening the cluster against potential threats for data consistency (MDEV-17048)
Support added for Galera Global Transaction ID in MariaDB Cluster, which replicates MariaDB Global Transaction ID to other nodes in the cluster (MDEV-20720)
Support added for Non Blocking Operations method in wsrep_
osu_ system variable (MDEV-20051)method
Privileges and Security Features
Key Management plugin for HashiCorp Vault System
System variable require_
secure_ for rejecting connections attempted using insecure transport (MDEV-13662)transport SUPER privilege split into several smaller privileges, allowing for more fine grained tuning of what each user can do: BINLOG ADMIN, BINLOG REPLAY, CONNECTION ADMIN, FEDERATED ADMIN, READ_
ONLY ADMIN , REPLICATION MASTER ADMIN, REPLICATION SLAVE ADMIN, and SET USER (MDEV-21743)
Optimizer Changes
For filesort, the mode
addon_fields
,addon_fields
, orpacked_addon_fields
used for sorting will be shown inANALYZE FORMAT=JSON
(MDEV-21838)Through enhancement to Query Optimizer, ANALYZE now shows the time spent for checking
WHERE
clauses and performing other auxiliary operations (MDEV-20854)Enhancement for the sort buffer to allow packed values of non-sorted fields in the sort buffer (MDEV-21263)
Optimizer can now use packed sort keys in the sort buffer (MDEV-21580)
Interface Changes
Tools
aria_pack
supports transactional tablesaria_pack
now supports--datadir
,--ignore-control-file
, and--require-control-file
optionsmariadb-dump now supports
--ignore-table-data
option (MDEV-22037)
Privileges and Security
REPLICATION CLIENT privilege renamed to BINLOG MONITOR, the old syntax still understood for compatibility (MDEV-21743)
Several statements changed required privileges and may require a number of GRANT statements to be issued after upgrade:
SHOW BINLOG EVENTS now requires BINLOG MONITOR privilege, instead of REPLICATION SLAVE
SHOW SLAVE HOSTS now requires REPLICATION SLAVE ADMIN or SUPER privileges, instead of REPLICATION CLIENT or SUPER
SHOW SLAVE STATUS now requires REPLICATION SLAVE ADMIN or SUPER privileges, instead of REPLICATION CLIENT or SUPER
SHOW RELAYLOG EVENTS now requires REPLICATION SLAVE ADMIN privilege, instead of REPLICATION SLAVE
New defaults
Increased
gcache.size
option default in wsrep_provider_ system variable to 1 GB via the MariaDB Enterprise Server config fileoptions Changed innodb_
adaptive_ system variable default tohash_ index OFF
(MDEV-20487)Changed innodb_
checksum_ system variable default toalgorithm full_crc32
(MDEV-19534)Changed innodb_
log_ system variable default tofiles_ in_ group 1
(MDEV-20907)Default for the slave_
parallel_ system variable changed tomode optimistic
(MDEV-18648)
Configuration Options
Upgraded Performance Schema instrumentation and tables (MDEV-6114)
Support added for
ENFORCE
option withslave_run_triggers_for_rbr
system variable (MDEV-21833)Support added for
sql_if_exists
session system variable, which provides an implicitIF EXISTS
to SQL statements altering, renaming, or dropping tables, views, functions, and packages (MDEV-19964)Column added to Information Schema
SYSTEM_VARIABLES
table showing the configuration file from which it received its value (MDEV-12684)Columns that indicate InnoDB Buffer Pool instance now return a value of
0
on the Information SchemaINNODB_BUFFER_PAGE
,INNODB_BUFFER_PAGE_LRU
,INNODB_BUFFER_POOL_STATS
,INNODB_CMPMEM
, andINNODB_CMPMEM_RESET
(MDEV-15058)SHOW MASTER STATUS
statement renamed toSHOW BINLOG STATUS
, the old syntax still understood for compatibility (MDEV-21743)innodb_
encryption_ now capped atthreads 255
(MDEV-22258)Minimum value of
max_sort_length
raised to8
(previously4
), so fixed size data types likeDOUBLE
andBIGINT
are not truncated for lower values ofmax_sort_length
(MDEV-22715)
Deprecated/Removed System Variables
innodb_
checksums system variable removed (MDEV-19534)innodb_
log_ system variable deprecated (MDEV-19543)checksums innodb_
locks_ system variable removed (MDEV-19544)unsafe_ for_ binlog innodb_
stats_ system variable removed (MDEV-19551)sample_ pages innodb_
undo_ system variable deprecated (MDEV-19570)logs innodb_
rollback_ system variable removed (MDEV-19570)segments innodb_
buffer_ system variable deprecated and ignoredpool_ instances innodb_
page_ system variable deprecated and ignoredcleaners innodb_
log_ system variable deprecated and ignored (MDEV-19747)optimize_ ddl multi_
range_ system variable deprecated and removed (MDEV-18650)count thread_
concurrency system variable deprecated and removed (MDEV-18650)timed_
mutexes system variable deprecated and removed (MDEV-18650)innodb_
scrub_ system variable deprecated and ignored (MDEV-21870)log innodb_
scrub_ system variable deprecated and ignored (MDEV-21870)log_ speed innodb_
background_ system variable deprecated and ignored (MDEV-15528)scrub_ data_ uncompressed innodb_
background_ system variable deprecated and ignored (MDEV-15528)scrub_ data_ compressed innodb_
background_ system variable deprecated and ignored (MDEV-15528)scrub_ data_ interval innodb_
background_ system variable deprecated and ignored (MDEV-15528)scrub_ data_ check_ interval innodb_
log_ system variable deprecated and ignored (MDEV-14425)files_ in_ group innodb_
log_ system variable deprecated and ignored (MDEV-19747)optimize_ ddl
Deprecated/Removed Information Schema
Information Schema INNODB_
TABLESPACES_ table removed (MDEV-15528)SCRUBBING
Aria Storage Engine
Maximum key length for Aria storage engine increased from
1000
to2000
bytes
Platforms
In alignment to the enterprise lifecycle, MariaDB Enterprise Server 10.5.4-2 is provided for:
Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 7
CentOS 8
CentOS 7
Ubuntu 20.04
Ubuntu 18.04
Ubuntu 16.04
Debian 10
Debian 9
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server 12
Microsoft Windows
Some components of MariaDB Enterprise Server might not support all platforms. For additional information, see "MariaDB Corporation Engineering Policies".
Note
MariaDB Enterprise Server 10.5 removes support for Red Hat Enterprise Linux (RHEL) 6 and CentOS 6.
Installation Instructions
Enterprise Cluster Topology with MariaDB Enterprise Server 10.5
Primary/Replica Topology with MariaDB Enterprise Server 10.5
HTAP Topology with MariaDB Enterprise Server 10.5 and MariaDB Enterprise ColumnStore 5
Single-Node Enterprise ColumnStore 5 with MariaDB Enterprise Server 10.5 and Object Storage
Single-Node Enterprise ColumnStore 5 with MariaDB Enterprise Server 10.5
Enterprise Spider Sharded Topology with MariaDB Enterprise Server 10.5
Enterprise Spider Federated Topology with MariaDB Enterprise Server 10.5