All pages
Powered by GitBook
1 of 1

Loading...

MariaDB 12.0 Changes & Improvements

An overview of changes, improvements, and what's new in MariaDB Community Server 12.0

MariaDB 12.0 is a rolling release. It is an evolution of MariaDB 11.8 with several entirely new features.

New Features

Security

  • Support for passphrase protected keys ()

    • variable

  • New statement for performing actions as another user ()

  • Implement SHA2 support for file_key_management.so plugin (TDE) ()

Data types

  • Comparison (stored_func(),1)=ROW(1,1) erroneously called stored_func() twice per row. It led to a performance degradation, as well as to a double execution of the possible stored function side effects. ()

Stored Routines

  • Add support for the pre-defined weak SYS_REFCURSOR ()

    • system variable limits the number of opened at the same time

Server

  • Add the FM format to , which suppresses following padding ()

  • and now support ()

Optimizer

  • optimization can now be applied for reverse-ordered scans ()

  • optimization can now applied for reverse-ordered scans ()

  • Loose Index Scan ("Use index for group-by") optimization can now use indexes with DESC key parts ()

  • find_order_in_list mismatch when order item needs fixing() ()

Optimizer hints

  • Add support for ()

GIS

New functions. These functions improve compatibility with MySQL 8.

  • ()

  • ()

  • ()

  • ()

Trigger

  • Add support for TRIGGERS that fire on multiple events ()

Replication

  • Server displays if it was started with the option ()

  • has been added as a system variable (previously it was just an option). It determines whether to show the user and password in (SHOW SLAVE HOSTS) on the primary.

  • system variable added (previously it was just an option), which permits not skipping events having our server id.

  • Ensure that creation and usage of temporary tables in replication is predictable (

Galera

  • In , needless foreign key checks during Incremental State Transfers are now avoided ()

Audit Plugin

  • The now logs HOST:PORT of incoming connections instead of just the host ()

  • Added tls_version field for connection audit plugins ()

Configuration

  • Get option group suffix from $MARIADB_GROUP_SUFFIX in addition to $MYSQL_GROUP_SUFFIX ()

mariadb Client

  • Can set an alternative directory path for searching scripts invoked via the source command, with the mariadb client option ()

Variables

For a list of all new variables, see .

Removed

  • , deprecated in

  • , deprecated in

  • , deprecated in .

List of All MariaDB 12.0 Releases

Date
Release
Status
Release Notes
Changelog

If the join_condition is specified via USING (column_list), the query plan depends on the sequence of tables in the query (MDEV-36592)

  • Add support for subquery optimizer hints (MDEV-34888)

  • Add support for join order hints (MDEV-34870)

    • JOIN_FIXED_ORDER similar to existing STRAIGHT_JOIN hint

    • JOIN_ORDER to apply the specified table order

    • JOIN_PREFIX to hint what tables should be first in the join

    • JOIN_SUFFIX to hint what tables should be last in the join

  • Add support for the hint (MDEV-34860)

  • (MDEV-34159)

  • (MDEV-34160)

  • (MDEV-34277)

  • (MDEV-34276)

  • (MDEV-34278)

  • )
    • system variable.

    Preview

    7 Aug 2025

    MariaDB 12.0.2

    GA

    Release Notes

    Changelog

    5 Jun 2025

    MariaDB 12.0.1

    RC

    Release Notes

    Changelog

    MDEV-14091
    MDEV-20299
    MDEV-34712
    MDEV-36322
    MDEV-20034
    MDEV-36216
    MDEV-22491
    MDEV-36094
    MDEV-34413
    MDEV-32732
    MDEV-36607
    MDEV-35504
    MDEV-34137
    MDEV-34138
    MDEV-34141
    MDEV-34158
    MDEV-10164
    MDEV-27669
    MDEV-34822
    MDEV-1282
    MDEV-33834
    MDEV-21375
    MDEV-23818
    MariaDB 10.5.0
    MariaDB 10.5.3
    MariaDB 5.5
    Galera

    26 March 2025

    MDEV-36099
    MariaDB 12.0.0

    The most recent release of MariaDB 12.0 is:

    MariaDB 12.0.2 Stable (GA) Download Now

    Alternate download from mariadb.org

    ssl_passphrase system
    SET SESSION AUTHORIZATION
    ROW
    max_open_cursors
    cursors
    TO_CHAR
    mariadb-check
    CHECK TABLE
    SEQUENCE tables
    Rowid Filtering
    Index Condition Pushdown
    optimizer hints
    QB_NAME
    NO_RANGE_OPTIMIZATION
    NO_ICP
    GIS
    ST_Validate
    MBRCoveredBy
    ST_Simplify
    ST_GeoHash
    skip-slave-start
    show_slave_auth_info
    SHOW REPLICA HOSTS
    replicate_same_server_id
    Audit Plugin
    --script-dir
    System Variables Added in MariaDB 12.0
    big_tables
    large_page_size
    storage_engine
    MRR, NO_MRR
    BKA, NO_BKA
    BNL, NO_BNL
    SEMIJOIN
    SUBQUERY
    MAX_EXECUTION_TIME
    ST_LatFromGeoHash
    ST_LongFromGeoHash
    ST_PointFromGeoHash
    ST_IsValid
    ST_Collect
    create_tmp_table_binlog_formats

    This page is licensed: CC BY-SA / Gnu FDL