Changes and Improvements in MariaDB 11.4
You are viewing an old version of this article. View
the current version here.
The most recent release of MariaDB 11.4 is:
MariaDB 11.4.5 Stable (GA) Download Now
Alternate download from mariadb.org
Contents
MariaDB 11.4 is a current long-term development series.
Upgrading
New Features
This list includes features from the short-term releases MariaDB 11.0, MariaDB 11.1, MariaDB 11.2 and the MariaDB 11.3 rolling release.
SSL/TLS
- SSL is now enabled in the server by default. No configuration necessary, if no server certificate was provided a self-signed certificate will be automatically generated by the server. See Mission Impossible: Zero-Configuration SSL for details (MDEV-31856).
- Clients now can validate self-signed server certificates if the mysql_native_password or ed25519 authentication is used and account password is not empty (MDEV-31855).
- Clients now require SSL and have --ssl-verify-server-cert enabled by default (MDEV-31857).
- Replication clients do that too, MASTER_SSL_VERIFY_SERVER_CERT is enabled by default.
- Use
--disable-ssl
or--disable-ssl-verify-server-cert
to revert to the old behavior. - Clients can use new command line options --tls-fp and --tls-fplist to verify the server certificate by its fingerprint
Partitioning
- ALTER TABLE … EXCHANGE PARTITION and ALTER TABLE … CONVERT TABLE … TO now support the
WITH VALIDATION
andWITHOUT VALIDATION
clauses. If neither is specified, the default behavior isWITH VALIDATION
(MDEV-22164)
Sys Schema
- New view sys.privileges_by_table_by_level shows granted privileges broken down by table on which they allow access and level on which they were granted. For example, if a user
x
hasSELECT
privilege grantedON db.*
, this view will list all tables in thedb
schema with the userx
havingSELECT
privilege on them. This is different from INFORMATION_SCHEMA.TABLE_PRIVILEGES, which only lists privileges granted on the table level (MDEV-24486)
Optimizer
- Not only ascending, but also descending indexes can now be used to optimize MIN() and MAX() (MDEV-27576)
Spider
- The preferred way to specify Spider parameters is to use the dedicated Spider table options (implemented in MariaDB 11.3). Abusing the table
COMMENT
clause is now deprecated (MDEV-28861)
Miscellaneous
- CONV() function now supports conversion up to base 62 (MDEV-30879)
- Added support for packages (CREATE PACKAGE) outside of ORACLE sql_mode (MDEV-32101)
Replication
- Binary log writing speed was improved by moving checksum calculations out of the global binlog mutex (MDEV-31273). This is a contribution by Kristian Nielsen
- New system variable max_binlog_total_size enables binary log purging when the total size of all binary logs exceeds the specified threshold. The implementation is based on the patch from Percona (MDEV-31404)
- New system variable slave_connections_needed_for_purge disables binary log purging until the number of connected slaves reaches the specified threshold (MDEV-31404).
FULL_NODUP
is a new value for the binlog_row_image system variable. It essentially works likeFULL
, that is all columns are included in the event, but it takes less space, because the after image omits columns that were not changed by theUPDATE
statement, and have same values as in the before image. This is a contribution from Alibaba (MDEV-32589)- mariadb-binlog --flashback support for the FULL_NODUP mode. This is a contribution from Alibaba (MDEV-32894).
- MariaDB can optionally maintain a special index of GTIDs and their location in the binary log. If enabled (the default), it allows finding very quickly where a new connecting replica should start replicating from. Without an index, this required scanning the binlog. This is a contribution by Kristian Nielsen (MDEV-4991).
Backup and Restore
- New mariadb-dump option,
-j
,--parallel=
# for increased parallelism, specifies the number of dump table jobs executed in parallel (only for use with the--tab
option). Also added to mariadb-import, with--use-threads
as a synonym. (MDEV-32216)
Application-Time Periods
- Add views for periods in information_schema (MDEV-22597), in particular
- New view INFORMATION_SCHEMA.PERIODS
- New view INFORMATION_SCHEMA.KEY_PERIOD_USAGE
- New columns
IS_SYSTEM_TIME_PERIOD_START
andIS_SYSTEM_TIME_PERIOD_END
in the INFORMATION_SCHEMA.COLUMNS view
Variables
- For a list of all new variables, see System Variables Added in MariaDB 11.4.
List of All MariaDB 11.4 Releases
Date | Release | Status | Release Notes | Changelog |
---|---|---|---|---|
29 May 2024 | MariaDB 11.4.2 | Stable (GA) | Release Notes | Changelog |
16 Feb 2024 | MariaDB 11.4.1 | RC | Release Notes | Changelog |
24 Dec 2023 | MariaDB 11.4.0 | Alpha | Release Notes |
Comments
Comments loading...
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.