What's New in MariaDB Enterprise Server 11.8
An overview of changes, improvements, and what's new in MariaDB Enterprise Server 11.8
MariaDB Enterprise Server 11.8 introduces a wide range of enhancements spanning developer productivity, security, compatibility, observability, and support for modern workloads like vector search. The MariaDB Enterprise Server 11.8.2-0 Technical Preview adds the innovations from the MariaDB Community Server releases 11.5 to 11.8 to MariaDB Enterprise Server 11.4.
Vector Search
MariaDB Enterprise Server 11.8 continues to expand its native vector search capabilities, positioning MariaDB for AI-powered applications such as semantic search and recommendation systems. Already available in the MariaDB Enterprise Server 11.4 are:
New Data Type:
VECTOR(N)to store multi-dimensional embeddings.Vector Indexing: Efficient similarity search with
VECTOR INDEX.Distance Functions:
VEC_DISTANCE_EUCLIDEAN()for L2 distance.VEC_DISTANCE_COSINE()for angular similarity.
Conversion Functions:
Vec_FromText(json_array)andVec_ToText(vector_column)transform between the text and binary vector formats.
System Variables for Index Tuning:
mhnsw_max_cache_size,mhnsw_default_distance,mhnsw_default_m,mhnsw_ef_search.
Added to MariaDB Enterprise Server 11.8
Distance Functions:
VEC_DISTANCE()auto-selects the best distance function based on the index configuration.
Optimization that makes vector search 30-50% (depending on the data) faster for the same recall. Enabled automatically for applicable vectors. Vectors are applicable if they can be gradually truncated to trade some recall for speed. For example matryoshka embeddings as produced by OpenAI are applicable.
Namespace support was added to HashiCorp Vault in MariaDB. See the Hashicorp namespaces documentation for details.
Audit logging buffer writes are possible now.
Backported Features
MariaDB Enterprise Server 11.8.5-2
Log write buffering added to the SERVER_AUDIT and SERVER_AUDIT2 plugins (MENT-2438)
The buffering is controlled by the added variables:
server_audit_file_buffer_size- defines the size of the buffer. The default value is 0 meaning there's no buffering at all. Setting non-zero value enables the buffering with the buffer of the specified size aligned by 8192. The maximum value is 65536.server_audit_sync_log_file- flushes the buffer to the log file. While the log record is in the buffer, it cannot be seen in the log file. And if there are not many events to log, the time before records can be observed can be significant. So user can doSET GLOBAL server_audit_log_file=1to this variable to force write the buffer to the file, to make sure he doesn't miss the recent records.
Two new fields are available via
SHOW REPLICA STATUS(MENT-2129)Connects_Tried, which provides the number of attempts the replica has made to connect to the primary, andMaster_Retry_Count, which provides the number of times the replica will attempt to connect to a primary before giving up.
The authentication plugin
caching_sha2_passwordhas been added, not loaded by default (MDEV-37600)
Indexes, SQL Functions, and Query Enhancements
UUID Generation: New functions
UUID_v4() and UUID_v7()for modern and time-ordered UUIDs.Multi-Table DELETE Enhancements: Support for
ORDER BY and LIMIT.Single-Table DELETE Enhancements: Now it allows index hints.
NEW SHOW CREATE SERVER: Recreate server objects similar to SHOW CREATE TABLE.
DBMS_OUTPUT: Messages submitted by
DBMS_OUTPUT.PUT_LINE()are not sent to the client until the sending subprogram or trigger completes.
Performance Improvements
Optimization that makes vector search 30-50% faster (more details in the Vector Search section)
Segmented key cache for Aria storage engine
aria_pagecache_segments system variable
Add analyze_max_length option to not collect statistics for long char/varchars, see Skipping Long CHAR/VARCHAR Columns for more information
Data Types and Compatibility
UTF-8 by Default:
utf8mb4replaceslatin1and legacyutf8, ensuring full Unicode support, including emojis.Default Collation:
utf8mb4_uca1400_ai_ciis now the standard for Unicode character sets.Extended TIMESTAMP Range: Increased upper bound to 2106 on 64-bit systems.
ROW Type Enhancements:
ROW types are now usable as stored function return values. The support for
%ROWTYPE, TYPE OF, and RECORD(...)declarations for Oracle-like compatibility:
Triggers:
BEFORE UPDATE OF col1, col2limits trigger execution to specific column updates:
Use of
SIGNAL SQLSTATE '02TRG'allows skipping a row operation.Stored Procedures: Now support default parameter values:
Associative arrays:
DECLARE TYPE .. TABLE OF .. INDEX BYAdded
caching_sha2_passwordplugin, see Authentication Plugin - SHA-256 for more information
Enhancements to System Versioned Tables
System Versioned Tables is a powerful feature for auditing changes to data. Enabling System Versioned Tables is as easy as creating a table by using
Or enabling the feature for an existing table by using
In both cases, invisible fields will be created in the table to track the timestamps and period for which the data is valid. A DBA/DevOps might want these fields to be visible. It is now possible to change such implicit fields to explicit ones by the following types of statements:
Security
New Authentication Plugin—PARSEC:
Based on elliptic curve cryptography.
Mitigates the replay and man-in-the-middle attacks. Example on how to create a user using the new authentication plugin:
This will result in:
\
Unix Socket Enhancements:
Now supports explicit OS user mapping via
IDENTIFIED VIA UNIX_SOCKET AS'user'.It is also possible to specify more than one OS user with the usual OR syntax:
Replication & Clustering
Improved Replication Lag Monitoring:
SHOW REPLICA STATUS now includes:\
New Option –
--slave-abort-blocking-timeout: Kills blocking non-replication queries after a timeout.Galera SST Automation: SST user is now auto-created and managed internally.
Backported MDEV-35304 : Add
{{Connects_Tried}}&{{Master_Retry_Count}}from CS-12.0
Key Management
KMS Plugin Enhancement: The file_key_management plugin can now read keys from a Unix socket, not just from files.
File Key Management Encryption Plugin: Added key rotation capability; see this page for details. In addition, a new Information Schema table was added, FILE_KEY_MANAGEMENT_KEYS.
Observability & Information Schema
Temporary File Disk Space Limits:
max_tmp_session_space_usageandmax_tmp_total_space_usageprevent runaway disk usage.
New Status Variables:
tmp_space_used, max_tmp_space_used.New Information Schema Views:
Enhanced ANALYZE FORMAT=JSON:
Includes
r_index_rows, r_icp_filtered.
Thread Naming for Diagnostics: Thread names are now more descriptive.
Galera Information Schema: New WSREP_BF_ABORTS Information Schema table.
Galera Information Schema: New WSREP_THD_STATE and WSREP_THD_STATE_HISTORY Information Schema tables.
Galera Information Schema: New Information Schema table WSREP_CONNECTIONS.
Galera Information Schema: New Information Schema WSREP_CERT_KEYS and WSREP_CERT_KEYS_HISTORY tables.
PL/SQL
Support for Oracle-stype INDEX BY tables (associative arrays) was backported from MariaDB 12.1 in stored routines and anonymous blocks, with this declaration syntax:
Where:
type_namesupports explicit and anchored data types (e.gt1.col1%TYPE).The
INDEX BYclause supports integer and string data types.rec_type_namesupports scalar and record data types.
The implementation supports the following associative array methods:
FIRSTLASTNEXTPRIORCOUNTEXISTSDELETE
Tool Improvements
mariadb-dump:
The
--dir=<path>dumps each database to its subdirectory.Supports parallel dumps and restores.
New
--update-historyconvertsrow_end TIMESTAMPsduring export.
mariadb-import:
--dir=<path>restores from the dumped directory structure.Supports
--database, --table, --ignore-database, --ignore-tablefor selective restore.--innodb-optimize-keys: defers index creation to speed up data loads.
mariadb-test (mtr):
mtrcan be started with the--enable_serveroutputoption to enableDBMS_OUTPUTmessages. See this section for details.
mariadb (command-line client)
New
--enable_serveroutputoption to enableDBMS_OUTPUTmessages at start time. See this section for details.New
serveroutputandnoserveroutputcommand to enable and disable those messages at runtime. See this section for details.
Userstat Plugin Enhancements
Improved Insights:
Index usage via
QUERIESinINDEX_STATISTICS.Query operation counts:
ROWS_INSERTED, ROWS_UPDATED, KEY_READ_HITS,etc.New stats in
CLIENT_STATISTICS and USER_STATISTICS.Table I/O metrics:
PAGES_ACCESSED, PAGES_READ_FROM_DISK.
Available Versions
MariaDB Enterprise Server 11.8.2-0 Tech Preview
See also: All MariaDB Enterprise Releases
Installation Instructions
Upgrade Instructions
What's new in older release series
This page is: Copyright © 2025 MariaDB. All rights reserved.
Last updated
Was this helpful?

