MariaDB feature support on Amazon RDS - Amazon Relational Database Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

MariaDB feature support on Amazon RDS

RDS for MariaDB supports most of the features and capabilities of MariaDB. Some features might have limited support or restricted privileges.

You can filter new Amazon RDS features on the What's New with Database? page. For Products, choose Amazon RDS. Then search using keywords such as MariaDB 2023.

Note

The following lists are not exhaustive.

For more information about MariaDB feature support on Amazon RDS, see the following topics.

MariaDB feature support on Amazon RDS for MariaDB major versions

In the following sections, find information about MariaDB feature support on Amazon RDS for MariaDB major versions:

For information about supported minor versions of Amazon RDS for MariaDB, see MariaDB on Amazon RDS versions.

MariaDB 11.4 support on Amazon RDS

Amazon RDS supports the following new features for your DB instances running MariaDB version 11.4 or higher.

For a list of all MariaDB 11.4 features and their documentation, see Changes and improvements in MariaDB 11.4 and Release notes - MariaDB 11.4 series on the MariaDB website.

For a list of unsupported features, see MariaDB features not supported by Amazon RDS.

MariaDB 10.11 support on Amazon RDS

Amazon RDS supports the following new features for your DB instances running MariaDB version 10.11 or higher.

  • Password Reuse Check plugin – You can use the MariaDB Password Reuse Check plugin to prevent users from reusing passwords and to set the retention period of passwords. For more information, see Password Reuse Check Plugin.

  • GRANT TO PUBLIC authorization – You can grant privileges to all users who have access to your server. For more information, see GRANT TO PUBLIC.

  • Separation of SUPER and READ ONLY ADMIN privileges – You can remove READ ONLY ADMIN privileges from all users, even users that previously had SUPER privileges.

  • Security – You can now set option --ssl as the default for your MariaDB client. MariaDB no longer silently disables SSL if the configuration is incorrect.

  • SQL commands and functions – You can now use the SHOW ANALYZE FORMAT=JSON command and the functions ROW_NUMBER, SFORMAT, and RANDOM_BYTES. SFORMAT allows string formatting and is enabled by default. You can convert partition to table and table to partition in a single command. There are also several improvements around JSON_*() functions. DES_ENCRYPT and DES_DECRYPT functions were deprecated for version 10.10 and higher. For more information, see SFORMAT.

  • InnoDB enhancements – These enhancements include the following items:

    • Performance improvements in the redo log to reduce write amplification and to improve concurrency.

    • The ability for you to change the undo tablespace without reinitializing the data directory. This enhancement reduces control plane overhead. It requires restarting but it doesn't require reinitialization after changing undo tablespace.

    • Support for CHECK TABLE … EXTENDED and for descending indexes internally.

    • Improvements to bulk insert.

  • Binlog changes – These changes include the following items:

    • Logging ALTER in two phases to decrease replication latency. The binlog_alter_two_phase parameter is disabled by default, but can be enabled through parameter groups.

    • Logging explicit_defaults_for_timestamp.

    • No longer logging INCIDENT_EVENT if the transaction can be safely rolled back.

  • Replication improvements – MariaDB version 10.11 DB instances use GTID replication by default if the master supports it. Also, Seconds_Behind_Master is more precise.

  • Clients – You can use new command-line options for mysqlbinglog and mariadb-dump. You can use mariadb-dump to dump and restore historical data.

  • System versioning – You can modify history. MariaDB automatically creates new partitions.

  • Atomic DDLCREATE OR REPLACE is now atomic. Either the statement succeeds or it's completely reversed.

  • Redo log write – Redo log writes asynchronously.

  • Stored functions – Stored functions now support the same IN, OUT, and INOUT parameters as in stored procedures.

  • Deprecated or removed parameters – The following parameters have been deprecated or removed for MariaDB version 10.11 DB instances:

  • Dynamic parameters – The following parameters are now dynamic for MariaDB version 10.11 DB instances:

  • New default values for parameters – The following parameters have new default values for MariaDB version 10.11 DB instances:

  • New valid values for parameters – The following parameters have new valid values for MariaDB version 10.11 DB instances:

    • The valid values for the old parameter were merged into those for the old_mode parameter.

    • The valid values for the histogram_type parameter now include JSON_HB.

    • The valid value range for the innodb_log_buffer_size parameter is now 262144 to 4294967295 (256KB to 4096MB).

    • The valid value range for the innodb_log_file_size parameter is now 4194304 to 512GB (4MB to 512GB).

    • The valid values for the optimizer_prune_level parameter now include 2.

  • New parameters – The following parameters are new for MariaDB version 10.11 DB instances:

For a list of all MariaDB 10.11 features and their documentation, see Changes and improvements in MariaDB 10.11 and Release notes - MariaDB 10.11 series on the MariaDB website.

For a list of unsupported features, see MariaDB features not supported by Amazon RDS.

MariaDB 10.6 support on Amazon RDS

Amazon RDS supports the following new features for your DB instances running MariaDB version 10.6 or higher:

  • MyRocks storage engine – You can use the MyRocks storage engine with RDS for MariaDB to optimize storage consumption of your write-intensive, high-performance web applications. For more information, see Supported storage engines for MariaDB on Amazon RDS and MyRocks.

  • Amazon Identity and Access Management (IAM) DB authentication – You can use IAM DB authentication for better security and central management of connections to your MariaDB DB instances. For more information, see IAM database authentication for MariaDB, MySQL, and PostgreSQL.

  • Upgrade options – You can now upgrade to RDS for MariaDB version 10.6 from any prior major release (10.3, 10.4, 10.5). You can also restore a snapshot of an existing MySQL 5.6 or 5.7 DB instance to a MariaDB 10.6 instance. For more information, see Upgrades of the MariaDB DB engine.

  • Delayed replication – You can now set a configurable time period for which a read replica lags behind the source database. In a standard MariaDB replication configuration, there is minimal replication delay between the source and the replica. With delayed replication, you can set an intentional delay as a strategy for disaster recovery. For more information, see Configuring delayed replication with MariaDB.

  • Oracle PL/SQL compatibility – By using RDS for MariaDB version 10.6, you can more easily migrate your legacy Oracle applications to Amazon RDS. For more information, see SQL_MODE=ORACLE.

  • Atomic DDL – Your dynamic data language (DDL) statements can be relatively crash-safe with RDS for MariaDB version 10.6. CREATE TABLE, ALTER TABLE, RENAME TABLE, DROP TABLE, DROP DATABASE and related DDL statements are now atomic. Either the statement succeeds, or it's completely reversed. For more information, see Atomic DDL.

  • Other enhancements – These enhancements include a JSON_TABLE function for transforming JSON data to relational format within SQL, and faster empty table data load with Innodb. They also include new sys_schema for analysis and troubleshooting, optimizer enhancement for ignoring unused indexes, and performance improvements. For more information, see JSON_TABLE.

  • New default values for parameters – The following parameters have new default values for MariaDB version 10.6 DB instances:

For a list of all MariaDB 10.6 features and their documentation, see Changes and improvements in MariaDB 10.6 and Release notes - MariaDB 10.6 series on the MariaDB website.

For a list of unsupported features, see MariaDB features not supported by Amazon RDS.

MariaDB 10.5 support on Amazon RDS

Amazon RDS supports the following new features for your DB instances running MariaDB version 10.5 or later:

  • InnoDB enhancements – MariaDB version 10.5 includes InnoDB enhancements. For more information, see InnoDB: Performance Improvements etc. in the MariaDB documentation.

  • Performance schema updates – MariaDB version 10.5 includes performance schema updates. For more information, see Performance Schema Updates to Match MySQL 5.7 Instrumentation and Tables in the MariaDB documentation.

  • One file in the InnoDB redo log – In versions of MariaDB before version 10.5, the value of the innodb_log_files_in_group parameter was set to 2. In MariaDB version 10.5, the value of this parameter is set to 1.

    If you are upgrading from a prior version to MariaDB version 10.5, and you don't modify the parameters, the innodb_log_file_size parameter value is unchanged. However, it applies to one log file instead of two. The result is that your upgraded MariaDB version 10.5 DB instance uses half of the redo log size that it was using before the upgrade. This change can have a noticeable performance impact. To address this issue, you can double the value of the innodb_log_file_size parameter. For information about modifying parameters, see Modifying parameters in a DB parameter group in Amazon RDS.

  • SHOW SLAVE STATUS command not supported – In versions of MariaDB before version 10.5, the SHOW SLAVE STATUS command required the REPLICATION SLAVE privilege. In MariaDB version 10.5, the equivalent SHOW REPLICA STATUS command requires the REPLICATION REPLICA ADMIN privilege. This new privilege isn't granted to the RDS master user.

    Instead of using the SHOW REPLICA STATUS command, run the new mysql.rds_replica_status stored procedure to return similar information. For more information, see mysql.rds_replica_status.

  • SHOW RELAYLOG EVENTS command not supported – In versions of MariaDB before version 10.5, the SHOW RELAYLOG EVENTS command required the REPLICATION SLAVE privilege. In MariaDB version 10.5, this command requires the REPLICATION REPLICA ADMIN privilege. This new privilege isn't granted to the RDS master user.

  • New default values for parameters – The following parameters have new default values for MariaDB version 10.5 DB instances:

For a list of all MariaDB 10.5 features and their documentation, see Changes and improvements in MariaDB 10.5 and Release notes - MariaDB 10.5 series on the MariaDB website.

For a list of unsupported features, see MariaDB features not supported by Amazon RDS.

MariaDB 10.4 support on Amazon RDS

Amazon RDS supports the following new features for your DB instances running MariaDB version 10.4 or later:

For a list of all MariaDB 10.4 features and their documentation, see Changes and improvements in MariaDB 10.4 and Release notes - MariaDB 10.4 series on the MariaDB website.

For a list of unsupported features, see MariaDB features not supported by Amazon RDS.