InfoQSergio De Simone2 min readrelease notesintermediate
MariaDB 13 Expands Oracle Compatibility and Improves Developer Experience and Observability
Summary
MariaDB 13 GA adds Oracle‑compatible REF CURSOR and RECORD types, a RETURNING clause for UPDATE, and richer optimizer hint handling. It also exposes replication role and index options via system tables for better observability.
- REF CURSOR (weak/strong) and RECORD can now be used in package routine parameters and function returns, easing Oracle PL/SQL migration.
- UPDATE statements support RETURNING, letting apps fetch old and new values in one round‑trip with OLD_VALUE().
- Optimizer hint framework auto‑assigns query block names to Views/CTEs/derived tables, and QB_NAME locators target deep nested blocks.
- init_rpl_role is exposed as a system variable; I_S.STATISTICS and I_S.COLUMNS now include CREATE_OPTIONS; I_S.SYSTEM_VARIABLES shows deprecation flags.
DBAs and developers moving Oracle workloads to MariaDB, or needing tighter observability, will benefit from the new compatibility and admin features.
6/10



