---
title: "Announcing MariaDB Community Server 13.1 GA"
publish_date: 2026-11-23
author: "Ralf Gebhardt"
channel:
  - name: "Product"
    url: "/resources/blog/channel/product.md"
  - name: "Releases"
    url: "/resources/blog/channel/releases.md"
tags:
  - name: "access controls"
    url: "/resources/blog/tag/access-controls.md"
  - name: "Community Server"
    url: "/resources/blog/tag/community-server.md"
  - name: "InnoDB"
    url: "/resources/blog/tag/innodb.md"
  - name: "JSON"
    url: "/resources/blog/tag/json.md"
  - name: "MariaDB Releases"
    url: "/resources/blog/tag/mariadb-releases.md"
  - name: "MySQL compatible"
    url: "/resources/blog/tag/mysql-compatible.md"
  - name: "Observability"
    url: "/resources/blog/tag/observability.md"
  - name: "Oracle Compatibility"
    url: "/resources/blog/tag/oracle-compatibility.md"
  - name: "Partitions"
    url: "/resources/blog/tag/partitions.md"
---

# Announcing MariaDB Community Server 13.1 GA

MariaDB Community Server 13.1.2 GA adds negative grants with `DENY`, JSON arrow operators and formatted `JSON_TABLE` columns, auto-extending partitions and deeper package support for Oracle compatibility, broader observability through a new `INFORMATION_SCHEMA` table and config validation, and per-table control over the InnoDB adaptive hash index.

## Key takeaways

- **Stronger Security Controls:** The new `DENY` clause lets administrators block a privilege outright, no matter what else is granted, and `parsec_iterations` makes the PARSEC authentication plugin’s key-derivation cost configurable.
- **Richer JSON Support:** The `->` and `->>` arrow operators bring MySQL-compatible JSON shorthand to MariaDB, and `JSON_TABLE` can now return nested JSON structures as a single formatted column.
- **Deeper Oracle Compatibility:** Auto-extending `RANGE COLUMNS` partitions, local-variable names in `PREPARE/EXECUTE/OPEN ... FOR`, and package-wide `TYPE` declarations round out MariaDB’s Oracle PL/SQL migration story.
- **Sharper Observability &amp; Manageability:** A new `INFORMATION_SCHEMA.VECTOR_INDEXES` table, `mariadbd --validate-config`, adaptive hash index statistics in `ANALYZE FORMAT=JSON`, and InnoDB tablespace size warnings all make it easier to see what the server is doing before something breaks.
- **Tuned InnoDB Performance:** Locking full table scans now take a table-level lock instead of locking every row individually, and the adaptive hash index can be enabled or disabled per table.
 
 We are excited to announce the General Availability of MariaDB Community Server 13.1. Building on the foundation laid by MariaDB Community Server 12.3 LTS, and continuing the work introduced in [MariaDB Community Server 13.0](https://mariadb.com/resources/blog/announcing-mariadb-community-server-13-0-ga/), this release strengthens access control, extends JSON and Oracle compatibility, and gives administrators sharper visibility and performance control over InnoDB.

MariaDB Community Server 13.1 GA is part of our [quarterly rolling release cycle](https://mariadb.com/resources/blog/announcing-yearly-lts-releases-for-mariadb-community-server/), and will not receive further bug-fix releases. We encourage everyone to explore these new capabilities and share feedback as we continue toward the next Long-Term Support (LTS) release.

## What’s New in MariaDB Community Server 13.1

### Security Enhancements

MariaDB 13.1 gives administrators finer control over both access control and authentication.

- [**DENY**](https://mariadb.com/docs/server/reference/sql-statements/account-management-sql-statements/deny) **Clause (“Negative Grants”):** `DENY` records a privilege that an account must never have, and a deny always wins over a grant, no matter how many `GRANT` statements say otherwise or at what level they were issued. This makes the common “grant broadly, then carve out exceptions” pattern easy to express:

```
GRANT SELECT ON *.* TO alice;
DENY SELECT ON secrets.payroll TO alice;
```

Now `alice` can read every table on the server except `secrets.payroll`. Denies are also hierarchical: a deny at a higher level cancels grants further down the hierarchy, even grants issued afterwards. A table-level deny beats a column-level grant on that same table, a database-level deny beats a table- or column-level grant in that database, and so on:

```
DENY SELECT ON hr.staff TO alice;
GRANT SELECT (id, name) ON hr.staff TO alice;

SELECT id, name FROM hr.staff;
-- ERROR 42000: SELECT command denied to user 'alice'@'localhost' for table `hr`.`staff`
```

Even though `alice` was explicitly granted `SELECT` on the `id` and `name` columns, the table-level deny still blocks her, because a deny propagates downward over anything granted beneath it. Denies can only be reversed with `REVOKE DENY` (a later `GRANT` does not cancel one)and are stored persistently in `mysql.global_priv` .

- [**parsec\_iterations**](https://mariadb.com/docs/server/reference/plugins/authentication-plugins/authentication-plugin-parsec#parsec_iterations) **System Variable:** The PARSEC authentication plugin derives its key from a password using PBKDF2, with a fixed iteration count that could not previously be changed. The new `parsec_iterations` variable makes that count configurable (as a power of two, minimum 1024), so administrators can raise it to increase resistance to brute-force attacks at the cost of more work per authentication. The iteration count in effect when an account’s password is set is the one baked into its stored credentials; changing the variable afterwards does not affect existing accounts until their password is changed again.

### JSON Enhancements

- **JSON Arrow Operators** [**-&gt;** **and** **-&gt;&gt;**](https://mariadb.com/docs/server/reference/sql-functions/special-functions/json-functions/json-arrow-operators)**:** These operators are shorthand for extracting a value from a JSON document by path: `json_doc -> path` is equivalent to `JSON_EXTRACT(json_doc, path)`, and `json_doc ->> path` additionally unquotes the result, equivalent to `JSON_UNQUOTE(JSON_EXTRACT(json_doc, path))`. MySQL has accepted them since 5.7, so as of MariaDB 13.1, MySQL queries that use them port across unchanged.The function form worked in MariaDB before 13.1 and still works identically:

```
SELECT JSON_EXTRACT('{"id":"1", "name":"Name"}', '$.name');
-- "Name"
SELECT JSON_UNQUOTE(JSON_EXTRACT('{"id":"1", "name":"Name"}', '$.name'));
-- Name
```

As of MariaDB 13.1, the equivalent operator form also works and returns the same results:

```
SELECT '{"id":"1", "name":"Name"}'->'$.name';
-- "Name"
SELECT '{"id":"1", "name":"Name"}'->>'$.name';
-- Name
```

As with the function form, -&gt; keeps the JSON quoting (`"Name"`) while `->>` returns the unquoted value (`Name`). The path must be a string literal (a column, user variable, or placeholder is not accepted), and applying one operator to the result of another requires parentheses.

- [**FORMAT JSON** **Columns in** **JSON\_TABLE**](https://mariadb.com/docs/server/reference/sql-functions/special-functions/json-functions/json_table#format-json-columns)**:** A regular `JSON_TABLE` path column can only return scalar values; a path that matches an array or object is treated as an error. A column declared with `FORMAT JSON PATH` returns the located JSON value as-is, serialized to text, including nested arrays and objects This is useful for pulling a nested structure into a single column without expanding it into extra rows with `NESTED PATH`:

```
SELECT * FROM JSON_TABLE('[
  {"name":"Jeans",   "sizes": [32, 34, 36]},
  {"name":"T-Shirt", "sizes":["Medium", "Large"]}
]', '$[*]'
  COLUMNS(
    name  VARCHAR(10)  PATH '$.name',
    sizes VARCHAR(100) FORMAT JSON PATH '$.sizes'
  )
) AS jt;
-- +---------+---------------------+
-- | name    | sizes               |
-- +---------+---------------------+
-- | Jeans   | [32, 34, 36]        |
-- | T-Shirt | ["Medium", "Large"] |
-- +---------+---------------------+
```

### Oracle Compatibility

- [**Auto-Adding Partitions for** **PARTITION BY RANGE**](https://mariadb.com/docs/server/server-usage/partitioning-tables/partitioning-types/range-columns-interval-partitioning)**:** Adding an `INTERVAL` clause to a `RANGE COLUMNS` partitioned table makes MariaDB extend its partitions automatically by a fixed time interval as data is written, removing the routine maintenance that time-ranged tables normally need:

```
CREATE TABLE t1 (c DATETIME)
  ENGINE = InnoDB
  PARTITION BY RANGE COLUMNS (c)
  INTERVAL 1 DAY (
    PARTITION p0 VALUES LESS THAN ('2026-04-20')
  );
```

From that point, any write to the table ( not just one whose value needs a new partition ) makes MariaDB add as many daily partitions as it takes for the newest partition to cover the current server date and time, with no `ALTER TABLE ... ADD PARTITION` required. The new partitions track the server clock at the moment the statement runs, not the value being written. Oracle’s `NUMTODSINTERVAL()` and `NUMTOYMINTERVAL()` interval functions are also accepted as an alternative spelling.

- **Local Routine Variables in** [**PREPARE**](https://mariadb.com/docs/server/reference/sql-statements/prepared-statements/prepare-statement#local-statement-names)**/**[**EXECUTE**](https://mariadb.com/docs/server/reference/sql-statements/prepared-statements/execute-statement)**/**[**DEALLOCATE**](https://mariadb.com/docs/server/reference/sql-statements/prepared-statements/deallocate-drop-prepare) **and** `<strong>OPEN ... FOR:</strong> PREPARE LOCAL spvar FROM ...` takes the prepared statement’s name from the *value* of a stored-procedure variable, rather than from a literal identifier, which is useful when the statement name needs to be computed at runtime:

```
CREATE PROCEDURE p1()
BEGIN
  DECLARE spvar_with_ps_name VARCHAR(64) DEFAULT 'my_stmt';
  PREPARE LOCAL spvar_with_ps_name FROM 'SELECT 1';
  DEALLOCATE PREPARE my_stmt;
END;
```

`LOCAL` does not create a separate namespace, so a statement prepared with `PREPARE LOCAL` can still be executed or deallocated by its resolved name with a plain `EXECUTE` or `DEALLOCATE PREPARE`, and the reverse also works. `PREPARE LOCAL` is only valid inside a stored procedure.

- [**Package-Wide** **TYPE** **Declarations**](https://mariadb.com/docs/server/reference/sql-statements/programmatic-compound-statements/declare-type#package-wide-types)**:** A package specification can now declare data types with `TYPE`, alongside its public routines. Such a type is public: routines outside the package can declare variables of it using the qualified name `package_name.type_name`, using the `EXECUTE` privilege on the package.

### Observability &amp; Manageability

- [**INFORMATION\_SCHEMA.VECTOR\_INDEXES**](https://mariadb.com/docs/server/reference/sql-structure/vectors/information-schema-vector_indexes-table)**:** This new table provides metadata about vector indexes defined on tables, giving administrators a queryable way to inspect vector search configuration alongside the rest of the schema.
- [**mariadbd –validate-config**](https://mariadb.com/docs/server/server-management/variables-and-modes/server-system-variables#validate_config)**:** This option checks the server’s configuration for validity without actually starting the server, making it possible to catch a bad configuration change before it causes a failed restart.
- **Adaptive Hash Index Statistics in** [**ANALYZE FORMAT=JSON**](https://mariadb.com/docs/server/reference/sql-statements/administrative-sql-statements/analyze-and-explain-statements/analyze-format-json)**:** The per-table `r_engine_stats` object in `ANALYZE FORMAT=JSON` output now includes four new adaptive hash index counters: `adaptive_hash_search` (the number of successful searches that used the adaptive hash index), `adaptive_hash_search_btree` (the number of searches that fell back to the B-tree, i.e. adaptive hash index misses), `adaptive_hash_pages_added` (the number of index pages the adaptive hash index was built on), and `adaptive_hash_rows_added` (the number of adaptive hash index rows added). Together, these give query tuning workflows direct visibility into how much a specific query relied on the AHI, right alongside the existing `pages_accessed` and `pages_read_time_ms` execution statistics. All four counters are also exposed server-wide via `SHOW GLOBAL STATUS`, under different names than their `ANALYZE FORMAT=JSON` counterparts: `adaptive_hash_search` as `Innodb_adaptive_hash_hash_searches`, `adaptive_hash_search_btree` as `Innodb_adaptive_hash_non_hash_searches`, and `adaptive_hash_pages_added` and `adaptive_hash_rows_added` keeping their names as `Innodb_adaptive_hash_pages_added` and `Innodb_adaptive_hash_rows_added`. This lets administrators track cumulative AHI usage across the whole server, not just for a single query’s `ANALYZE` output.
- [**innodb\_tablespace\_size\_warning\_threshold**](https://mariadb.com/docs/server/server-usage/storage-engines/innodb/innodb-system-variables#innodb_tablespace_size_warning_threshold) **and** [**innodb\_tablespace\_size\_warning\_pct**](https://mariadb.com/docs/server/server-usage/storage-engines/innodb/innodb-system-variables#innodb_tablespace_size_warning_pct)**:** These variables let InnoDB warn in the error log as a tablespace approaches a configured size threshold, rather than administrators finding out only once a tablespace is 100% full and the service is disrupted. Warnings are written on each further one-percent increase once the configured percentage of the threshold is reached. The feature is disabled by default, since `innodb_tablespace_size_warning_threshold `defaults to 0; `innodb_tablespace_size_warning_pct` defaults to 85 (the point at which warnings begin, once a threshold is set), and accepts a range of 0–100.

### InnoDB Performance

- **Table-Level Locking for Locking Full Table Scans:** Previously, a locking statement that scanned an entire table (with no `WHERE` condition and no `LIMIT`) still acquired row locks one at a time. This applied to `SELECT ... FOR UPDATE`, `UPDATE`, and `DELETE`, as well as to reads under `SERIALIZABLE` isolation. The new `innodb_table_lock_on_full_scan` option (session and global, default `OFF`) changes this: when enabled, InnoDB takes a single table-level lock instead of per-row locks, shared (S) for reads and exclusive (X) for writes and `FOR UPDATE` reads. This substantially reduces both the memory footprint and the execution time of such scans.
- [**ADAPTIVE\_HASH\_INDEX = { YES | NO | DEFAULT }**](https://mariadb.com/docs/server/server-usage/tables/create-table#adaptive_hash_index)**:** This new table option, and the matching per-index option, controls whether the InnoDB adaptive hash index (AHI) is used for a specific table or index. `NO` disables the AHI for that table or index even when it is enabled globally, which suits tables whose access pattern doesn’t benefit from it. `YES` enables it there when the global `innodb_adaptive_hash_index` is `ON`, or when it’s set to the new `IF_SPECIFIED` value, which enables the AHI only for tables and indexes explicitly marked `YES`. `DEFAULT` follows the global setting. If `innodb_adaptive_hash_index` is `OFF`, the AHI stays disabled no matter what the table or index options say, and an index-level setting overrides the table-level one.

### Tools

- [**mariadb-dump** **No Longer Includes Generated Column Values**](https://mariadb.com/docs/server/clients-and-utilities/backup-restore-and-import-clients/mariadb-dump#generated-columns)**:** Previously, `mariadb-dump` wrote the computed values of generated columns into its `INSERT` statements, even though the server recalculates them automatically when the dump is reloaded. As of MariaDB 13.1, those values are omitted; with `--complete-insert`, generated columns are left out of both the column list and the values entirely, producing smaller, cleaner dumps.

### Frequently asked questions

###  Is MariaDB Community Server 13.1 a Long-Term Support (LTS) release? 

No. MariaDB Community Server 13.1 is a rolling release, not an LTS release, and it will not receive further bug-fix releases. Users who need a longer maintenance window have two options: an LTS release of MariaDB Community Server, which receives up to 3 years of maintenance, or MariaDB Enterprise Server, which offers a 5+3 year support plan (5 years of standard support plus 3 years of extended support).



 

###  What happens after MariaDB 13.1 reaches end of life? 

Since 13.1 is a rolling release, it does not receive further bug-fix releases once the next release ships. Users should plan to upgrade to the next MariaDB Community Server release, or to an LTS release if they need a longer maintenance window.



 

###  What is the `DENY` clause in MariaDB, and how is it different from `REVOKE`? 

`DENY` records a privilege that an account must never have; unlike `REVOKE`, which simply removes a granted privilege (and can be overridden by a broader grant at a higher level), a `DENY` always wins over any `GRANT`, no matter how it was issued, and can only be undone with `REVOKE DENY`. This makes it possible to grant broad access and then carve out specific exceptions.



 

###  Can I control how expensive PARSEC password hashing is? 

Yes. The new `parsec_iterations` system variable, introduced in MariaDB 13.1, controls the number of PBKDF2 iterations used to derive a key from a password for the PARSEC authentication plugin. A higher value increases resistance to brute-force attacks at the cost of more work per authentication. It only affects accounts whose password is set after the variable is changed.



 

###  Does MariaDB support the -&gt; and -&gt;&gt; JSON operators from MySQL? 

Yes, as of MariaDB 13.1. `json_doc -> path` is shorthand for `JSON_EXTRACT(json_doc, path)`, and `json_doc ->> path `additionally unquotes the result. These operators were previously MySQL-only; queries written for MySQL 5.7 and later that use them now work unchanged in MariaDB.



 

###  Can MariaDB automatically create new partitions as data arrives? 

Yes. Adding an `INTERVAL` clause to a `RANGE COLUMNS` partitioned table, new in MariaDB 13.1, makes the server automatically extend partitions by a fixed time interval as writes arrive, removing the need for a scheduled job or manual `ALTER TABLE ... ADD PARTITION` to keep up with incoming data.



 

###  Can I enable or disable the InnoDB adaptive hash index for just one table? 

Yes. MariaDB 13.1 adds the `ADAPTIVE_HASH_INDEX = { YES | NO | DEFAULT }` table and index options, letting administrators override the global `innodb_adaptive_hash_index` setting on a per-table or per-index basis.



 

###  Does mariadb-dump include generated column values in its output? 

No, not as of MariaDB 13.1. Since the server recalculates generated column values automatically when a dump is reloaded, `mariadb-dump` no longer writes those values into its `INSERT` statements, producing smaller and cleaner backups.



 

###  How do I upgrade to MariaDB Community Server 13.1? 

MariaDB follows its standard upgrade process for rolling releases; see the [MariaDB upgrade documentation](https://mariadb.com/docs/server/server-usage/upgrades) for version-specific steps and compatibility notes before upgrading a production system.



 

###  Where can I download MariaDB Community Server 13.1? 

MariaDB Community Server 13.1 is available from the [MariaDB Community Server downloads page](https://mariadb.com/downloads/community/community-server/).



 

  

MariaDB Community Server 13.1 GA is now available as part of our rolling release cycle. As a rolling release, 13.1 will not receive further bug-fix releases; users who need long-term support and maintenance updates should continue to track our LTS series. For the complete list of changes, see the [MariaDB 13.1 Changes &amp; Improvements](https://mariadb.com/docs/release-notes/community-server/13.1/mariadb-13.1-changes-and-improvements) page. We invite you to try out these new capabilities and share your feedback with the community.

[Download Community Server 13.1.2](https://mariadb.com/downloads/community/community-server/)