All Products
Search
Document Center

ApsaraDB RDS:AliSQL minor engine version release notes

Last Updated:Dec 03, 2025

AliSQL is the kernel for RDS for MySQL. It provides all the features of MySQL Community Edition and offers many enterprise-grade features similar to those in MySQL Enterprise Edition, such as backup and restoration, a thread pool, and parallel query. These features provide RDS for MySQL with capabilities for security, backup, restoration, monitoring, performance optimization, and read-only instances. This topic describes the updates for different AliSQL kernel versions.

Notes

  • When you upgrade a minor version, some versions may be unavailable for selection because they are under maintenance. You can select only from the minor versions that are listed in the console.

  • An outdated AliSQL minor engine version may cause task interruptions. We recommend that you upgrade your minor engine version on a regular basis or after you receive an operations and maintenance (O&M) notification from Alibaba Cloud.

  • If a minor engine version has an expiration date, you must upgrade to the latest version before the specified date. If no expiration date is specified, the minor engine version does not expire.

Note

The tables in the following sections list the minor engine version release notes for standard RDS for MySQL instances. For more information about the minor engine versions of dedicated database proxies, see Database proxy minor version release notes. For more information about the minor engine versions of DuckDB-based analytical instances, see DuckDB-based analytical instance minor engine version upgrades and release notes.

MySQL 8.0 Basic, High-availability, or Cluster Edition

Note
  • The Cluster Edition is supported starting from minor version 20220730.

  • MySQL Group Replication (MGR) is supported starting from minor version 20221231.

Minor version

Community version

Description

Version expiration date

20251031

8.0.36

  • New features

    • Added vector capabilities. This includes a new vector column type, vector operation functions, and support for creating vector indexes on vector columns.

    • Added support for instantly changing the length of INT, VARCHAR, and CHAR types (instant column modification).

    • Added support for DDL rate limiting.

    • Real-time DDL application now supports `optimize table`.

    • Real-time data transfer now supports setting `require_row_format`.

    • Added the `cost_threshold_for_duckdb` parameter. If the cost estimation of the optimizer for an SQL command exceeds this threshold, an error is reported.

  • Performance optimizations

    • Optimized the transfer efficiency of I/O threads to improve the performance of semi-synchronous replication and the efficiency of replication on secondary databases in high-concurrency scenarios.

    • Added support for redo compression for BLOB fields to improve BLOB write performance.

  • Bug fixes

    • Fixed the issue of SBM spikes in single-statement transactions.

    • Fixed the issue where purging relay logs caused slow acknowledgments (acks) in semi-synchronous replication.

    • Fixed a crash issue that could occur when a DDL statement was executed concurrently with an `UPDATE` operation on a table with foreign keys.

    • Fixed a replication interruption issue caused by granting the `Super` permission in native replication scenarios. After the fix, only the permissions that the replication thread has are granted.

    • Fixed an issue where a NULL value in a JSON column caused an unexpected error in a prepared statement.

    • Fixed a performance issue caused by clearing the writeset.

20250731

8.0.36

  • New features

    • Added the real-time DDL application feature.

    • Added support for online expansion of the length of INT, VARCHAR, and CHAR types.

  • Performance optimizations

    • Optimized the write performance for large objects.

  • Bug fixes

    • Fixed an issue where implicit primary keys could not be queried from `information_schema.columns` after an upgrade from an earlier version.

    • Fixed an issue where log records were unexpected when `innodb_log_optimize_ddl` was set to OFF during index creation.

    • Fixed community Bug #118476, which resolved the issue of being unable to create partitions with certain identifiers.

    • Fixed community Bug #118872, which resolved the issue of inaccurate `Innodb_data_written` statistics.

    • Fixed community Bug #105652, which resolved an exception during the crash recovery process for large tables over 32 TB.

    • Fixed community Bug #117275, which resolved an issue where using `index_merge` with a descending primary key index could lead to incorrect query results.

20250531

8.0.36

  • New features

    • Upgraded the cURL version to 8.14.1.

    • Added support for real-time data transfer to secondary databases during the execution of large transactions. This avoids performance fluctuations caused by committing large transactions on semi-synchronous replication instances.

    • Added support for new hint syntax (WAIT N and NO_WAIT). You can use hints to set the metadata lock wait time for DML and DDL statements.

    • Added support for nonblocking DDL statements to prevent DML statements from being blocked due to a timeout when acquiring a metadata lock during DDL execution.

    • Supports viewing the execution status of DDL statements and metadata lock (MDL) status via the lightweight performance_schema.

    • Added support for quickly parsing row records for tables that have not undergone an INSTANT DDL operation.

    • Added support for enabling Binlog in redo and Binlog Parallel Flush in semi-synchronous replication mode.

    • Supports recording the end time of an SQL statement in the start_time field of the slow query log.

    • Added a performance optimization feature for hot row updates.

    • Optimized the issue where a DDL statement fails due to a unique key conflict during execution.

    • Adds the number of active transactions and the average transaction running time to Innodb status.

  • Performance optimizations

    • Improved the performance of scanning primary keys, sorting, and building indexes during DDL execution.

    • Improved the parsing performance of the utf8mb3 character set.

  • Bug fixes

    • Fixed an issue that caused reset slave all to execute slowly.

    • Fixed an issue where the binlog_transaction_compression_level_zstd parameter did not take effect.

    • Fixed an issue where updating a table with the instant drop feature caused a crash.

    • Fixed an issue that could cause a replication interruption in the writeset feature with foreign key support when an INSERT statement does not specify a value for an auto-increment column.

    • Fixed an issue where version upgrades took a long time when general log was enabled.

    • Fixed an issue where a small join_buffer_size could cause incorrect Hash Anti Join results.

    • Fixed an issue where optimize table did not update the table status.

    • Fixed the statement id overflow issue.

    • Fixed a crash issue in the SEQUENCE engine.

20241231

8.0.36

  • New features

    • Upgraded the cURL version to 8.11.1.

    • The column encryption feature now supports key management through Key Management Service (KMS).

    • The column encryption feature now supports the AES 256 algorithm.

  • Performance optimizations

    • During instance crash recovery, multi-threaded parallel replay of Redo Logs is supported to improve instance startup speed.

  • Bug fixes

    • Fixed an issue where the rename operation caused an incorrect table status.

    • Corrected the issue of an incorrect server ID in the error log.

    • Fixed an issue where the start_time field was inaccurate for stored procedure calls in the slow query log.

    • Resolves an issue where the undo tablespace information in information_schema.files is displayed inaccurately after a MySQL restart.

    • Fixed an issue where automatic truncation of the undo tablespace failed during a MySQL restart.

    • Fixed an issue where error logs related to routines, events, and triggers were missing during a major version upgrade.

    • Resolved a memory leak issue that occurred during a major version upgrade.

    • Fixed an issue where garbled characters were not checked when creating or modifying events and triggers.

20241130

8.0.36

  • New features

    • Upgraded the OpenSSL version to 3.0.15.

    • Upgraded the cURL version to 8.9.1.

  • Performance optimizations

    • Optimized the slow automatic repair of the General Query Log to reduce the instance recovery time objective (RTO).

    • Optimized the Double Write recovery process to reduce the instance RTO. For more information, see Community Bug #116209.

  • Bug fixes

    • Fixed a crash issue caused by OSS archived tables.

    • Fixed a ciphertext collision issue in EncDB.

    • Fixed an issue where a binary log was recorded even if an `Optimize` operation failed.

    • Fixed Community Bug #96236, which resolved an issue where internal temporary tables exhausted the buffer pool, making the instance unavailable.

    • Fixed a potential instance crash issue when canceling a buffer pool scale-in.

    • Fixed a crash or garbled query result issue caused by referencing a CTE column in multiple query blocks and materializing the CTE table.

    • Fixed a crash issue caused by a subquery in a view definition when the definer does not exist or has insufficient permissions.

    • Fixed a potential crash issue triggered when using a multi-value index.

    • Fixed a crash issue when calculating Ranking in fts.

20241031

8.0.36

20240930

8.0.36

  • New features

    • A new parameter, innodb_instant_ddl_enabled, controls whether to enable instant DDL.

  • Bug fixes

    • Fixed an instance crash issue caused by performing an `Update` operation on a column added by an Instant DDL statement.

    • Fixed an instance crash issue caused by performing a `Delete` or `Update` operation on a column deleted by an Instant DDL statement.

20240731

8.0.36

  • New features

    • Added support for user binary log dump threads to skip Empty Events generated by the Binlog Cache Free Flush feature.

  • Performance optimizations

    • Optimized the GTID allocation process to improve performance in high-concurrency scenarios.

    • Fixed an MD5 calculation performance issue in high-concurrency scenarios.

    • Optimized an issue where automatic repair of the General Query Log caused the instance to become unreachable.

    • Optimized the retrieval and verification of tablespace metadata during instance startup to improve the startup speed for instances with many tables.

    • Optimized the lock holding time for `DROP TABLE` and `TRUNCATE TABLE`. Added the `innodb_rds_drop_ahi_ahead` parameter. When this parameter is enabled, the adaptive hash index created for an InnoDB table is deleted before the table is dropped or truncated. This reduces the holding time of the InnoDB metadata lock during the execution of `DROP TABLE` and `TRUNCATE TABLE` statements and prevents other SQL statements from being blocked.

  • Bug fixes

    • Fixed a crash issue when creating a full-text index with a parser.

    • Fixed a crash issue that occurred when a plugin received a NULL parameter after EncDB was enabled.

    • Fixed a crash issue related to OSS archived tables.

    • Fixed an issue where the page cache was consumed during DDL processes.

    • Fixed an issue where the number of updated rows was inaccurate in the audit log when `INSERT` and `UPDATE` statements failed.

    • Fixed a crash issue caused by adding an auto-increment column as a primary key in descending order using `ALTER TABLE`.

    • Fixed an issue where a binary log was recorded even if an `Optimize TABLE` operation failed.

20240630

8.0.36

  • Bug fixes

    • Fixed an unexpected behavior in the internal permission management of system tables. User accounts can now perform `TRUNCATE` operations on tables under Performance Schema.

    • Fixed a potential memory leak issue when recording redo logs for tables that have undergone an INSTANT DDL operation.

20240615

8.0.36

  • Bug fixes

    • Fixed a crash issue when writing redo logs caused by changing the order of non-instant columns within an Instant DDL statement.

——

20240531

8.0.36

  • New features

    • Merged changes from official versions 8.0.35 and 8.0.36.

    • Supports the automatic release of NET::buff memory on persistent connections, reducing memory resource usage and lowering the risk of OOM.

  • Performance optimizations

    • Buffer Pool Extension supports asynchronous I/O reads.

    • Optimized the scanning and verification of data files during instance startup to improve the startup speed for instances with many tables.

  • Bug fixes

    • Fixed an issue where Binlog Cache Free Flush generates a GTID Log Event with an incorrect timestamp.

    • Fixed an issue where explicitly creating a column named FTS_DOC_ID in an InnoDB table caused the major engine version upgrade from 5.7 to 8.0 to fail.

    • Fixed an issue where EncDB returned incorrect data types.

    • Fixed an issue where table recycling was still triggered on a read-only instance after the `recycle_bin` parameter was disabled.

    • Fixed an issue where innodb_activity_count could become negative. For more information, see Community Bug #114180.

    • Fixed a parallel thread count leak caused by parallel reads on partitioned tables, which led to parallel read failures. For more information, see Community Bug #114154.

20240522

8.0.34

  • Bug fixes

    • Fixed a redo log corruption issue caused by changing the order of non-instant columns within an Instant DDL statement.

20240229

8.0.34

  • New features

    • Upgraded the OpenSSL version to 3.0.12.

    • Added a feature to record DDL statements in diagnostic logs.

    • Added the Confidential database (public preview) feature, which implements end-to-end data encryption to protect data security.

  • Bug fixes

    • Fixed a semi-synchronous replication failure caused by an incorrect binary log filename comparison.

    • Fixed a backup set compatibility issue caused by IPK.

20240131

8.0.34

  • Bug fixes

    • Fixed an issue where memory counts in the `performance_schema.memory_summary_by_thread_by_event_name` table were inflated when the thread pool was enabled.

    • Fixed an issue where duplicate entry errors frequently occurred in auto-increment columns after an X-Engine instance restart.

    • Fixed an issue that caused the “ERROR 1878 (HY000): Temporary file write failure.” error when you created a full-text index with innodb_disable_sort_file_cache set to ON.

    • Fixed an issue where the parser for a full-text index did not take effect when rebuilt using an INPLACE DDL statement. For more information, see Community Bug #110976.

    • Fixed an issue where the automatic cleanup logic on read-only instances did not meet expectations after the `recycle_bin` parameter was modified.

    • Fixed an instance crash issue caused by executing `create sequence` in a prepared statement.

20230930

8.0.34

Important
  • In versions prior to the official 8.0.34, the implementation of the skip_scan feature had a defect (Community Bug #107460) that could lead to incorrect query results. We recommend that you disable skip_scan on your instances with older versions or upgrade your instances to a later version.

  • After you upgrade OpenSSL to 3.0.10, TLS 1.0 and TLS 1.1 are automatically disabled. For compatibility purposes, RDS MySQL restores support for TLS 1.0 and TLS 1.1 by changing the default value of the ssl_cipher parameter to "ALL:@SECLEVEL=0" . If your business uses only TLS 1.2 or later, we recommend that you set the ssl_cipher parameter to "" (an empty string) in the RDS console for a higher level of security.

  • New features

    • Merged changes from official versions 8.0.32, 8.0.33, and 8.0.34.

    • Upgraded the OpenSSL version from 1.1.1u to 3.0.10.

    • Added the built-in function SM3().

    • Buffer Pool Extension now supports Online Resize.

    • Modify the default value of the ssl_cipher parameter to "ALL:@SECLEVEL=0".

  • Performance optimizations

    • Added support for the Binlog cache free flush feature.

      During the transaction commit phase, this feature directly converts the temporary Binlog cache files of large transactions into binary log files. This can reduce the time that the global binary log lock is held when committing large transactions and alleviate the I/O pressure on the instance. This prevents instance failovers caused by the inability to write to the binary log for an extended period or by I/O hangs.

    • Optimized the 1-second replication delay issue.

    • Optimized the memory usage of the Buffer Pool Extension.

    • Optimized the I/O efficiency of parallel reads when `innodb_use_native_aio` is off. For more information, see Community Bug #112137.

  • Bug fixes

    • Fixed an issue where pfs memory monitoring items did not count the Buffer Pool and Buffer Pool Extension.

    • Fixed a major version upgrade failure caused by a case mismatch for a field included in an index between the server layer and the InnoDB layer.

20230914

8.0.31

Important
  • Minor versions 20230630 and 20230914 have been unpublished. We recommend that you upgrade instances of these versions to version 20230930 as soon as possible.

  • This bug fix is a temporary fix and is limited to version 20230914.

  • Bug fixes

    • When adding or deleting fields, the INPLACE method is used by default instead of the INSTANT method to avoid stability issues with the INSTANT method.

20230630

8.0.31

Important
  • New features

    • Merged changes from official version 8.0.31.

    • Added support for canceling a running Online Buffer Pool Resize.

    • The Statement Concurrency Control feature now provides template-level concurrency control, which can limit the execution of SQL statements that use the same template. For more information, see Statement Concurrency Control.

    • Upgraded the zlib version to 1.2.13.

    • Upgraded the OpenSSL version to 1.1.1u.

    • Added the status item `Innodb_redo_file_used_ratio` to show the used ratio of redo files.

    • X-Engine now supports deployment in Arm environments.

  • Performance optimizations

    • Optimized `mysqld_safe.sh` to accelerate instance startup speed.

  • Bug fixes

    • Fixed an issue where XA transactions could not be correctly recovered after an instance restart. For more information, see Community Bug #110533.

    • Fixed an abnormal instance restart caused by an `sql_type` error in the thread pool.

    • Fixed the issue of loss of debugging information in the installation package. For more information, see Community Bug #109560.

    • Fixed an issue where temporary tables created in MySQL 5.6 caused the upgrade from MySQL 5.7 to MySQL 8.0 to fail.

    • Fixed an issue of probabilistic transaction loss in X-Engine under deadlock scenarios.

    • Fixed an issue where transactions could not be committed when Binlog in Redo and Binlog Parallel Flush were running under high load for a long time.

20230620

8.0.28

  • Bug fixes

    • Introduced a delayed start for MySQL Group Replication to avoid issues where cluster operations cannot be executed when an instance restarts quickly and reconnects to the cluster.

    • Fixed an issue where transactions could not be committed when Binlog in Redo and Binlog Parallel Flush were running under high load for a long time.

20230610

8.0.28

  • Bug fixes

    • Fixed a deadlock issue (manifesting as the instance being unreachable) caused by executing `COM_STATISTICS`, `COM_CHANGE_USER` commands, and the `SHOW PROCESSLIST` statement. For more information, see Community Bug #110494.

    • Fixed an issue where backup jobs could not be executed due to an abnormal exit of a background cleanup task in the X-Engine.

20230324

8.0.28

  • Bug fixes

    • Fixed an issue where the Binlog In Redo feature was unexpectedly enabled in a semi-synchronous replication setup.

20221231

8.0.28

  • New features

    • Added support for enabling parallel binary log writing when `sync_binlog` is not set to 1. When enabled, this improves the write performance of the binary log in high-concurrency business models, significantly boosting the instance's write performance.

    • Added support for MGR to forcibly clear authentication information in single leader mode (enabled by default, can be manually disabled). By forcibly clearing authentication information, this resolves issues of periodic performance fluctuations, high memory usage, and performance drops to zero when a new node joins the cluster under high business pressure and high latency.

    • When an active primary node election command is initiated for MGR, transactions that exceed their configured timeout are forcibly rolled back. This prevents the election from being blocked and improves its success rate.

    • Upgraded the OpenSSL version to 1.1.1s.

  • Performance optimizations

    • Enhanced the asynchronous purge data file feature for RDS for MySQL. For tables with many dirty pages, this improves the execution speed of `DROP TABLE` and `TRUNCATE TABLE` statements.

    • Added purge statistics to the Performance Agent, including the following:

      • INNODB_UNDO_SIZE_USED: The size of the used undo log.

      • INNODB_PURGE_LIMIT_TRX_NO: The purge offset, which is the maximum transaction number that has been purged.

      • INNODB_PURGE_ITER_TRX_NO: The maximum transaction number that can be purged.

  • Bug fixes

    • Fixed an issue where an EXPLAIN UPDATE statement that involves a subquery derived table could cause an instance to crash. For more information, see Community Bug #31884434.

    • Fixed an issue where `SELECT COUNT(*)` returned inaccurate results when using a multi-value index. For more information, see Community Bug #104898.

    • Fixed an issue where a query returned only a partial result set after a multi-value index was added to a table with a JSON column. For more information, see Community Bug #106621.

    • Fixed a memory leak issue in the `Clone_persist_gtid` thread. For more information, see Community Bug #107991.

    • Fixed an issue where the number of updated rows in the audit log was inaccurate for `UPDATE` and `INSERT` statements when the `CLIENT_FOUND_ROWS` capability bit (disabled by default) was enabled.

    • Fixed an upgrade failure from MySQL 5.7 to MySQL 8.0 caused by a case mismatch in column names between the server layer and the InnoDB layer.

    • Fixed an upgrade failure from MySQL 5.7 to MySQL 8.0 caused by invalid strings in table, field, and index comments.

20221121

8.0.28

  • Bug fixes

    • Fixed an error where a reference to a temporary table was not correctly assigned to a Common Table Expression (CTE) in certain scenarios when executing a query with CTE syntax.

20220830

8.0.28

  • New features

    • Merged changes from official versions 8.0.26, 8.0.27, and 8.0.28.

    • Added the json_document_max_depth parameter to configure the JSON nesting depth.

  • Performance optimizations

    • Optimized the parallel initialization performance of the buffer pool.

  • Bug fixes

    • Fixed an issue with redo log recording for the temporary tablespace.

20220730

8.0.25

  • Performance optimizations

    • Optimized the performance of Buffer Pool Free Resize.

20220530

8.0.25

  • New features

    • For standalone instances with cloud disks, added support for incremental backup and point-in-time recovery (PITR) using redo logs.

    • Added the Persist Binlog Into Redo V2 feature, which is optimized for high concurrency and provides better performance under such conditions.

    • Optimized the SSL encryption feature and fixed some internal errors.

    • Revoked the operation permissions of standard accounts on the `sys` and `performance_schema` databases.

    • Added FLUSH TABLES WITH READ LOCK and UNLOCK TABLES log records to the error log to facilitate troubleshooting online issues.

  • Performance optimizations

    • Improved the initialization performance of the buffer pool.

    • During Crash Recovery, the rollback of in-doubt transactions is optimized from synchronous to asynchronous, improving the Recovery Time Objective (RTO).

    • Optimized the memory usage and update speed of the Adaptive Hash Index (AHI).

    • Optimized bidirectional circular replication. When a secondary instance sends a binary log to the primary instance, transactions belonging to the primary instance are skipped to reduce network traffic from circular replication.

    • Accelerated the speed of restarting an instance after a crash.

  • Bug fixes

    • Fixed an issue where the `mysql.events` table failed to migrate during a major version upgrade from MySQL 5.7 to MySQL 8.0.

    • Fixed a potential crash issue when deleting a full-text index table during a progressive major version upgrade from a MySQL 5.6 instance to MySQL 8.0.

    • Fixed a potential instance crash issue in business scenarios with high metadata lock contention.

    • Fixed a parsing error in `xengine_record`.

    • Fixed a compression failure issue when building an index in X-Engine.

    • Corrected the data in the `start_time` column of the `slow_log` table.

    • Optimized compilation speed and fixed compilation warnings.

20220523

8.0.25

  • BUG fixes

    • Fixed an issue where SELECT COUNT(*) statements without a WHERE clause executed too slowly.

    • Fixed an issue where a stored procedure that uses the WITH ROLLUP syntax crashed when it was called multiple times.

20220331

8.0.25

  • New features

    • Removed the restriction that when innodb_buffer_pool_size is less than 1 GB, innodb_buffer_pool_instances cannot be greater than 1.

    • Reduced the performance impact on the instance when the Native Flashback feature is enabled.

  • Bug fixes

    • Fixed an issue where the Unknown thread id error occurred when you kill a session.

    • Fixed an issue where the rds_expose_priv_list parameter did not take effect after a restart.

    • Fixed an issue where the Binlog in Redo feature blocked the advancement of the CheckPoint offset.

    • Merged bug fixes from the official MySQL community for version 8.0.25 (Bug#33341080, Bug#32962511).

20210930

8.0.25

Important

The `derived_condition_pushdown` feature was introduced in the official 8.0.22 version. This feature effectively reduces the amount of data scanned within derived tables and improves query speed. However, because this feature ignores User Variables, queries that use user variables return null values and cannot be completed normally. For more information, see the official documentation.

Solution: Connect to the MySQL database and execute the set optimizer_switch="derived_condition_pushdown=off"; command to disable the feature.

  • New features

    • Merged changes from official version 8.0.25.

    • Introduced a recovery_apply_binlog mechanism to enable Crash Safe for XA transactions.

    • Audit logs now support V3, adding a separate column for transaction ID and an `ext` field to indicate if an SQL statement was truncated.

    • Allowed new SEQUENCE types to be defined as TIMESTAMP SEQUENCE, which has a different format compared to the original DIGITAL SEQUENCE.

      Syntax: CREATE SEQUENCE seq CACHE [cache_size] TIMESTAMP;

    • Grants the truncate permission on the mysql.slow_log and mysql.general_log tables to privileged accounts.

    • Added the Native Flashback Query feature, which supports rollback queries and data restoration directly through SQL statements.

    • Added the self-developed X-Tree as an index for the X-Engine MemTable, supporting high-performance writes, point queries, and range queries.

    • Added support for freely adjusting the Buffer Pool size and optimized the adjustment process to avoid affecting instance performance.

    • Multiple blocks can be asynchronously read at a time. You can add the /*+ MULTI_BLOCKS(n) */ hint to an SQL statement to pre-read multiple data pages.

    • Optimized the logic for scanning the Buffer Pool LRU list to get free pages.

    • UPDATE and DELETE statements with a primary key or a unique key automatically enter the CCL queue.

    • Added TCP write wait time to the `performance_schema.events_statements_summary_by_digest_supplement` table.

    • Allowed DDL statements to record redo logs when executed in In Place mode.

    • The disabled_storage_engines parameter now includes MyISAM by default. This means that you can no longer create tables that use the MyISAM engine.

  • Bug fixes

    • Fixed an issue where the execution result of SHOW GLOBAL STATUS was abnormal.

    • Fixed an issue where enabling the Jemalloc Profiling feature prevented the instance from starting.

    • Fixed an issue where using a SEQUENCE in an INSERT INTO SELECT statement caused the instance to crash.

    • Revoke the dbms_recycle.restore_table permission.

    • The I_S.INDEX_STATISTICS table now includes the index scan count.

    • The I_S.PERF_STATISTICS table now includes more performance data metrics.

    • Optimized the call performance of user-defined functions (nextval and currval) when they conflict with the SEQUENCE system function.

    • X-Engine supports immediate responses to user-initiated KILL SESSION requests.

    • Fixed an issue in X-Engine where some DDL operations failed and were left in an inconsistent state in extreme scenarios.

    • Added stack overflow protection.

    • Fixed an issue where mysqld failed to start when both persist_binlog_to_redo and X-Engine were enabled.

    • Fixed a memory leak caused by pthread_getattr_np.

    • Automatically clears the Page Cache generated by Performance Agent files.

    • Fixed an internal error in the Statement Outline feature.

    • Fixed an issue where the session tracker was reset when a statement execution failed.

    • Changed the ccl_wait_timeout variable name.

      Note

      ccl_wait_timeout specifies the maximum wait time for throttled statements, in seconds.

    • Fixed a restart failure issue caused by not cleaning up the socket file when the process exited.

    • Adjusted the priority of user-defined functions (nextval or currval).

    • Fixed the 251 error returned by net_length_size.

20201031

8.0.18

  • New features

    • Added support for restoring tables from the Recycle Bin.

    • Automatically restored Slow Log files during instance initialization.

  • Performance optimizations

  • Bug fixes

    • Fixed an ASSERT exception caused by an excessively large unique index key value.

    • Fixed an issue where the COM_DAEMON daemon process could not be terminated.

    • Fixed a buffer overflow issue caused by an FTS query.

    • Fixed a rollback error after an Instant-DDL crash.

20240601

20200831

8.0.18

  • New features

    • Added an option to control whether the count(*) function performs a parallel scan. Setting the innodb_parallel_read_threads parameter to 0 disables parallel scans for this function. For more information, see Set instance parameters.

    • Added `start gtid` and `stop gtid` functions to the MySQL Binlog tool.

    • Added support for outputting various LSN values of the Redo Log:

      • innodb_lsn: The LSN of the redo log.

      • innodb_log_checkpoint_lsn: The LSN of the last checkpoint.

      • innodb_log_write_lsn: The LSN to which the log has been written.

      • innodb_log_ready_for_write_lsn: The LSN at which the log buffer completion time is recorded.

      • innodb_log_flush_lsn: The LSN of the redo log flushed to disk.

      • innodb_log_dirty_pages_added_up_to_lsn: The LSN up to which dirty pages have been added.

      • innodb_log_oldest_lsn: The LSN of the flushed pages.

  • Performance optimizations

    • Optimized the waiting and concurrency mechanism of Concurrency Control (CCL).

    • Adjusted the execution priority of Concurrency Control in stored procedures.

  • Bug fixes

    • Fixed an issue where the parser lacked a heap memory size check during recursion.

    • Fixed an issue where table definitions could not be modified when TDE was enabled.

    • Fixed a memory leak issue in the event scheduler.

20240601

20200630

8.0.18

  • New features

    • Faster DDL: Optimized the Buffer Pool management mechanism during DDL operations to reduce the performance impact of DDL operations and increase the concurrency of online DDL operations.

    • Increased the upper limit of connections to a maximum of 500,000.

  • Performance optimizations

    • Internal optimizations for the thread pool.

    • Set an upper limit on the memory occupied by Performance Schema based on the instance type.

    • Stopped checking the audit log file.

    • TDE now caches keys provided by the KMS service.

    • Modified the thread state for threads running in Statement Concurrency Control.

  • Bug fixes

    • Fixed an issue where the semicolon (;) was treated as part of the input query when calculating the summary for Outline.

    • Fixed a server crash issue caused by altering a table.

    • Fixed an issue where the keywords `member` and `array` were incompatible with older versions.

    • Fixed an incorrect wait count when reading client commands.

    • Fixed a minor engine version upgrade failure.

20240601

20200430

8.0.18

  • New features

    • Binlog in Redo: Optimized the transaction commit mechanism by writing the binary log to the Redo Log, improving database performance.

    • Refactored the row cache code of the X-Engine.

    • Opened the `XA_RECOVER_ADMIN` permission.

  • Performance optimizations

    • Scanned only the dirty page list when operating on InnoDB temporary tables, instead of scanning the entire Buffer Pool list.

    • For compatibility with MySQL 5.6, renamed the global parameter `opt_readonly_trans_implicit_commit` to `rds_disable_explicit_trans`.

    • Did not record upgrade-related logs to the audit log during an instance upgrade.

    • Reduced the memory consumed by DDL operations on X-Engine tables.

  • Bug fixes

    • Fixed an inconsistency between the actual size of an X-Engine table on disk and the statistics in the IS table.

    • Fixed an issue where reopening the error log would initialize the X-Engine log.

20240601

20200331

8.0.18

  • New features

    • Merged changes from official versions 8.0.17 and 8.0.18.

    • Recycle Bin: Added support for the TRUNCATE TABLE command, which moves the original table to a dedicated recycle bin folder and creates a new table with the same structure.

  • Performance optimizations

    • Disabled the output of TCP errors by default.

    • Improved the performance of the thread pool with default configurations.

  • Bug fixes

    • Fixed an issue where databases and tables became invalid because partition file names were split using #p.

    • Fixed a case-sensitivity issue in CCL matching, making it case-insensitive.

20240601

20200229

8.0.16

  • New features

    • Performance Agent: A more convenient performance data statistics solution. It collects and counts various internal performance data of a MySQL instance through a MySQL plugin.

    • Added network round trip time in semi-synchronous mode and recorded it in performance data.

    • X-Engine now supports the Online DDL feature.

  • Performance optimizations

    • Allowed statement concurrency control (CCL) operations on read-only instances.

    • Secondary instances now support Outline.

    • Optimized short-lived connections for the proxy.

    • Optimized the execution time of the `pause` instruction on different CPU architectures.

    • Added a memory table to view the running status of the thread pool.

    • Optimized thread pool performance.

  • Bug fixes

    • Disabled `ppoll` in Linux Kernel versions lower than 4.9 and used `poll` instead.

    • Fixed a `wrap_sm4_encrypt` function call error.

    • Fixed an issue where a global variable lock was held when rotating audit logs.

    • Fixed a recovery inconsistency check issue.

    • Fixed an issue where the `io_statistics` table had an incorrect time value.

    • Fixed a crash issue caused by an invalid compression algorithm.

    • Fixed an issue where a user column was incompatible with version 5.6.

    • Fixed a buffer count leak issue.

20240601

20200110

8.0.16

  • New features

    • Inventory Hint: Added three hints that support `SELECT`, `UPDATE`, `INSERT`, and `DELETE` statements to quickly commit or roll back transactions, improving business throughput capacity.

  • Performance optimizations

    • When starting an instance, initialized the Concurrency Control queue structure before initializing the Concurrency Control rules.

    • Canceled the linking of small files during asynchronous file cleanup.

    • Optimized Thread Pool performance.

    • Disabled recovery inconsistency checks by default.

    • Changed the permissions required to set variables:

      • The permission required to set the following variables has been changed to regular user permission:

        • auto_increment_increment

        • auto_increment_offset

        • bulk_insert_buffer_size

        • binlog_rows_query_log_events

      • The permission required to set the following variables has been changed to superuser or system variable management user permission:

        • binlog_format

        • binlog_row_image

        • binlog_direct

        • sql_log_off

        • sql_log_bin

20240601

20191225

8.0.16

  • New features

    • Recycle Bin: Temporarily moves deleted tables to the recycle bin and lets you set a retention period, making it easy to recover data.

  • Performance optimizations

    • Improved short-lived connection handling performance.

    • Used a dedicated thread to serve the `maintain user` to avoid HA failures.

    • Explicitly released the file synchronization lock when an error occurs while flushing the binary log through Redo.

    • Deleted unnecessary TCP error logs.

    • Enabled the thread pool by default.

  • Bug fixes

    • Fixed a slow query log refresh issue.

    • Fixed an incorrect locking range issue.

    • Fixed a core dump issue caused by the TDE `Select` function.

20240601

20191115

8.0.16

  • New features

    • Statement Queue: A queuing mechanism for statements that groups them into buckets. Statements that may have the same conflicts are placed in the same bucket queue to reduce conflict overhead.

20240601

20191101

8.0.16

  • New features

    • Added the SM4 encryption algorithm for TDE.

    • Protected secondary instance information: Only users with SUPER or REPLICATION_SLAVE_ADMIN permissions can insert, delete, or modify the `slave_master_info`, `slave_relay_log_info`, and `slave_worker_info` tables.

    • Increased the priority of auto-increment keys: If a table has no primary key or non-null unique key, a non-null key with auto-increment will be the first candidate.

    • Disabled the automatic conversion of the Memory engine to the MyISAM engine for system tables and tables used by threads in an initialization state.

    • Flushed the binary log file to disk before flushing the Redo Log to disk.

    • Temporary tables are now also affected when an instance is locked.

    • Added the new LSM tree-based transactional storage engine, X-Engine.

  • Performance optimizations

    • Thread Pool: Mutex optimization.

    • Performance Insight: Performance points now support the thread pool.

    • Parameter adjustments:

      • primary_fast_lookup: A session parameter. The default value is true.

      • thread_pool_enabled: A global parameter. The default value is true.

20240601

20191015

8.0.16

  • New features

    • TDE: Added support for transparent data encryption (TDE), which performs real-time I/O encryption and decryption of data files. Data is encrypted before being written to disk and decrypted when read from disk into memory.

    • Returning: The Returning feature supports DML statements returning a result set and provides a toolkit (DBMS_TRANS) for easy use.

    • Forced conversion of the table engine from MyISAM or MEMORY to InnoDB: If the global variable force_mysiam_to_innodb or force_memory_to_innodb is set to ON, the table engine is automatically converted from MyISAM or MEMORY to InnoDB when you create or modify tables.

    • Prohibited non-privileged accounts from switching between primary and secondary instances.

    • Performance agent plugin: Collects performance data and saves it to a local formatted text file. It uses a file rotation method to retain the most recent second-level performance data.

    • Configurable Innodb mutex timeout: You can configure the global variable innodb_fatal_semaphore_wait_threshold, which has a default value of 600.

    • Ignore index hint errors: You can configure the global variable ignore_index_hint_error. The default value is false.

    • The SSL encryption feature can be disabled.

    • TCP error message: Returns TCP direction (read, read wait, write wait) errors and error codes to the `end_connection` event, and outputs error messages to the error log.

  • Bug fixes

    • Merged AIO requests before triggering a linear read-ahead in Linux systems that support native AIO.

    • Optimized table/index statistics information.

    • Directly accessed the primary index if a primary key is specified.

20240601

20190915

8.0.16

  • Bug fixes

    • Fixed a memory leak issue in `Cmd_set_current_connection`.

20240601

20190816

8.0.16

  • New features

    • Thread Pool: Separates threads from sessions, allowing a small number of threads to handle tasks for many active sessions.

    • Statement Concurrency Control: Controls concurrency to handle sudden database request traffic, high resource-consuming statement access, and changes in SQL access models, ensuring the continuous stability of the MySQL instance.

    • Statement Outline: Uses Optimizer Hint and Index Hint to stabilize MySQL execution plans.

    • Sequence Engine: Simplifies the complexity of obtaining sequence values.

    • Purge Large File Asynchronously: When deleting a single tablespace, the tablespace file is renamed to a temporary file, and an asynchronous cleanup process cleans up the temporary file.

    • Performance Insight: A powerful tool for instance load monitoring, association analysis, and performance tuning. It helps you quickly assess database load, find the source of performance issues, and improve database stability.

    • Optimized instance lock state: Tables can be dropped or truncated when the instance is in a locked state.

  • Bug fixes

    • Fixed a file size calculation error.

    • Fixed an issue where memory was occasionally reused after being freed.

    • Fixed a crash issue when the host cache size was 0.

    • Fixed a conflict between implicit primary keys and CTS statements.

    • Fixed an `slog` error caused by a slow query.

20240601

20190601

8.0.16

  • Performance optimizations

    • Shortened the MDL scope for log tables to reduce the possibility of MDL blocking.

    • Refactored the code for the terminate option.

  • Bug fixes

    • Fixed an issue where prepared statements were not recorded in the audit log.

    • Masked error logs for invalid table names.

20240601

MySQL 8.0 RDS Enterprise Edition

Minor version

Note

20230415

  • Bug fixes

    • Fixed stability defects related to large transaction scenarios.

    • Fixed a defect where `Seconds_Behind_Master` on the secondary database was not 0 when there was no traffic.

20230406

  • Performance optimizations

    • Optimized Faster DDL performance. When a session exits, if the user's operation or the optimizer generated a temporary table, the default page eviction process is optimized from traversing the entire buffer pool to traversing only the pages related to the temporary table. This reduces the wait time for temporary table eviction from the buffer pool, minimizes conflicts, and improves overall performance.

20210305

  • Bug fixes

    • Fixed a memory leak bug in performance schema.

20200918

  • New features

    • Added support for enabling SSL encryption for dedicated proxies.

20200805

  • Bug fixes

    • Fixed a metadata bug.

20200608

  • New features

    • Merged changes from official versions 8.0.17 and 8.0.18.

    • Recycle Bin: Adds support for the TRUNCATE TABLE command. When this command is executed, the original table is moved to a dedicated recycle bin folder, and a new table is created with the same structure.

  • Performance optimizations

    • Disabled the output of TCP errors by default.

    • Improved the performance of the thread pool with default configurations.

  • Bug fixes

    • Fixed an issue where using #p to split partition file names caused databases and tables to become invalid.

    • Fixed a case-sensitivity issue in CCL matching, making it case-insensitive.

20200317

  • New features

    • Performance Agent: A more convenient performance data statistics solution. It collects and counts various internal performance data of a MySQL instance through a MySQL plugin.

    • Faster DDL: Optimized the Buffer Pool management mechanism during DDL operations to reduce the performance impact of DDL operations and increase the concurrency of online DDL operations.

    • Added network round trip time in semi-synchronous mode and recorded it in performance data.

  • Performance optimizations

    • Allowed statement concurrency control (CCL) operations on read-only instances.

    • Secondary instances now support Outline.

    • Optimized short-lived connections for the proxy.

    • Optimized the execution time of the `pause` instruction on different CPU architectures.

    • Added a memory table to view the running status of the thread pool.

    • Optimized thread pool performance.

  • Bug fixes

    • Disabled `ppoll` in Linux Kernel versions lower than 4.9 and used `poll` instead.

    • Fixed a `wrap_sm4_encrypt` function call error.

    • Fixed an issue where a global variable lock was held when rotating audit logs.

    • Fixed a recovery inconsistency check issue.

    • Fixed an issue where the `io_statistics` table had an incorrect time value.

    • Fixed a crash issue caused by an invalid compression algorithm.

    • Fixed an issue where a user column was incompatible with version 5.6.

    • Fixed a buffer count leak issue.

MySQL 5.7 Basic, High-availability, or Cluster Edition

Note

The Cluster Edition is supported starting from minor version 20220731.

Minor version

Community version

Description

Expiration date

20251031

5.7.44

  • New features

    • Added support for online expansion of the length of INT, VARCHAR, and CHAR types.

    • Added support to instantly change a column character set.

    • Supports automatic release of NET::buff memory on persistent connections to reduce memory resource usage and lower out-of-memory (OOM) risk.

    • Added the built-in functions `statement_digest` and `statement_digest_text`.

  • Bug fixes

    • Fixed a replication interruption issue caused by granting the `Super` permission in native replication scenarios. After the fix, only the permissions that the replication thread has are granted.

    • Fixed community Bug #105652, which resolved an exception during the crash recovery process for large tables over 32 TB.

    • Fixed a crash issue that could occur when a DDL statement was executed concurrently with an `update` operation on a table with foreign keys.

    • Fixed the issue of SBM spikes in single-statement transactions.

    • Fixed the issue where purging relay logs caused slow acknowledgments (acks) in semi-synchronous replication.

    • Fixed a performance issue caused by clearing the writeset.

    • Fixed community Bug #118476, which resolved the issue of being unable to create partitions with certain identifiers.

20250831

5.7.44

  • Bug fixes

    • Fixed an issue where the innodb_max_mtr_records_for_tmp_table parameter caused abnormal queries.

20250430

5.7.44

  • New features

    • Added support for Visible Index and Invisible Index features.

    • Supports recording the end time of an SQL query in the start_time field of the slow query log.

  • Performance optimizations

    • Improved the execution efficiency of the `REPLACE` function.

    • Enabled GTID auto-positioning. When a secondary database starts replication, it automatically skips gaps transactions.

  • Bug fixes

    • Fixed an issue where the start_time field was incorrect in the slow query log for CALL PROCEDURE statements.

——

20250331

5.7.44

  • New features

  • Performance optimizations

    • Fixed a replication interruption issue that occurred in scenarios with unique prefix indexes when using the Writeset feature.

20241231

5.7.44

  • New features

    • Added template-level Statement Concurrency control to limit the execution of SQL statements that use the same template.

    • The column encryption feature now supports key management through KMS.

    • The column encryption feature now supports the AES 256 algorithm.

20241130

5.7.44

  • New features

    • Upgraded the OpenSSL version to 3.0.15.

  • Performance optimizations

    • Optimized the automatic repair process for the General Query Log during crash recovery to reduce time consumption.

  • Bug fixes

    • Fixed Community Bug #96236, which resolved an issue where internal temporary tables exhausted the buffer pool, making the instance unavailable.

    • Fixed a potential instance crash issue when canceling a buffer pool scale-in.

    • Fixed Community Bug#99643, which resolved an issue where transactions were suspended and could not be killed because the trx->in_innodb value was invalid.

    • Fixed an issue where a binary log was recorded even if an `Optimize Table` operation failed.

    • Fixed a ciphertext collision issue in EncDB.

20240930

5.7.44

  • New features

    • MySQL 5.7 Basic Edition now supports native replication.

20240731

5.7.44

  • New features

    • Added support for user binary log dump threads to skip Ignorable Log Events generated by the Binlog Cache Free Flush feature.

    • Added support for dynamically modifying `encdb` parameters.

  • Performance optimizations

    • Removed unnecessary Server hooks to reduce unnecessary lock contention during DML processes.

    • The duration of a lock that occurs when you execute the TRUNCATE TABLE statement is shortened. When you enable the innodb_rds_drop_ahi_ahead parameter, the adaptive hash index for an InnoDB table is deleted before the table is truncated. This shortens the holding time of the InnoDB metadata lock during statement execution and prevents other SQL statements from being blocked.

    • Optimized the time taken for the automatic repair process of the General Query Log during crash recovery.

  • Bug fixes

    • Fixed an issue where the Crash Recovery process was stuck at 99%.

    • Fixed an issue where `Analyze Table` could cause many SQL executions to get stuck in the "Waiting for table flush" state.

    • Fixed an issue where the `end_log_pos` was incorrect for the Binlog Cache Free Flush feature.

    • Fixed a page verification error during Crash Recovery writing.

    • Fixed an issue where memory information was not collected by `performance_schema` when initializing the buffer pool with multiple threads.

    • Fixed a crash caused by `encdb` timestamp processing.

    • Fixed an issue where a binary log was recorded even if an `Optimize Table` operation failed.

    • Fixed an issue where an unnecessary `AUTO_INC` lock might be acquired during the execution of an `UPDATE` statement.

20240430

5.7.44

  • Performance optimizations

    • A new parameter, innodb_rds_drop_ahi_ahead, is added. When this parameter is enabled, the adaptive hash index of an InnoDB table is deleted before the table is deleted. This shortens the duration for which the InnoDB metadata lock is held during the execution of a DROP TABLE statement and prevents other SQL statements from being blocked.

    • Added support for the Binlog Cache Free Flush feature. During the transaction commit phase, this feature directly converts the temporary Binlog cache files of large transactions into binary log files. This can reduce the time that the global binary log lock is held when committing large transactions and alleviate the I/O pressure on the instance. This prevents instance failovers caused by the inability to write to the binary log for an extended period or by I/O hangs.

  • Bug fixes

    • Fixed an issue where the `AUTO_INCREMENT` value of an InnoDB table on a secondary database was inconsistent with the actual data after a `REPLACE INTO` statement.

    • Fixed an issue where the INSERT ... SELECT statement allowed inserting data of incompatible GEOMETRY types.

    • Fixed an issue where EncDB returned incorrect data types.

    • Fixed an issue where using the --lock-for-backup option with Percona mysqldump for a backup could result in the error "error 1305: savepoint does not exist.".

20240229

5.7.44

  • New features

    • Merged changes from official version 5.7.44.

    • Added support for Statement Outline with ps-protocol.

    • Upgraded the OpenSSL version to 3.0.12.

    • EncDB now supports querying encryption rules and users.

  • Performance optimizations

    • Optimized the 1-second replication delay issue.

  • Bug fixes

    • Fixed an issue where an irrelevant error was reported after discarding a tablespace.

    • Fixed an issue where table recycling was still triggered on a read-only instance after the `recycle_bin` parameter was disabled.

    • Fixed a potential crash issue when querying both a standard table and the system table `information_schema.PARAMETERS` or `ROUTINES` at the same time.

    • Fixed a slow query log write failure issue caused by a missing `slow_log.CSV`.

    • Fixed a potential null pointer access issue when the query cache plugin was loaded and then quickly uninstalled.

    • Fixed an issue where the truncation position of multiple statements was recorded inaccurately in Audit Log V3 when they were merged into a single query.

    • Fixed an issue where `drop table force` was ineffective on tables with foreign key dependencies.

    • Fixed an abnormal `more_result` field issue in the OK protocol package for multi-statement scenarios, enabling MaxScale to restore session state with multiple statements.

    • Fixed a semi-synchronous replication failure caused by an incorrect binary log filename comparison.

    • Fixed an issue where EncDB wrote Null as a timestamp when the `explicit_defaults_for_timestamp` parameter was set.

20240115

5.7.43

  • Bug fixes

    • Fixed an issue where EncDB could not identify sensitive columns when the SQL statement contained a table alias.

    • Fixed a system crash issue that occurred when the constructor of the `DesensitizationAlgo` class in EncDB encountered invalid input.

    • Fixed an issue where EncDB always output logs when sensitive rules were configured as empty, which could lead to user disk space being filled.

    • Fixed an issue where EncDB would return an error when processing `noneAcces` type users if the calculated ciphertext size did not match the actual generated ciphertext size.

20231215

5.7.43

Important

After you upgrade OpenSSL to OpenSSL 3.0.9, TLS 1.0 and TLS 1.1 are automatically disabled. For compatibility, RDS for MySQL restored support for TLS 1.0 and TLS 1.1 by changing the default value of the "ALL:@SECLEVEL=0"  parameter.

If you have confirmed that your service uses only TLSv1.2 or later, we recommend that you set the ssl_cipher parameter to "" (an empty string) in the RDS console for a higher level of security.

  • Bug fixes

    • Fixed an issue where clients could not use TLSv1.0 or TLSv1.1 to connect to the server after the MySQL OpenSSL version was upgraded to 3.0.9.

20231031

5.7.43

  • Bug fixes

    • Fixed an issue where EncDB parameter settings did not take effect.

20230831

5.7.43

Important

After OpenSSL is upgraded to version 3.0.9, to use the TLSv1 and TLSv1.1 protocols, you can set the `ssl_cipher` instance parameter to include @SECLEVEL=0. This action lowers the default security level to allow the use of these protocols.

  • New features

    • Merged changes from official version 5.7.43.

    • Upgraded the OpenSSL version to 3.0.9.

    • Improved the speed of starting MySQL via `mysqld_safe` using shell built-in functions to parse parameters.

    • Added the Confidential database feature, which implements end-to-end data encryption to protect data security.

  • Bug fixes

    • Fixed an abnormal instance restart caused by an `sql_type` error in the thread pool.

    • Fixed a self-looping issue caused by an incorrect `fil_addr` pointer during the recovery of an UNDO table lock.

    • Fixed an issue where the audit log did not record multi-statement queries.

20230531

5.7.42

  • New features

    • Merged changes from official versions 5.7.41 and 5.7.42.

    • Upgraded the OpenSSL version to 1.1.1u.

    • Accelerated the process of reviving undo tablespace locks during instance crash recovery.

    • Added support for canceling Online Buffer Pool Resize to avoid excessively long resize processes.

  • Performance optimizations

    • Used multiple threads to initialize Buffer Pool Instances simultaneously during instance startup to accelerate the startup speed.

    • During instance crash recovery, the rollback of in-doubt transactions is optimized from synchronous to asynchronous, improving the RTO.

    • Improved the initialization performance of the buffer pool to accelerate startup speed.

  • Bug fixes

    • Fixed an initialization failure caused by an out-of-bounds access to the parameter array when initializing Buffer Pool Instances with multiple threads.

20230228

5.7.40

  • Bug fixes

    • Fixed an issue where enabling `recycle_scheduler` could cause a slow increase in memory in some scenarios.

    • Fixed a conflict between the `recycle_scheduler` background thread and the active `purge_table` operation, which prevented the `purge_table` operation from being executed.

20221231

5.7.40

  • New features

    • Merged changes from official version 5.7.40.

    • Upgraded the OpenSSL version to 1.1.1s.

  • Performance optimizations

    • Optimized the Adaptive Hash Index (AHI) feature:

      • Cleaned up memory occupied by AHI when it is disabled.

      • Improved the update speed of AHI.

    • If a transaction modifies a table without a PRIMARY KEY and a non-null UNIQUE KEY, when applying it on the secondary database, a non-null key with an auto-increment field is used as the first candidate to find the target column. This improves the replay efficiency of the table on the secondary database and reduces replication delay.

      Note

      The non-null key with an auto-increment field may be a user-defined key or an implicit primary key created by RDS.

  • Bug fixes

    • Fixed an issue where the number of updated rows for `UPDATE` and `INSERT` statements in the MySQL audit log was inaccurate.

    • Fixed an issue where the binary log lacked the character set of a temporary table when creating a standard table from it, causing error 13146 on the secondary database. After the fix, the binary log includes the character set of the temporary table, and the secondary database does not report error 13146.

20221031

5.7.39

  • New features

    Merged changes from official version 5.7.39.

  • Bug fixes

    Removed the primary fast look up feature.

20220731

5.7.38

  • New features

    Merged changes from official version 5.7.38.

  • Bug fixes

    • Fixed a deadlock issue between the `Rename Tablespace` operation and other unfinished I/O operations during a DDL process.

    • Fixed an issue with inaccurate statistics for Memory/sql/String::value in the memory_summary_global_by_event_name table of performance_schema.

    • Fixed a deadlock issue on the Replica node for XA transactions caused by unreasonable locking on a secondary index when inserting data into it.

    • Removed the restriction that innodb_buffer_pool_size must be at least 1 GB when innodb_buffer_pool_instances is greater than 1.

  • Performance optimizations

    Optimized the strategy for adjusting the Buffer Pool size to make the adjustment process smoother.

20220430

5.7.37

  • New features

    • Merged changes from official version 5.7.37.

    • Optimized the SSL encryption feature and fixed some internal errors.

    • Revoked the operation permissions of standard accounts on the `sys` and `performance_schema` databases.

  • Bug fixes

    Changed the log records for FLUSH TABLES WITH READ LOCK and UNLOCK TABLES in the error log to the warning level, to facilitate online troubleshooting.

20211231

5.7.35

  • New features

    • Merged changes from official version 5.7.35.

    • Added support for Free resize of the RDS InnoDB buffer pool, which has less impact on instance performance during adjustment and provides a more user-friendly experience.

    • Optimized bidirectional replication. Unnecessary binary logs are no longer sent, and heartbeat events are not generated when skipping an EVENT.

    • After you modify the log_slave_updates parameter, you do not need to restart the instance.

    • The error log now includes logs for FLUSH TABLES WITH READ LOCK and UNLOCK TABLES.

    • The new innodb_control_index_page_reserve parameter, when set to OFF, reduces page splits and lowers storage space usage.

  • Bug fixes

    • Fixed an issue where the CPU usage collected by the Performance Agent was incorrect in the new Docker architecture.

    • Fixed an incorrect session tracker type number reserved by RDS.

    • Fixed a crash recovery failure caused by the mtr log exceeding the log parsing buffer size.

    • Supports marking memory pages as MADV_DONTDUMP to prevent the InnoDB buffer pool from being included in a coredump when the innodb_buffer_pool_in_core_file parameter is disabled. This reduces the space that the coredump occupies.

    • Fixed an incorrect `start_time` in the `mysql.slow_log` table. It should be the start time of the SQL statement, not the end time.

    • Opened `Show_db_priv` permission for regular users.

    • Fixed a potential memory leak issue when executing `LF_HASH_INSERT`.

    • Fixed an issue where `recycle_bin` did not support tables containing virtual columns.

20210630

5.7.32

  • New features

    • Audit logs now support the MYSQL_V3 format.

    • Allowed users to perform truncate operations on the slow log and general log.

    • Added a thread stack memory overflow check.

    • Adds the parameter thread_pool_strict_mode to control the maximum number of worker threads.

  • Bug fixes

    • Deleted old socket lock files when starting mysqld with the `mysqld_safe` script.

    • Fixed a `recycle_bin` memory leak issue.

20210430

5.7.32

  • New features

    • Added support for Recycle Bin. For more information, see Recycle Bin.

    • Added support for SEQUENCE Engine. For more information, see Sequence Engine.

  • Performance optimizations

    • More performance data metrics are added to the I_S.PERF_STATISTICS table.

    • The I_S.INDEX_STATISTICS table now includes the index scan count.

    • Optimized TDE performance.

  • Bug fixes

    Fixed a community version bug related to abnormal handling of generated columns during rollback.

20201031

5.7.30

  • Bug fixes

    • Fixed a `ROW_SEARCH_MVCC` crash issue caused by concurrent updates.

    • Fixed an issue where changing `innodb_undo_tablespaces` prevented startup.

    • Fixed a buffer overflow issue caused by an FTS query.

20240601

20200831

5.7.30

  • New features

    • Merged changes from official version 5.7.30.

    • Optimized the waiting and concurrency mechanism of Concurrency Control (CCL).

    • Added `start gtid` and `stop gtid` functions to the MySQL Binlog tool.

    • Added support for outputting various LSN values of the Redo Log:

      • innodb_lsn: The LSN of the redo log.

      • innodb_log_write_lsn: The LSN to which the log has been written.

      • innodb_log_checkpoint_lsn: The LSN of the last checkpoint.

      • innodb_log_flushed_lsn: The LSN of the redo log flushed to disk.

      • innodb_log_Pages_flushed: The LSN of the flushed pages.

  • Performance optimizations

    • Adjusted the execution priority of Concurrency Control in stored procedures.

  • Bug fixes

    • A reference count leak could occur for temporary table pages used during SQL execution. This could lead to inefficient flushing of dirty blocks in the entire Buffer Pool, causing a lack of available free pages in the Buffer Pool and severely impacting database performance. For more information, see the official documentation.

20240601

20200630

5.7.28

  • New features

    • Inventory Hint: Added three hints that support `SELECT`, `UPDATE`, `INSERT`, and `DELETE` statements to quickly commit or roll back transactions, improving business throughput capacity.

    • Statement Concurrency Control: Controls concurrency to handle sudden database request traffic, high resource-consuming statement access, and changes in SQL access models, ensuring the continuous stability of the MySQL instance.

    • Statement Queue: A queuing mechanism for statements that groups them into buckets. Statements that may have the same conflicts are placed in the same bucket queue to reduce conflict overhead.

    • Statement Outline: Uses Optimizer Hint and Index Hint to stabilize MySQL execution plans.

    • Faster DDL: Optimized the Buffer Pool management mechanism during DDL operations to reduce the performance impact of DDL operations and increase the concurrency of online DDL operations.

    • Increased the upper limit of connections to a maximum of 500,000.

  • Performance optimizations

    • You can run the call dbms_admin.show_native_procedure(); command to view all native procedures.

    • Added a function to delete orphan tables.

    • Internal optimizations for the thread pool.

    • Optimized the query cache.

    • Set an upper limit on the memory occupied by Performance Schema based on the instance type.

  • Bug fixes

    • Fixed an issue where the audit refresh thread entered an infinite loop.

20240601

20200430

5.7.28

  • Performance optimizations

    • Removed `rwlock` from QueryCache and changed the default hash function from `LF_hash` to `murmur3 hash`.

  • Bug fixes

    • Fixed two errors that occurred when hitting the query cache in transaction isolation (repeatable read level).

20240601

20200331

5.7.28

  • New features

    • Merged changes from official version 5.7.28

    • Fast Query Cache: Alibaba Cloud redesigned and implemented a new RDS Query Cache to address the shortcomings of the native MySQL Query Cache, effectively improving database query performance.

    • Ported two MDL locks from percona-server 5.7: LOCK TABLES FOR BACKUP (LTFB) and LOCK BINLOG FOR BACKUP (LBFB).

  • Performance optimizations

    • Added compatibility for the thread pool with lower versions.

    • Disabled the output of TCP errors by default.

    • Improved the performance of the thread pool with default configurations.

  • Bug fixes

    • Fixed an issue where temporary files were included when cleaning up large files.

    • Fixed a thread pool dump thread timeout issue.

    • Fixed an IPK field count error in the process context.

    • Fixed a pfs thread leak and release issue caused by `rds_change_user`.

20240601

20200229

5.7.26

  • New features

    • Performance Agent: A more convenient performance data statistics solution. It collects and counts various internal performance data of a MySQL instance through a MySQL plugin.

    • Added network round trip time in semi-synchronous mode and recorded it in performance data.

  • Performance optimizations

    • Optimized the execution time of the `pause` instruction on different CPU architectures.

    • Optimized short-lived connections for the proxy.

    • Added a memory table to view the running status of the thread pool.

  • Bug fixes

    • Fixed an issue where DDL redo logs were not secure.

    • Fixed an issue where the `io_statistics` table had an incorrect time value.

    • Fixed a server crash issue caused by altering a table.

    • Fixed MySQL test cases.

20240601

20200110

5.7.26

  • Performance optimizations

    • Canceled the linking of small files during asynchronous file cleanup.

    • Optimized Thread Pool performance.

    • Adjusted the default value of the `thread_pool_enabled` parameter to OFF.

20240601

20191225

5.7.26

  • New features

    • Internal account management and prevention: Adjusted user permissions to protect data security.

  • Performance optimizations

    • Improved short-lived connection handling performance.

    • Used a dedicated thread to serve the `maintain user` to avoid HA failures.

    • Deleted unnecessary TCP error logs.

    • Optimized the thread pool.

  • Bug fixes

    • Fixed a mysqld process crash issue during read/write splitting.

    • Fixed a core dump issue caused by the keyring.

20240601

20191115

5.7.26

  • Bug fixes

    • Fixed an issue where audit logs displayed variables after a primary/secondary switchover.

20240601

20191101

5.7.26

  • New features

    • Added the SM4 encryption algorithm for TDE.

    • Directly accessed the primary index if a primary key is specified.

    • Disabled the automatic conversion of the Memory engine to the MyISAM engine for system tables and tables used by threads in an initialization state.

  • Performance optimizations

    • Thread Pool: Mutex optimization.

    • Introduced an audit log buffer mechanism to improve the performance of audit logging.

    • Performance Insight: Performance points now support the thread pool.

    • Enabled Thread Pool by default.

  • Bug fixes

    • Released locks when processing the maintenance user list.

    • Supplemented more TCP error messages.

20240601

20191015

5.7.26

  • New features

    • Slow log rotation: To ensure zero data loss when collecting slow query logs, each CSV data file for slow query logs is renamed to a unique name and a new file is created. You can run the show variables like '%rotate_log_table%'; command to check whether slow log rotation is enabled.

    • Performance agent plugin: Collects performance data and saves it to a local formatted text file. It uses a file rotation method to retain the most recent second-level performance data.

    • Forced conversion of the table engine from MEMORY to InnoDB: If the global variable rds_force_memory_to_innodb is set to ON, the table engine is converted from MEMORY to InnoDB when you create or modify tables.

    • TDE mechanism optimization: Added the `keyring-rds` plugin to interact with the control system/Key Management Service.

    • TCP error message: Returns TCP direction (read, read wait, write wait) errors and error codes to the `end_connection` event, and outputs error messages to the error log.

  • Bug fixes

    • Fixed the unexpected error `Error 1290` in DDL.

20240601

20190925

5.7.26

  • Parameter modifications

    • Changed the default value of the system variable `auto_generate_certs` from `true` to `false`.

    • Added the global read-only variable `auto_detact_certs` with a default value of `false` and valid values of `[true | false]`. This system variable is available when the server side is compiled with OpenSSL. It controls whether the server side automatically searches for SSL certificate and key files in the data directory at startup, i.e., whether to enable the automatic search for server-side certificates and keys.

20240601

20190915

5.7.26

  • New features

    • Thread Pool: Separates threads from sessions, allowing a small number of threads to handle tasks for many active sessions.

20240601

20190815

5.7.26

  • New features

    • Purge Large File Asynchronously: When deleting a single tablespace, the tablespace file is renamed to a temporary file, and an asynchronous cleanup process cleans up the temporary file.

    • Performance Insight: A powerful tool for instance load monitoring, association analysis, and performance tuning. It helps you quickly assess database load, find the source of performance issues, and improve database stability.

    • Optimized instance lock state: Tables can be dropped or truncated when the instance is in a locked state.

  • Bug fixes

    • In the set rds_current_connection command, setting rds_prepare_begin_id is prohibited.

    • Allowed changing the information of a locked user.

    • Prohibited using the keyword `actual` as a table name.

    • Fixed a time field overflow issue in the slow query log.

20240601

20190510

5.7.26

  • New features

    • Allowed creating temporary tables within a transaction.

20240601

20190319

5.7.26

  • New features

    • Added support for setting the threadID in the handshake message via a proxy.

20240601

20190131

5.7.25

  • Performance optimizations

    • Upgraded to official version 5.7.25.

    • Disabled the memory management feature `jemalloc`.

  • Bug fixes

    • Fixed an internal variable `net_lenth_size` calculation error.

20240601

20181226

  • New features

    • Added support for dynamically modifying `binlog-row-event-max-size` to accelerate replication for tables without a primary key.

  • Bug fixes

    • Fixed a memory allocation exception issue in proxy instances.

20240601

20181010

  • Performance optimizations

    • Added support for implicit primary keys.

    • Accelerated primary-secondary replication for tables without a primary key.

    • Added support for Native AIO to improve I/O performance.

20240601

20180431

  • New features

    • Added support for the high-availability series.

    • Added support for SQL Audit.

    • Enhanced protection for instances in a snapshot backup state.

20240601

MySQL 5.7 RDS Enterprise Edition

Minor version

Description

20230101

  • Bug fixes

    • When multiple sessions inserted into a table with an auto-increment column, and the unique key constraint used IODKU, the explicit value of the auto-increment column was not put into the table. The insert operation could fail due to a unique index conflict. After the fix, when an insert with IODKU fails, the auto-increment ID of the failed row is retained for the next insert, and the current operation becomes an update.

20201229

  • Bug fixes

    • Fixed unexpected database crashes and freezes.

    • Fixed an issue where a prefix index was judged as an invisible index.

    • Fixed an abnormal state issue with the logger node in the consensus protocol, which could prevent the cluster from correctly electing a primary node.

20191128

  • New features

    • Added support for read/write splitting.

  • Bug fixes

    • Fixed an issue where `Second_Behind_Master` was calculated incorrectly on the Follower in some scenarios.

    • Fixed a deadlock issue when retrying transactions in table-level parallel replication.

    • Fixed XA-related bugs.

20191016

  • New features

    • Added support for upgrading from MySQL 5.7 High-availability Series (with high-performance local disks) to RDS Enterprise Edition.

    • Compatible with the official MySQL GTID feature, which is disabled by default.

    • Merged self-developed features from AliSQL MySQL 5.7 Basic/High-availability Series versions 20190915 and earlier.

  • Bug fixes

    • Fixed an issue where the binary log was disabled after resetting a secondary instance.

20190909

  • New features

    • Optimized the execution efficiency of large transactions in a three-node strong consistency state.

    • Added support for binary log dumps from the Leader/Follower.

    • Added support for creating read-only instances.

    • System tables now use the InnoDB engine by default.

  • Bug fixes

    • Fixed an issue where the log cleanup command on the Follower was ineffective.

    • Fixed an issue where the Slave thread exited abnormally when `slave_sql_verify_checksum` was OFF and `binlog_checksum` was `crc32`.

20190709

  • New features

    • Added support for the three-node feature.

    • Disabled the semi-sync plugin.

    • Added support for table-level parallel replication and Writeset parallel replication.

    • Added support for `pk_access` primary key query acceleration.

    • Added support for the thread pool.

    • Merged self-developed features from AliSQL MySQL 5.7 Basic/High-availability Series versions 20190510 and earlier.

MySQL 5.6

Minor version

Community version

Description

Expiration date

20250531

5.6.16

  • Bug fixes

    • Fixed an error in semi-sync offset comparison that caused a memory leak in the primary database.

20241231

5.6.16

  • Bug fixes

    • Fixed an abnormal restart issue in Thread Pool instances caused by an `sql_type` error.

    • Fixed a semi-synchronous replication failure caused by an incorrect binary log filename comparison.

20221130

5.6.16

  • New features

    Added support for recording GLOBAL READ LOCK acquisition and release in the error log.

  • Bug fixes

    • Fixed an issue of excessive memory usage when opening many InnoDB partitioned tables.

    • Fixed an issue where the InnoDB data dictionary was not updated when the case of a column name was changed.

    • Fixed a deadlock issue in the MySQL instance when renaming a tablespace.

    • Fixed a crash recovery failure caused by a recovery parsing buffer that was too small.

    • Fixed an issue where the results of SHOW GLOBAL STATUS; were inaccurate.

    • Fixed an inaccurate `start_time` field in the `mysql.slow_log` table.

20221126

5.6.16

  • Bug fixes

    • Fixed an issue where duplicate values appeared in an InnoDB auto-increment (AUTO_INCREMENT) column.

20210630

5.6.16

  • New features

    Added a thread stack memory overflow check.

  • Bug fixes

    • Fixed a bug from the MySQL 5.6 community version.

    • Removed the operation restriction on the `SHOW CREATE` statement under the `mysql` database.

20210430

5.6.16

  • Performance optimizations

    I_S.PERF_STATISTICS table now includes more performance data metrics.

  • Bug fixes

    Fixed several memory leak bugs from the community version.

20201031

5.6.16

  • Bug fixes

    • Fixed an issue where a subquery within an `IN` clause was invalid.

    • Fixed a process permission error.

    • Fixed a user authorization issue in the `kill_user_list` table.

    • Fixed an issue where the DROP DATABASE statement caused an error.

    • Fixed an issue where a `PREVIOUS_GTID` event caused an incorrect `SECONDS_BEHIND_MASTER` calculation.

20240601

20200831

5.6.16

  • New features

    Added support for outputting various LSN values of the Redo Log:

    • innodb_lsn: The LSN of the redo log.

    • innodb_log_write_lsn: The LSN to which the log has been written.

    • innodb_log_checkpoint_lsn: The LSN of the last checkpoint.

    • innodb_log_flushed_lsn: The LSN of the redo log flushed to disk.

    • innodb_log_Pages_flushed: The LSN of the flushed pages.

  • Bug fixes

    • Fixed a `SHOW_HA_ROWS` type error.

    • Fixed an IPK field count error in the process context.

    • Fixed a server crash issue caused by querying `INFORMATION_SCHEMA`.

    • Fixed an issue where the audit refresh thread entered an infinite loop.

    • Fixed an issue where the secondary instance did not report primary-secondary latency.

20240601

20200630

5.6.16

  • New features

    • Performance Agent: A more convenient performance data statistics solution. It collects and counts various internal performance data of a MySQL instance through a MySQL plugin.

    • Increased the upper limit of connections to a maximum of 500,000.

    • Faster DDL: Optimized the Buffer Pool management mechanism during DDL operations to reduce the performance impact of DDL operations and increase the concurrency of online DDL operations.

  • Performance optimizations

    • Added the global parameter `max_execution_time`. An SQL statement will be interrupted if its execution time exceeds this parameter value.

    • Internal optimizations for the thread pool.

  • Bug fixes

    • Fixed an incorrect wait count when reading client commands.

    • Fixed an issue where standard accounts did not have permission to execute the `DROP DATABASE` command.

20240601

20200430

5.6.16

  • New features

    • Added the `mdl_info` table to store MDL lock information.

  • Bug fixes

    • Resolved a conflict issue when enabling both the thread pool and the `ic_reduce` (flash sale) features simultaneously.

20240601

20200331

5.6.16

  • Performance optimizations

    • Improved the performance of the thread pool with default configurations.

    • Disabled the output of TCP errors by default.

  • Bug fixes

    • Fixed an issue where temporary files were included when cleaning up large files.

20240601

20200229

5.6.16

  • New features

    • Added support for the Proxy read/write splitting feature.

  • Performance optimizations

    • Optimized the thread pool feature.

    • Optimized the execution time of the `pause` instruction on different CPU architectures.

  • Bug fixes

    • Fixed a partial commit issue with XA transactions.

20240601

20200110

5.6.16

  • New features

    • Thread Pool: Separates threads from sessions, allowing a small number of threads to handle tasks for many active sessions.

  • Performance optimizations

    • Canceled the linking of small files during asynchronous file cleanup.

  • Bug fixes

20240601

20191212

5.6.16

  • Performance optimizations

    • Deleted unnecessary tcp error logs.

20240601

20191115

5.6.16

  • Bug fixes

    • Fixed a slow log timestamp overflow issue.

20240601

20191101

5.6.16

  • Bug fixes

    • Fixed an issue where the slow log was switched when flushing logs. The slow log is now switched only when flushing the slow log.

    • Corrected some display errors.

20240601

20191015

5.6.16

  • New features

    • The rotation of slow query logs is supported. Each CSV slow query log file is assigned a unique name and saved as a new file. This prevents data loss during the collection of slow query logs. You can use show variables like '%rotate_log_table%'; to check whether slow log rotation is enabled.

    • SM4 encryption algorithm: Added the new SM4 encryption algorithm to replace the old SM encryption algorithm.

    • Purge Large File Asynchronously: When deleting a single tablespace, the tablespace file is renamed to a temporary file, and an asynchronous cleanup process cleans up the temporary file.

    • TCP error message: Returns TCP direction (read, read wait, write wait) errors and error codes to the `end_connection` event, and outputs error messages to the error log.

    • Introduced an audit log buffer mechanism to improve the performance of audit logging.

  • Bug fixes

    • Disabled `pstack` to avoid potential unresponsiveness when there are many connections.

    • Resolved the conflict between implicit primary keys and create table as select statements.

    • Automatically cleaned up temporary files created by the binary log.

20240601

20190815

5.6.16

  • Performance optimizations

    • Optimized instance lock state: Tables can be dropped or truncated when the instance is in a locked state.

20240601

20190130

5.6.16

  • Bug fixes

    • Fixed some bugs that could cause system instability.

20240601

20181010

5.6.16

  • Performance optimizations

    • Added the parameter `rocksdb_ddl_commit_in_the_middle` (MyRocks). If this parameter is enabled, some DDL statements will perform a commit operation during execution.

20240601

201806**

5.6.16

  • New features

    • Increased the precision of the slow log to microseconds.

20240601

20180426

5.6.16

  • New features

    • Introduced hidden indexes, which support setting an index to be invisible. For more information, see the reference document.

  • Bug fixes

    • Fixed a bug in the apply thread of the secondary database.

    • Fixed a performance degradation issue when the secondary database applied updates to a partitioned table.

    • Fixed an issue where `alter table comment` on a TokuDB table rebuilt the entire table. For more information, see the reference document.

    • Fixed a deadlock issue that could be triggered by `show slave status`/`show status`.

20240601

20171205

5.6.16

  • Bug fixes

    • Fixed a deadlock issue triggered when `OPTIMIZE TABLE` and `ONLINE ALTER TABLE` were executed simultaneously.

    • Fixed a conflict between SEQUENCE and implicit primary keys.

    • Fixed a `SHOW CREATE SEQUENCE` issue.

    • Fixed an error in the table statistics of the TokuDB engine.

    • Fixed a deadlock issue introduced by parallel `OPTIMIZE` table operations.

    • Fixed a character set issue recorded in `QUERY_LOG_EVENT`.

    • Fixed an issue where the database could not be stopped due to signal handling. For more information, see the reference document.

    • Fixed an issue introduced by `RESET MASTER`.

    • Fixed an issue where the secondary database was stuck in a waiting state.

    • Fixed a state maintenance issue after a primary node switchover in the RDS Enterprise Edition.

    • Fixed a potential process crash issue triggered by `SHOW CREATE TABLE`.

20240601

20170927

5.6.16

  • Bug fixes

    • Fixed an issue where an incorrect index was used when querying a TokuDB table.

20240601

20170901

5.6.16

  • New features

    • Upgraded the SSL encryption version to TLS 1.2. For more information, see the reference document.

    • Added support for SEQUENCE.

  • Bug fixes

    • Fixed an issue where a `NOT IN` query returned an incorrect result set in specific scenarios.

20240601

20170530

5.6.16

  • New features

    • Added support for privileged accounts to kill connections under other accounts.

20240601

20170221

5.6.16

20240601

MySQL 5.5

Minor version

Description

20181212

  • Bug fixes

    • Fixed an issue where the system function gettimeofday(2) returned an inaccurate value. The returned time value is used to calculate the wait timeout. If the returned time value is inaccurate, the wait timeout cannot be correctly calculated.