Skip to main content
ANNOUNCEMENTMeet MariaDB Enterprise Platform 2027. Read more.

Menu

WEBINAR

Built for the Agentic Era: Introducing MariaDB Enterprise Platform 2027

Watch now

Product

Announcing MariaDB Community Server 13.1 GA

By Ralf Gebhardt

13 min read
Share

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 & 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.
GRANT SELECT ON *.* TO alice;
DENY SELECT ON secrets.payroll TO alice;
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`
SELECT JSON_EXTRACT('{"id":"1", "name":"Name"}', '$.name');
-- "Name"
SELECT JSON_UNQUOTE(JSON_EXTRACT('{"id":"1", "name":"Name"}', '$.name'));
-- Name
SELECT '{"id":"1", "name":"Name"}'->'$.name';
-- "Name"
SELECT '{"id":"1", "name":"Name"}'->>'$.name';
-- Name
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"] |
-- +---------+---------------------+
CREATE TABLE t1 (c DATETIME)
  ENGINE = InnoDB
  PARTITION BY RANGE COLUMNS (c)
  INTERVAL 1 DAY (
    PARTITION p0 VALUES LESS THAN ('2026-04-20')
  );
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;

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).

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.

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.

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.

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.

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.

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.

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.

MariaDB follows its standard upgrade process for rolling releases; see the MariaDB upgrade documentation for version-specific steps and compatibility notes before upgrading a production system.

MariaDB Community Server 13.1 is available from the MariaDB Community Server downloads page.