Distro News

MariaDB 13.1 reaches stable release with negative grants and automatic partitioning

Key Takeaway

MariaDB 13.1 introduces advanced access control via DENY statements, automated range partitioning, and enhanced MySQL compatibility.

Summary

The MariaDB Foundation has announced the general availability of MariaDB 13.1, the latest stable version of its open-source relational database server. This release focuses on improving administrative efficiency and expanding compatibility with MySQL and Oracle ecosystems. Key features include a new security model for granular permissions and automated data management tools.

Users can choose between the new 13.1 stable branch or the existing 12.3 Long-Term Support (LTS) version for production stability. Additionally, the foundation has released the first candidate for MariaDB 13.2, which will eventually introduce semi-synchronous replication and expanded MEMORY engine capabilities.

Technical improvements in MariaDB 13.1

  • Access Control: The introduction of the DENY statement (negative grants) allows administrators to explicitly prohibit specific privileges, which takes precedence over any existing or subsequent grants.
  • Data Management: A new automatic range partitioning feature uses an INTERVAL clause to dynamically create partitions as data arrives, removing the requirement for manual partition management.
  • MySQL Compatibility: Support for the -> and ->> JSON operators has been added, alongside an updated JSON_TABLE() function that can return nested JSON objects and arrays within columns.
  • Storage Engine (InnoDB): Improvements include granular adaptive hash indexing at the table and index levels, optional table-level locking for full-table scans, and capacity warnings for tablespaces.
  • Character Sets: The utf8 character set alias has been updated to map to utf8mb4 instead of utf8mb3, ensuring full Unicode support by default for new deployments.

Why it matters

The shift to utf8mb4 by default and improved MySQL operator support significantly lowers the friction for developers migrating workloads to MariaDB. For system administrators, the automatic partitioning and DENY-based security model reduce the operational overhead of managing large-scale, complex database environments.

What to do

  • Users wanting the latest stable features can switch to MariaDB 13.1.
  • Users preferring a long-term maintenance cycle can continue using MariaDB 12.3 LTS.
  • Users interested in testing new features can use the MariaDB 13.2 release candidate, but it is not intended for production deployments.

Original reference: linuxiac.com →