This topic describes the release notes for AnalyticDB for MySQL and provides links to the relevant references.

Usage notes

Take note of the following items during engine version updates of AnalyticDB for MySQL:
  • For clusters in reserved mode for Cluster Edition or clusters in elastic mode that have 32 or more cores, data read and write operations are not interrupted while engine versions are being updated. Within the last 5 minutes before the update is complete, queries may encounter transient connections.
  • For clusters in elastic mode that have 8 or 16 cores, data write operations may be interrupted for 30 minutes while engine versions are being updated. Within the last 5 minutes before the update is complete, queries may encounter transient connections.
  • Cluster upgrades do not affect database access, account management, database management, or IP address whitelist settings.
  • During cluster upgrades, network jitters may occur and affect write and query operations. Make sure that your application is configured to automatically reconnect to the cluster.
  • During cluster upgrades, the cluster may encounter transient connections. Make sure that your application is configured to automatically reconnect to the cluster.

If you do not need to upgrade your cluster or you have any questions about cluster upgrade, you can cancel the scheduled minor version updates. Only scheduled events of the minor version update type can be canceled. For more information, see the "Cancel scheduled events" section of the Manage O&M events topic.

February 2023

V3.1.6.4
CategoryFeatureDescriptionReferences
New featureRoaring bitmap functionsRoaring bitmaps are efficiently compressed bitmaps that are widely used in various programming languages and big data platforms for deduplication, tag-based filtering, and computing of time series data. Document under development
Funnel analysis functionsFunnel analysis is a common type of conversion analysis. It is used to reflect the conversion rates of user behavior in various stages of a process. The following functions are supported: WINDOW_FUNNEL, RETENTION, RANGE_RETENTION_COUNT, and RANGE_RETENTION_SUM. Funnel and retention functions
UPDATE JOINThe UPDATE statement can be used together with JOIN to update the data of multiple tables. Update multiple tables
ApsaraDB RDS for MySQL, ApsaraDB for MongoDB, MaxCompute, Object Storage Service (OSS), and Tablestore external tables
  • External tables can be used to import data from ApsaraDB RDS for MySQL or ApsaraDB for MongoDB to AnalyticDB for MySQL Data Lakehouse Edition.
  • External tables can be used to import data from MaxCompute to AnalyticDB for MySQL Data Lakehouse Edition.
  • For Data Lakehouse Edition (V3.0) clusters, partitioned OSS external tables provide partition mapping and support a variety of formats such as CSV, JSON, Parquet, ORC, and Avro. They can be used to import data that is stored in OSS and contains more than 100,000 partitions.
  • The Tablestore connector is supported to import data from Tablestore.
Character sets supported for MySQL external tablesMySQL character sets can be specified by using the charset parameter when you create an ApsaraDB RDS for MySQL or self-managed MySQL external table. CREATE EXTERNAL TABLE
Cost-based optimizer (CBO) updateThe automatic statistics collection feature is supported in AnalyticDB for MySQL Data Warehouse Edition (V3.0). Statistics about data columns can be used to help the query optimizer generate high-quality execution plans. Statistics
Intelligent workload managementThe workload management feature isolates and throttles queries by assigning them to queues of different priorities. You can customize rules to intercept bad queries and assign queries to queues.
Optimized feature
  • New import models are supported to improve import performance for newly created tables.
  • The hash and sort performance of Window operators is optimized to support adaptive aggregation.
  • Jetty is replaced with Netty to reduce network connections and CPU consumption.

    By default, Netty is enabled for control links. You can enable Netty for data links.

  • The types and value ranges of partition fields can be specified in DDL statements. This optimizes the partition pruning performance of OSS external tables.
  • The memory model used for importing data based on OSS and MaxCompute external tables is optimized. The performance of reading external tables is also optimized.
  • CacheFS is optimized to reduce caching for hot and cold data and improve stability.
None
V3.1.5.8
CategoryFeatureDescriptionReferences
New featureFull-text queryThe following analyzers are built into AnalyticDB for MySQl to implement full-text query: Standard, Ngram, Edge_ngram, and Pattern. Analyzers for full-text indexes
V3.1.5.10
CategoryFeatureDescriptionReferences
New featureRegular expression functionsThe following regular expression functions are supported: REGEXP_MATCHES(), REGEXP_SUBSTR(), REGEXP_INSTR(), and REGEXP_REPLACE(). Regular functions

January 2023

Data Warehouse Edition

CategoryFeatureReferences
New featureStage and task details are provided for the SQL diagnostics feature of Data Warehouse Edition (V3.0). This helps you improve analysis efficiency of slow queries. Use stage and task details to analyze queries
The performance level of enhanced SSDs (ESSDs) can be changed for Data Warehouse Edition (V3.0).

Data Lakehouse Edition

CategoryFeatureReferences
New featureAnalyticDB for MySQL Data Lakehouse Edition (V3.0) is available. Batch processing is added based on the timeliness capability of Data Warehouse Edition (V3.0).

November 2022

Data Warehouse Edition

CategoryFeatureReferences
New featureAnalyticDB for MySQL Data Warehouse Edition (V3.0) is available in the Philippines (Manila) and Thailand (Bangkok) regions. Pricing for Data Warehouse Edition (V3.0)

August 2022

V3.1.5.0

CategoryFeatureDescriptionReferences
New featureEnhancement of DECIMAL data typeDecimal numbers can be converted to a higher precision, and variable-length decimal numbers are supported. This feature improves the I/O efficiency of DECIMAL data. None
Table-level throttlingThe writing rate of DML statements is limited for specific tables to ensure overall performance. By default, table-level throttling is disabled. None
Memory management on wide tablesThe memory management on wide tables is optimized to reduce the consumption of memory resources. None
JSON_UNQUOTE functionThis function can be used to unquote the value specified by json_value, escape specific characters in json_value, and then return the processing result. JSON_UNQUOTE
JSON_CONTAINS functionThis function can be used to determine whether a given candidate is contained within a JSON document or whether the candidate exists at a specified path within the JSON document. JSON_CONTAINS
JSON_CONTAINS_PATH functionThis function can be used to determine whether a specified path exists in the given JSON document. JSON_CONTAINS_PATH
ROWSTORE model of the real-time storage engineThe ROWSTORE model of the real-time storage engine is supported when you create AnalyticDB for MySQL tables. CREATE TABLE
Optimized feature
  • TopN operator: In scenarios where the ROW_NUMBER() function is used to sort data and the WHERE clause is used to implement semantics of TopN, a variety of measures such as sorting, condition pushdown, and pre-aggregation can be taken to reduce the amount of data involved in computing and transmission. The performance of TopN operators can be improved tenfold while memory consumption is reduced by 90%.
  • Window operator: General-use window functions are optimized to improve performance by three to seven times. Different algorithms are used based on different data features such as data aggregation degree and sequence ordering.
  • Partial Agg operator: Self-adaption capabilities of 2-phase aggregation are improved. Data features of data aggregation are dynamically collected during execution to determine whether pre-aggregation is required. The performance of aggregation operators can be improved by two to four times if no aggregation degree exists.
  • System logs: When the disk usage exceeds the threshold, logs can be automatically cleared.
None

March 2022

CategoryFeatureDescriptionReferences
New featureSchema optimizationThe schema optimization feature is supported to provide optimization suggestions of the hot and cold data optimization, index optimization, and distribution key optimization types based on intelligent statistic analysis. This feature can help reduce costs and improve efficiency for the use of AnalyticDB for MySQL clusters. Schema optimization

December 2021

V3.1.4.13 to V3.1.4.16
CategoryFeatureReferences
New featureTwo data replicas and one log replica are configured based on the Raft algorithm to ensure data reliability and reduce storage overheads. None
High availability is supported for the nameservice of Apsara File Storage for HDFS when data is exported to HDFS. Use external tables to export data from AnalyticDB for MySQL to Apsara File Storage for HDFS
Optimized feature
  • The lock granularity for CREATE VIEW is optimized to improve concurrency performance.
  • The upload speed of full backup files is increased during specification changes.
  • The index creation performance for complex data types is improved.
  • The memory management of background tasks is optimized.
None

September 2021

V3.1.4.12

CategoryFeatureReferences
Optimized featureThe performance of the hash join algorithm to create a hash table is improved. None

August 2021

V3.1.4.11

CategoryFeatureDescriptionReferences
New featureAPI operations related to cluster running reportsAPI operations can be called to query metrics in a cluster running report.
Optimized feature
  • The download speed of full data is increased.
  • Inappropriate index condition pushdown (ICP) is blocked. By default, 128 indexes are not pushed down. This configuration can be changed.
None

V3.1.4.10

CategoryFeatureDescriptionReferences
New featureO&M event managementThe database upgrade time can be viewed and adjusted in the AnalyticDB for MySQL console. Manage O&M events
Optimized feature
  • The TIME() function can be pushed down.
  • The table scan performance is improved.
  • Mutual exclusion and fair scheduling are supported for data import.
None

July 2021

V3.1.4.9

CategoryFeatureDescriptionReferences
New featureData import to and export from Apsara File Storage for HDFS by using external tablesExternal tables can be used to import Apsara File Storage for HDFS data to AnalyticDB for MySQL and export AnalyticDB for MySQL data to Apsara File Storage for HDFS. Use external tables to import data from Apsara File Storage for HDFS to AnalyticDB for MySQL

Use external tables to export data from AnalyticDB for MySQL to Apsara File Storage for HDFS

SQL diagnosticsThe details of SQL queries can be viewed and filtered based on categories such as the top 100 most time-consuming queries and queries that failed to be executed. Also, SQL queries can be optimized based on diagnostic results and optimization suggestions. Introduction to SQL diagnostics
End-to-end data managementAn end-to-end data management portal is added to the AnalyticDB for MySQL console. Data assets can be managed and jobs can be developed and scheduled by using Data Management (DMS). Manage data assets

Use DMS to perform job scheduling

Custom analyzers and dictionaries in full-text search scenarios Custom analyzers and dictionaries can be configured in full-text search scenarios. Analyzers for full-text indexes
Optimized feature
  • Connections to frontend nodes are optimized from single-threaded connections to multi-threaded connections. This improves write performance in a linear manner.
  • Performance is improved when the TRUNCATE TABLE statement is frequently executed.
  • By default, the REPLACE INTO statement is atomic to prevent sudden changes to data.
None

March 2021

V3.1.1.9 to V3.1.3.9

CategoryFeatureDescriptionReferences
New featureComputing resource grouping The resource pool feature is provided to isolate computing resources by group in clusters in elastic mode. Create a resource group
Tiered storage of hot and cold data Table data of clusters in elastic mode can be defined as hot or cold data. You can switch between hot and cold storage. Separation of hot and cold data storage
Cluster mode change Clusters can be changed from the reserved mode to the elastic mode. None
Compatibility with time formats in AnalyticDB for MySQL V2.0Time formats in AnalyticDB for MySQL V2.0 are supported. Example: 2020-08-03T23:59:59. None
Index creation or deletion for JSON fields by executing the ALTER TABLE statement Indexes for JSON fields can be disabled by executing the ALTER TABLE statement. ALTER TABLE
BINARY type The BINARY type is supported for the metadata of the protocol layer. None
Export of file headers during export from AnalyticDB for MySQL to a single OSS object File headers can be exported when you export data from AnalyticDB for MySQL to a single OSS object by using an external table. Use external tables to export data from AnalyticDB for MySQL to OSS
Maximum number of rows that can be generated in an object when you export data from AnalyticDB for MySQL to OSS by using an external table If the number of exported rows exceeds the maximum number, extra rows are exported to one or more new objects. You can specify both the maximum size and maximum number of rows in an object. Written data that first triggers the limit is exported to a new object. None
SQL plan module Execution plans of slow SQL queries can be viewed in the AnalyticDB for MySQL console. Query process and execution plan
INSERT INTO SELECT ON DUPLICATE KEY UPDATE This query is supported when the input values in the UPDATE column are constants or when the input values in the UPDATE column are those in the SELECT column. None
File format of OSS external tables The ORC format is supported for OSS external tables. None
Priority of the BATCH LOAD statement Hints can be used to specify the priority of the BATCH LOAD statement. None
Optimized feature Performance of the LIMIT n statement Performance is improved when you use the pushdown logic of the LIMIT n statement to filter data. None
Compatibility The table creation statement is compatible with the BOOLEAN type. None
Database naming conventions Database names can start with an uppercase letter or an underscore (_). None

July 2020

V3.1.1.6

CategoryFeatureDescriptionReferences
New featureTimestamp and Datetime columnsWhen the MODIFY COLUMN statement is executed to modify a Timestamp or Datetime column, the ON UPDATE CURRENT_TIMESTAMP clause is supported. None
Table and column naming conventionsTable and column names support Chinese characters. None
Requirements for creating an OSS external tableThe following requirements must be met when you create an OSS external table:
  • The partition key columns must be specified at the end of the field list. Otherwise, the table cannot be created.
  • The first row in an OSS object can be set as a file header. The system skips the first row when the system reads data from the object.
Use external tables to import data from OSS to AnalyticDB for MySQL
CREATE TABLE AS SELECTThe CREATE TABLE AS SELECT statement can be executed to create a table. CREATE TABLE AS SELECT (CTAS)
Optimized featureFields of the BOOLEAN typeThe default values for the fields of the BOOLEAN type can be 0 or 1. None
SHOW DATABASESThe permissions to list databases can be granted when the SHOW DATABASES statement is executed. None

April 2020

V3.0.9.6

The following database software upgrades are performed for users of AnalyticDB for MySQL Basic Edition to improve service quality.

CategoryFeatureDescriptionReferences
New featureGeometry functionsGeometry functions are supported. Operation functions
JSON_EXTRACT functionThe JSON_EXTRACT function is supported. JSON _EXTRACT
INSERT INTO VALUES(FROM_UNIXTIME(...))The INSERT INTO VALUES(FROM_UNIXTIME(...)) statement is supported. None
Nested-loop join (NLJ)NLJ is supported for data join. None
Power BI connectionPower BI can be connected to the protocol layer. None
Database naming conventionsHyphens (-) can be included in database names.
Note Hyphens (-) must be enclosed in backticks (``).
None
Optimized featureZero datesZero dates (0000-00-00) are converted to NULL. None
DIV function of the DECIMAL typeThe DIV function of the DECIMAL type is supported as in MySQL. DIV
CAST function of the JSON typeThe CAST function is supported for JSON data as in MySQL and Apache Hive. JSON
Slow query logging thresholdThe slow query logging threshold is set to 1 second. None

March 2020

V3.0.9

CategoryFeatureDescriptionReferences
New featureJSON data types and related JSON functionsComplex JSON data types and related JSON functions are supported.
SELECT NOW()The SELECT NOW() statement is supported. None
Optimized featureMaximum number of tablesThe maximum number of tables that can be created in a Cluster Edition cluster of the minimum specifications is increased from 512 to 800. The minimum specifications indicate that the Cluster Edition cluster has only two node groups. None
Compatibility with DDL statementsCompatibility with DDL statements in AnalyticDB for MySQL V2.0 is improved to enable smooth data migration to AnalyticDB for MySQL V3.0 clusters. Your business is not affected during data migration. None
Compatibility with business intelligence (BI) toolsAnalyticDB for MySQL V3.0 improves compatibility with BI tools and is fully compatible with Power BI. Power BI

February 2020

V3.0.8

CategoryFeatureDescriptionReferences
New featureMariaDB JDBC ConnectorMariaDB Connector/J is supported. None
Specifications applicable to Cluster EditionThe storage-intensive specification S8 is added for AnalyticDB for MySQL Cluster Edition clusters. S8 is ideal for scenarios that do not require high concurrency and performance. None
Flexible purchase of clustersNode groups can be purchased and scaled out in pairs. This allows you to purchase clusters on demand and reduces costs. None
Availability in Alibaba Finance CloudAnalyticDB for MySQL is available in the China East 1 Finance, China East 2 Finance, and China South 1 Finance regions of Alibaba Finance Cloud. None
Availability on the International site (alibabacloud.com)AnalyticDB for MySQL is available in the China (Hong Kong), Indonesia (Jakarta), Malaysia (Kuala Lumpur), India (Mumbai), and Australia (Sydney) regions. None
Optimized featureTime typesThe TIMESTAMP and DATETIME data types are compatible with the NO_ZERO_DATE mode of MySQL SQL_MODE. None

December 2019

V3.0.7

CategoryFeatureDescriptionReferences
New featureSpecification C24The compute-intensive specification C24 is added for AnalyticDB for MySQL clusters. C24 is ideal for scenarios that require sophisticated computing capabilities. None
Configuration upgradeCluster specifications can be upgraded. You can perform switchovers between two of the following specifications within seconds: C8, C4, and C24. None
Monitoring and alertingThe monitoring and alerting feature is supported. You can use CloudMonitor to set thresholds for all metrics. An alert is triggered when a threshold is reached. Set an alert rule
Query terminationThe query termination feature is supported. You can view and terminate running queries in real time in the AnalyticDB for MySQL console. None
Synchronization from PolarDB-X 1.0 to AnalyticDB for MySQLData Transmission Service (DTS) can be used to synchronize data from PolarDB-X 1.0 to AnalyticDB for MySQL in real time for data analytics. None
Availability on the International site (alibabacloud.com)AnalyticDB for MySQL is released for international use. This service is available in the Singapore and Japan (Tokyo) regions. None
Optimized featureView creationWindow functions can be used to create views. None
Use scenarios of CTEsCTEs can be used in the INSERT SELECT FROM clause. INSERT SELECT FROM

September 2019

V3.0.6

CategoryFeatureDescriptionReferences
New featureSpecification C4The specification C4 is added to simplify the use of AnalyticDB for MySQL. We recommend that you use this specification in learning. None
COLLECT_SET functionThe COLLECT_SET function is supported. None
Optimized featureCreation and scale-out time for clustersThe amount of time spent on creating and scaling out clusters is shortened to reduce costs. None

August 2019

V3.0.5

CategoryFeatureDescriptionReferences
New featureDefault column valueThe default value of a column can be set to the current time. Example: gmt_create datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP. None
Oracle GoldenGate (OGG)OGG is supported in AnalyticDB for MySQL to enhance data synchronization from Oracle to AnalyticDB for MySQL. None
Disk resizingFlexible disk resizing is supported. This allows you to resize disks on demand and reduces costs. None
Availability in Alibaba Finance CloudAnalyticDB for MySQL is available in Alibaba Finance Cloud. None
Virtual e-commerce logistics platforms and CloudTmallAnalyticDB for MySQL is available in virtual e-commerce logistics platforms and CloudTmall. None
Optimized featureError message returned for modifying non-auto-increment keysThe error message that is returned when you change non-auto-increment keys to auto-increment keys is optimized to facilitate your understanding. None

July 2019

V3.0.4

CategoryFeatureDescriptionReferences
New featureBackupThe incremental backup and restoration features are supported. You can restore data from backup sets to a point in time to maximize data restorability. None
LOAD DATAThe LOAD DATA LOCAL INFILE statement is supported. LOAD DATA LOCAL INFILE
Flexible purchase of servicesNode groups can be purchased in pairs. For example, you can set Node Groups to 2, 4, 6, or 8 on the AnalyticDB for MySQL buy page. None
Data types and important functionsNew data types and some important functions are supported. None
Optimized featureCompatibilityAnalyticDB for MySQL is fully compatible with Navicat, FineReport, and FineBI, and its compatibility with Sequel Pro is greatly improved. None