All Products
Search
Document Center

PolarDB:PolarDB for MySQL 8.0.2 release notes

Last Updated:Sep 10, 2026

This topic describes the release notes for PolarDB for MySQL 8.0.2.

2026

8.0.2.2.37(2026.09.02)

New features

Description

  • Added database- and table-level Branch/FORK capability. You can use SQL statements to create writable branches from existing tables or databases within seconds without copying user data. Branches read a consistent snapshot of the source table at creation time and use page-level Copy-on-Write isolation, so writes do not affect the source table.

  • Added parallel archiving for partitioned tables. You can concurrently archive partitions that use the InnoDB engine as X-Engine, ORC, or CSV storage engine partitions in hybrid partitioned tables, or use part2table to concurrently archive InnoDB partitions as OSS tables. Multi-threaded archiving improves performance when an individual partition contains a large data volume.

  • Added support for parallel partition archiving: InnoDB engine partitions can be archived in parallel to X-Engine, ORC, or CSV engine partitions, forming a hybrid partitioned table. The part2table command is also supported to archive InnoDB partitions in parallel to OSS tables. Parallel archiving uses multiple threads simultaneously, significantly improving speed for partitions with large data volumes.

  • Added support for defining secondary indexes on materialized views, and for recovering, importing, and exporting materialized view refreshes.

  • Added Multi-master cluster (Limitless) transparent distributed SELECT ... LOCK IN SHARE MODE distributed query capability, and ensuring SHARE row lock transaction lifecycle semantics.

  • Added BM25 scoring, phrase queries, combined queries, and synonym support for In-Memory Column Index (IMCI) full-text indexes.

  • Added multi-worker parallel execution for distributed DML and DQL on every read-write node in Multi-master cluster (Limitless) Edition. Set max_parallel_degree in the session to enable this capability.

  • X-Engine column storing partitioned table support LOAD DATA bypass import (direct load), each partition independently builds columnar data and two-phase unified commit, import failure zero residue; Previously partitioned table could only using regular import path.

  • Multi-master cluster distributed DML, DQL support multiple worker parallel, each read/write node (RW) all support, significantly improving execution speed. need in the session specifying max_parallel_degree take effect.

  • Added cross-node query-result transfer optimization and improved connection stability in exceptional scenarios.

  • Added binlog cache support for read-only nodes, reducing IOPS overhead from concurrent binlog reads.

  • Added support for Online Copy PARALLEL DDL: InnoDB tables can be converted online to X-Engine tables using the ALTER TABLE ... ENGINE=xengine statement, with concurrent DML access allowed during conversion without service interruption. ALTER TABLE ... ENGINE=orc/csv also supports parallel COPY DDL.

  • Added an X-Engine parameter that controls whether the default database character set collation is used.

  • Added GDN multi-write test cases for In-Memory Column Index (IMCI) functionality.

  • X-Engine partitioned tables now support partition-level conversion from row store format to columnar format. Syntax: ALTER TABLE table_name CHANGE PARTITION partition_name ENGINE=xengine DATA_FORMAT=column;.

  • Added IBD OSS support for partitioned tables, enabling hybrid partitions and expanding OSS support.

  • Added flush status support to the hot rows optimization feature, allowing incremental changes to performance statistics to be observed during testing.

  • The hot row optimization feature (hotspot) now supports FLUSH STATUS to refresh statistics, making it convenient to observe incremental changes during testing.

  • Added innodb_polar_max_delay_time_in_second parameter, support primary node based on redo apply latency threshold proactively evict physical read-only node.

  • PolarDB Orca support Redis protocol monitor command, returns Orca processing all command.

  • Added Redis-protocol MONITOR command support to PolarDB Orca, which returns all commands processed by Orca.

Feature improvements

Description

  • Optimized memory-allocation strategies for X-Engine, CTable, and In-Memory Column Index (IMCI) across different operating modes and high-availability failover scenarios.

  • Optimized materialized view incremental refresh, ignoring not affecting materialized view results base table UPDATE, avoiding invalid JOIN computation and container table writes.

  • Optimized In-Memory Column Index (IMCI) deep paging queries by adding the QuickSelect TopK execution mode to replace full sorting and reduce sorting overhead for large offsets and multi-row scenarios.

  • Optimized information_schema.INNODB_LOG_INFO memory usage, avoiding in redo log accumulation in scenarios where occurring additional overhead.

  • Optimized binlog file switching time and binlog I/O efficiency, preventing transaction commits from being blocked when many binlog files exist.

  • Optimized the distributed memory pool and added related parameters and monitoring metrics.

Bug fixes

Description

  • Fixed Multi-master cluster remote_exec_cmd in prepared statement during repeated execution, could cause server process crash.

  • Fixed materialized view MATERIALIZED OPTIONS in engine=xengine in X-Engine unavailable when was not validated, causing background refresh to crash.

  • Fixed an issue where get_status directly wrote to serverless.info during Serverless Multi-master cluster forward meta operations, causing file I/O on non-read/write nodes and potentially crashing the cluster.

  • Fixed an issue where the prepared statement path did not support runtime fallback for adaptive ordering, causing ORDER BY LIMIT queries to select an incorrect sort index and become slow queries.

  • Fixed an issue where the prepared statement path did not support adaptive ordering runtime fallback, causing ORDER BY LIMIT queries to select an incorrect sort index and become slow queries.

  • Fixed a potential server-process crash when remote_exec_cmd was repeatedly executed through prepared statements in multi-master clusters.

  • Fixed an issue where JSON_ARRAYAGG could incorrectly propagate a valid NULL state during rematerialization of LATERAL derived tables, causing TempTable to reuse stale JSON BLOB pointers and crash.

  • Fixed an issue where JSON_ARRAYAGG could incorrectly propagate a valid NULL state during rematerialization of LATERAL derived tables, causing TempTable to reuse stale JSON BLOB pointers and crash.

  • Fixed X-Engine CTable parallel bypass import (direct load) in, handler re- using stale GlobalCtx causing LOAD DATA retry when cluster crash.

  • Fixed an issue where the first refresh of an incremental materialized view encountered a last_commit_lsn exception, causing data inconsistency in subsequent incremental refreshes.

  • Fixed an issue where stale TABLE cache state persisted after index_merge on partitioned tables, causing secondary index queries to intermittently return empty results.

  • Fixed an issue where column statistics could not be persisted or loaded correctly when database or table names contained special characters or tables contained unsupported column types such as JSON.

  • Fixed transparent distributed table in with LIMIT single partition UPDATE due to JSON type conversion, unable to through SQL forwarding execution issue.

  • Fixed an issue where JPP keypart markers in LATERAL derived-table scenarios could be overwritten by later non-JPP keyparts, causing ordered-index optimization to switch to indexes without valid keyparts and potentially trigger assertions or InnoDB crashes.

  • Fixed an issue where JPP keypart markers in LATERAL derived table scenarios could be overwritten by subsequent non-JPP keyparts, causing ordered-index optimization to switch to indexes without valid keyparts and potentially trigger assertions or InnoDB crashes.

  • Fixed an issue where a Local RO node in the primary cluster of a multi-master deployment could not register when switching to read-write because the original read-write node had not completed asynchronous offlining in CC.

  • Fixed an issue where X-Engine partitioned tables were still assigned an implicit primary key (IPK), causing LOAD DATA bypass import (direct load) to be rejected due to secondary indexes, and resulting in inconsistency with non-partitioned table behavior.

  • Fixed an issue where a read-write node holding an internal global lock could cause read-only replay failures.

  • Fixed a potential instance crash if a table was deleted while In-Memory Column Index (IMCI) statistics were being collected.

  • Fixed stored procedure within PREPARE/EXECUTE dynamic SQL audit log in, scanned rows displaying as entire call process cumulative value, while non- the statement actual scanned rows issue.

  • Fixed an issue where audit logs for dynamic SQL executed with PREPARE and EXECUTE in stored procedures showed the cumulative scanned-row count for the entire procedure rather than the actual count for each statement.

  • Fixed a use-after-free issue caused by concurrent access to Security_context from PROCESSLIST_VERBOSE and COM_CHANGE_USER.

  • Fixed an infinite loop in rowbuf swapping when IMCI shutdown occurred after sort compaction had preallocated but not processed rowid values.

  • Fixed column storing table in write not containing NULL value data when marker improper handling, in specific in scenarios where could cause columnar data incorrect issue.

  • Fixed an issue where X-Engine parallel LOAD DATA from OSS wildcard file paths did not push down literal prefixes, causing large directories to undergo full paginated scanning and imports to stall at the file enumeration stage. Also ensured that OSS file list errors are properly returned to the upper layer.

  • Fixed an issue where X-Engine parallel LOAD DATA did not push down literal prefixes for OSS wildcard paths, causing full paginated scans of large directories and long stalls during file enumeration. OSS file-list errors are now returned to the upper layer.

  • Fixed a use-after-free issue caused by concurrent access to Security_context from PROCESSLIST_VERBOSE and COM_CHANGE_USER.

  • Fixed incorrect results that could occur in some derived-table queries after column pruning was enabled.

  • Fixed an issue where incorrect marker handling during writes without NULL values could cause incorrect columnar data in specific scenarios.

  • Fixed a memory leak that could occur when a multi-master cluster shut down with idle-space statistics enabled.

  • Fixed an issue where global log merging could stall during multi-threaded parallel DDL operations (such as OPTIMIZE) in multi-master clusters.

  • Fixed an issue where using parameter placeholders (?) in ORDER BY/GROUP BY within prepared statements could cause a server crash. The digest is now properly truncated instead of triggering a crash in this scenario.

  • Fixed a syntax error caused by a conflict between WITH CHECK OPTION and archived table queries when creating views, and added compatibility for ARCHIVED as a CTE name.

  • Fixed a crash caused by repeated pre-processing of window-function views.

  • Fixed creating view when WITH CHECK OPTION and archived table query syntax conflict causing syntax error, and compatible with ARCHIVED as CTE name.

  • Fixed bitmap-access errors for DATE and TIMESTAMP IS NULL and IS NOT NULL predicates in parallel In-Memory Column Index (IMCI) CTable execution.

  • Fixed an issue where InnoDB FTS ngram phrase queries with LIMIT could miss matching results.

  • Fixed an issue where queries containing both ROLLUP and window functions could not be executed by IMCI.

  • Fixed process crashes that could occur when CTEs with multiple references ran in parallel.

  • Fixed IMCI CTable DATE/TIMESTAMP IS NULL/IS NOT NULL in parallel execution in scenarios where bitmap access error.

  • Fixed IMCI CTable TIMESTAMP in non- UTC session under ORC trimming and cross- session cache time zone error.

  • Fixed an issue where incomplete IMCI split redo writes prevented checkpoint_lsn from advancing.

  • Fixed an issue where XA transaction XID containing null bytes could be misidentified as identical to a different transaction during crash recovery, causing recovery failure and preventing the cluster from starting.

  • Fixed potential node crashes when subqueries in parallel query execution triggered dynamic range optimization.

  • Fixed an issue where incremental materialized view primary-key map entries were not restored on savepoint rollback, preventing NCI find_key failures and stale materialized view rows after repeated update or delete chains for the same primary key.

  • Fixed an issue where MDL locks could not be acquired during the DD SCAN phase, leaving columnstore index data unrecoverable after an error.

  • Fixed savepoint rollback when incremental materialized view primary key mapping (IVM pkey map) entry not recovery issue, avoiding repeated execution identical primary key UPDATE/DELETE chain after occurring NCI find_key failure and materialized view data stale issue.

  • Fixed com_change_user and show processlist/is.processlist query concurrent situation under causing cluster crash.

  • Fixed an issue where X-Engine COLUMN large table CHECK TABLE could not exit promptly when a parallel scan was interrupted.

  • Fixed an issue where cleaning up cache with multiple versions of TABLE_SHARE during partition MDL operations could crash the cluster.

  • Fixed an issue where Hybrid Plan could reuse expired In-Memory Column Index (IMCI) read sequences when shared read views were reused, causing result-visibility anomalies after extra read-view references were closed. Regression tests now cover CSN compatibility, read-view lifecycle, and fallback validation in MPP and Replica scenarios.

  • Fixed an issue where extended statistics incorrectly triggered multi-master partition statistics loading and broadcasting in distributed single-table scenarios.

  • Fixed an issue where Hybrid Plan could fail to read data from certain read views in extreme scenarios.

8.0.2.2.36.4(2026.08.16)& 8.0.2.2.36.3(2026.08.05)

Bug fixes

Description

  • Fixed a potential deadlock between the X-Engine background statistics thread and foreground DDL operations.

  • Fixed an issue where In-Memory Column Index (IMCI) improperly handled markers when writing data without NULL values, which could cause columnar data to be incorrect in specific scenarios.

8.0.2.2.36.1(2026.07.22)

New features

Description

  • Added incremental refresh capability for single-table MIN/MAX/STDDEV/VARIANCE and multi-table aggregation queries in incremental materialized views.

Bug fixes

Description

  • Fixed an issue where secondary index phantom entries could remain after deleting rows by primary key from X-Engine column store tables.

  • Fixed an issue when enabling innodb_stats_persistent after, mp_ddl exception issue.

  • Fixed an issue where the background statistics collection thread did not trigger memory reclamation under specific scenarios.

8.0.2.2.36(2026.07.15)

New features

Description

  • Added Materialized viewBinlog subscription capability, support under cursor data synchronizing consumption materialized view changing more data.

  • Incremental materialized view refresh now supports Hybrid Plan, improving execution efficiency for multi-table inner join scenarios where small incremental changes drive large base table joins.

  • X-Engine now supports Geo-Distributed Network (GDN), enabling writes in one region and reads from multiple nearby nodes.

  • Added X-Engine partitioned table support TRUNCATE PARTITION operation, hybrid partitions table scenarios also Added support for X-Engine partition execution TRUNCATE operation.

  • Added support for distributed single-table multi-master routing, cache invalidation, redistribution, and ePQ.

  • Extended column statistics support for more accurate cost estimation, with statistics broadcasting capability so that statistics for all partitions are globally visible.

  • In-Memory Column Index (IMCI) Added QuickSelect computation sub-, through O(n) fast selecting algorithm high efficiency support percentile query, avoiding full volume sorting overhead.

  • In-Memory Column Index (IMCI) storage default enabling partial component dictionary encoding, Added support for partial component dictionary encoding string performing query rewriting and query Optimized.

  • Added support for hybrid partitions table (InnoDB/X-Engine/ORC/CSV) Inplace DDL in line creating, deleting, RENAME secondary index, and CHANGE INDEX OPTION, ALTER INDEX COMMENT operation.

  • AutoETL support view / pipeline source updating (Inplace-Update), multiple cluster synchronizing authorization, custom ETL parameter and global metadata synchronizing.

  • AutoETL now supports inplace updates for views/links, multi-instance synchronization authorization, custom ETL parameters, and global metadata synchronization.

  • Built-in model inference capability is included in the cluster specification fee at no additional cost.

  • Added Multi-master cluster broadcast table feature, through BROADCAST keyword creating broadcast table, would table data replication to each DN node, eliminating cross- database JOIN network overhead.

  • DLM automatic archiving strategy Added support for RANGE COLUMNS + HASHsub-partition table automatic archiving, support archiving target engine including X-Engine row storing, X-Engine column storing, CSV and ORC.

  • Orca feature support Redis Stream data structure and related command.

  • TTL feature Added support for Binlog, using at under cursor database data synchronizing, ensuring data consistent.

  • Added Orca feature for Redis Geospatial Indices data type related command support.

  • Local RO now supports IMCI capability. The primary parameter configuration is as follows, with the remaining parameters following the standard Local RO and multi-master IMCI node settings.

    • imci_share_storage_lsn (ON): IMCI node between whether using LSN dimension holding MPP reading consistent.

    • imci_share_storage_data (OFF): Whether IMCI nodes share columnar data.

    • polar_enable_imci (ON): whether using IMCI feature.

    • use_imci_engine (ON): whether using IMCI engine.

    • imci_enable_checkpoint (ON): whether enabling IMCI Checkpoint.

    • polar_enable_imci_with_mm (ON): Multi-master cluster under whether can using IMCI.

    • mm_is_local_replica (ON): Whether the node is a Local RO node in a multi-master cluster.

Feature improvements

Description

  • Improved asynchronous execution to enhance write performance in high-concurrency scenarios with binlog enabled.

  • Optimized In-Memory Column Index (IMCI)full-text index in scenarios where JSON_OVERLAP function query, Optimized can sufficient advantage using index information precision correct estimation base number.

  • When controlling total temporary table disk usage, users with SUPER privileges are excluded.

  • Optimized Binlog table_map_event in no longer record Functional Index producing Hidden column, avoiding Canal not compatible with issue.

  • Temporary table total disk usage control now excludes users with SUPER privilege.

Bug fixes

Description

  • Fixed an issue where the ANY_VALUE function on string columns could incorrectly return NULL when executing GROUP BY on tables with high NDV.

  • Fixed a crash in multi-master partitioned tables caused by write_result being invoked before close_thread_tables during concurrent DML and DDL operations.

  • Fixed an issue where extended statistics incorrectly triggered multi-master partition statistics loading and broadcasting in distributed single-table scenarios.

  • Fixed an instance crash caused by write_result being called before close_thread_tables during concurrent DML and DDL on multi-master partitioned tables.

  • Fixed table converting partition WITHOUT VALIDATION syntax in source single table existing INSTANT ADD/DROP/MODIFY COLUMN when validation failure.

  • Fixed an issue where parallel queries with LIMIT/OFFSET could return incorrect results.

  • Fixed an issue where the REGEXP function with binary charset in combined window function derived table evaluation could crash.

  • Fixed a crash caused by concurrent access to stale page_hash objects during InnoDB buffer pool online resize.

  • Fixed a rare crash when adding partitions to tables with GSI while partition MDL locks are enabled.

  • Fixed a crash caused by incompatible exec status deserialization formats when multiple versions of parallel query (PQ) coexisted.

  • Fixed incorrect execution plan selection for X-Engine large table RANGE queries due to significant index dive estimation deviation.

  • Fixed an issue where DROP DATABASE released locks on replica nodes prematurely, allowing user SQL to access deleted files and crash.

  • Fixed a crash where condition pushdown join-equal temporary constructs were incorrectly persisted during repeated prepared statement execution.

  • Fixed ALTER TABLE re- setting base table ivm_delta_mv_* DD metadata issue. currently only has in ADD ORDER KEY or ADD INDEX DDL during execution, would retaining ivm_delta_mv_* DD metadata, other DDL would re- setting modifying metadata.

  • Fixed InnoDB Buffer Pool in line Resize when page_hash old for object was concurrent access causing crash.

  • Fixed vector index in table or In-Memory Column Index (IMCI) was deleting after residue after Dump task issue.

  • Fixed DLM archiving task in Release in mode archiving failure when Progress state not correct updating as ARCHIVE_ERROR issue.

  • Fixed an issue where X-Engine large table RANGE queries with significant Index Dive deviation could select an incorrect execution plan.

  • Fixed a deadlock that could occur between multiple threads within B-Tree operations when parallel queries are enabled on the primary node.

  • Fixed JOIN eliminating in traversing Item_cond column table existing NULL Item crash-triggering issue.

  • Fixed row-column inconsistency in columnar queries caused by IMCI RowBuf multi-column prefetch generating incomplete pack caches under memory pressure.

  • Fixed abnormal result ordering when TempTable sort index incorrectly skipped filesort.

  • Fixed an issue where UNION views with constant columns in JOIN scenarios returned incorrect results from Derived Condition Pushdown.

  • Fixed an issue where ANALYZE TABLE on full-columnar partitioned tables missed statistics collection for pruned partitions.

  • Fixed an issue where TempTable sort indexes could incorrectly skip filesort, causing abnormal result ordering.

  • Fixed an issue where dbms_oss.delete_table_file did not invalidate the OSS global table list cache after deleting a partition or table file, causing dbms_oss.list_table() to still display the deleted partition.

  • Fixed an issue where queries using UNION or UNION ALL with GROUP BY could fail when subqueries returned constant strings.

  • Fixed a potential deadlock between multiple threads in B-Tree when parallel query was enabled on the primary node.

  • Fixed an issue where shared read views in Hybrid Plan scenarios could use expired IMCI read sequences, causing result visibility anomalies.

  • Fixed an issue where repeated invocation of stored procedures could cause a process crash due to incorrect reuse of SQL Hint (such as SET_VAR) related memory.

  • Fixed an issue where IMCI statistics persistence timestamp comparison failed across multiple columnar nodes.

  • Fixed an issue where after fast conversion of a regular table to a partitioned table (WITHOUT VALIDATION), only the first partition retained the In-Memory Column Index (IMCI) while the remaining partitions lost it.

  • Fixed an issue where Window Functions could not use IMCI for execution in certain scenarios, and GROUP BY pushdown could prevent queries from being executed in IMCI.

  • Fixed an issue where statistics collection missed pruned partitions when executing ANALYZE TABLE on fully columnar partitioned tables.

  • Fixed Online DDL failure when tables contain virtual column indexes.

  • Fixed a rare instance exception caused by MDL release timing issues between background worker and foreground leader threads during DLM automatic archiving.

  • Fixed an issue where the DLM archiving task progress status was not correctly updated to ARCHIVE_ERROR upon archiving failure in Release mode.

  • Fixed a potential memory leak in LRU_RB_BLOCK during IMCI RowBuf cache insertion failure.

  • Fixed an issue where converting a regular table to a partitioned table (WITHOUT VALIDATION) with columnar indexes resulted in only the first partition retaining the columnar index while others lost it.

  • Fixed a potential primary node lockup during X-Engine columnar table writes.

  • Fixed validation failure in table-to-partition conversion with WITHOUT VALIDATION when the source table has INSTANT ADD/DROP/MODIFY COLUMN history.

  • Fixed a crash when executing ST_Buffer on a POINT with an extremely small distance in geographic coordinate systems (SRID 4326).

  • Fixed a crash caused by dirty writes in IMCI RowBuf metadata compaction due to incorrect handling of page size overflow paths.

  • Fixed an instance exception when executing DLM automatic archiving on partitioned tables with virtual columns.

  • Fixed an issue where Geographic sitting standard system (SRID 4326) under for POINT execution ST_Buffer transmitting entering extreme small distance when could cause a crash.

8.0.2.2.35.1(2026.06.28)

New features

Description

  • Added built-in model free inference capability, support model in in-database direct inference, no token consumption, no additional charges.

Bug fixes

Description

  • Fixed an issue where, for INTERVAL partitioned tables, specifying ROW_FORMAT=COMPRESSED without explicitly setting KEY_BLOCK_SIZE caused the ROW_FORMAT attribute to be lost.

8.0.2.2.35(2026.06.03)

New features

Description

  • Added materialized view Parallel refresh capability.

  • Added Incremental materialized views feature, in full volume materialized view base foundation on evolution advancing, improving refresh performance.

  • The new database and table restore workflow enables fast full data queries that complete in minutes, regardless of the amount of data being restored.

  • Added support for asynchronous cleaning up DROP/TRUNCATE PARTITION residue expired Global Secondary Indexes (GSIs) data feature.

  • Added GDN multiple writing edition, providing table level alias full global multiple point write capability.

  • Added ask_polar expression support column storing plan capability.

  • Added an independent concurrency control module for vector search queries, decoupled from In-Memory Column Index (IMCI) query concurrency control.

  • Upgraded vsag to the official 0.16 branch version. Added parallel structure building for the HNSW algorithm and support for creating indexes based on the hgraph algorithm.

  • Added support for IVF and IVF PQ vector index types in vector search.

Feature improvements

Description

  • Optimized What is In-Memory Column Index (IMCI) Hash Join performance, through would Join in between results converting ization as row format storage, reducing data materialized with to performance overhead.

  • Optimized the X-Engine storage engine by removing unnecessary implicit primary keys (Implicit PKs) to simplify the data update logic and in-memory data structures in the storage layer.

  • Optimized the table cache invalidation strategy during ADD/DROP PARTITION operations on partitioned tables to reduce the impact on queries.

  • Optimized the concurrent computation logic for vector index builds, allowing more threads to be used to accelerate index creation.

  • Fixed inaccurate adaptive rate limiting for DDL bulk load and improved the adaptive rate-limiting algorithm.

Bug fixes

Description

  • Fixed a crash that could occur during an incremental refresh of a materialized view on a hybrid partitioned table when reading partition metadata.

  • Fixed an issue where ONLINE DDL failed when the table contained a virtual column index.

  • Fixed an issue in the community edition of MySQL where purging binary logs at startup could result in an incorrect Previous_gtid for the global transaction identifier (GTID).

  • Fixed an issue where INSERT ON DUPLICATE KEY UPDATE could update the wrong row during concurrent inserts from multiple sessions into a table with an auto-increment column.

  • Fixed an issue where a columnar query using Hybrid Index Search with a LIMIT clause could fall back to row-store execution if the LIMIT OFFSET value was too large.

  • Fixed various incompatibility issues on multi-primary nodes when Parallel Parse is enabled.

  • Fixed a potential memory leak in VSAG-based HNSW and DiskANN indexes within the vector index of a columnar index (IMCI).

  • Fixed What is In-Memory Column Index (IMCI) mixed combined execution plan (Hybrid Plan) could cause reading view (Read View) reclaiming when cluster crash.

  • Fixed a memory leak of approximately 626 KB that was caused by the buffer pool not being released in the initialization abort path when an InnoDB HA failover failed to start.

  • Fixed a memory out-of-bounds access issue caused by concurrent access between rollback segment (Rsegs) lock objects and the Redo log replay thread during InnoDB HA failovers, and a memory leak in the error branch for large records (big_rec) in the clustered index insertion path.

  • Fixed a memory leak in the sql_sharing and sql_sharing_proc modules of SQL Plan Management (SPM) where internal buffers of string objects were not properly released.

  • Fixed a use-after-free issue in the X-Engine storage engine that could occur if a background space reclamation task ran concurrently with a database instance shutdown.

  • Fixed an invalid memory free operation and an indirect memory leak in InnoDB caused by the LatchCounter incorrectly releasing an embedded counter object upon destruction.

  • Fixed a minor memory leak that occurred with every request in the ask_polar module because the request header linked list was not properly released after an HTTP request completed.

  • Fixed a use-after-free issue where the performance monitoring module (performance_schema) could access a stale pointer to a session thread (THD) during a concurrent scan after the thread had already released its resources.

  • Fixed multiple memory leaks in the extended statistics (polar_extend_stats) module. The issues were caused by improperly destroyed sampled cache data, a value-tuple buffer detached from memory management, and missing ownership in a filter-effect clone container.

  • Fixed a memory out-of-bounds access issue during instance shutdown. The issue occurred when a redo log synchronization thread accessed a freed resource because a synchronization object was destroyed during binlog cleanup before the thread had completely exited.

  • Fixed a stack overflow in the X-Engine storage engine. The issue occurred when a DDL operation on a partitioned table generated a full table name that exceeded the system's maximum length and was written to a fixed-size buffer.

  • Fixed an instance crash that occurred during a parallel refresh of a full refresh for materialized view in specific semijoin query scenarios.

  • Fixed a memory out-of-bounds access issue that occurred when a Prepared Statement was recompiled, and a table name pointer in a query hint still pointed to a freed memory area.

  • Fixed an issue when executing LOAD DATA statement due to toward NOT NULL column import NULL value while error after, when before session field validation state not was correct re- setting, causing same one session in subsequent valid INSERT statement also mistake reporting Column cannot be null error. re- new building establishing connection can temporary when bypassing.

  • Fixed an issue where prepared statements (Prepared Statement) during execution transmitting entering non- method day period when between value, in generating warning information when occurring out-of-bounds write, triggering buffer overflow and cluster crash.

  • Fixed an issue where parallel queries could cause a system crash when ORDER BY referenced a constant alias expression.

  • Fixed a crash caused by incomplete copying of an internal data structure when the query optimizer pulled up a subquery (merged it into the outer query). Also fixed an issue where the table cache pointer was null or invalid.

  • Fixed an issue where a columnar index became invalid and unusable after a DDL operation that simultaneously added both a columnar index and a regular secondary index to a partitioned table.

  • Fixed single table fast converting partitioned table and other PolarDB special has ALTER syntax and DMS comment compatible with issue, thereby resolving PolarDB to PolarDB DTS transmitting transport issue.

  • Fixed a dangling pointer access issue caused by the PlanHintsStatement not being reset when a Prepared Statement was recompiled.

  • Fixed an incorrect string escaping issue that could occur when PolarDB AutoETL created a search view containing an ETL_UDF.

  • Fixed a memory issue that could occur on a read-only node (RO) when flushing the cache if the extended statistics feature was enabled.

  • Fixed cluster version upgrade process in, system table mysql.ttl_job_history scan_cost, purge_cost, purge_rows field type not compatible with causing data write failure.

  • Fixed an issue where the table row lock wait time for the X-Engine storage engine was not included in the lock wait statistics of the slow query log.

  • Fixed an issue where the log allocator (log_allocater) was not released in time on Standby HA nodes running as Replica, which could cause memory anomalies.

  • Fixed an issue where threshold calculation was incorrect when processing multi-column (Row Expr) IN list statements converted to semijoin.

  • Fixed an issue where the query cache triggered InnoDB strong consistent read waits prematurely, causing In-Memory Column Index (IMCI) read-only node replication delay timeouts.

  • Fixed a data anomaly caused by a lost Header Page Apply when Transparent Data Encryption (TDE) was used on a read-only node (RO) or a standby node.

  • Fixed an issue where the Thread Pool and Connection Control plugins were started simultaneously on new nodes due to incorrect parameter configuration. A conflict check will now be automatically performed at startup.

  • Fixed a buffer overflow and instance crash that could occur when querying a partitioned table using a secondary index on an integer field, if the first InnoDB partition of the table was a Partition Partial Index.

  • Fixed a crash in the community edition of MySQL caused by an exception when updating a spatial index that is a secondary index.

  • Fixed Orca feature DUMP command results not was low version (<7.4.0) Redis identifying alias issue.

  • Fixed What is In-Memory Column Index (IMCI) vector index after dump task in table deleting or index deleting after unable to and when final stopping issue.

8.0.2.2.34.3(2026.06.30)

New features

Description

  • Added built-in model free inference capability, support model in in-database direct inference, no token consumption, no additional charges.

8.0.2.2.34.2(2026.05.07)

Bug fixes

Description

8.0.2.2.34.1(2026.04.03)

Bug fixes

Description

  • Fixed an issue where a minor version upgrade to 8.0.2.2.34 would get stuck during the upgrade task flow due to a problem in the upgrade process.

8.0.2.2.34(2026.03.26)

New features

Description

  • Added multiple index statistics sampling strategies that can be enabled via parameters.

  • Added support for the REBUILD PARTITION operation on partitioned tables.

  • What is In-Memory Column Index (IMCI) Hybrid Plan (including Hybrid Index Search and Hybrid Index Join) Added support for MPP execution mode support.

  • Added support for DiskANN index type in vector search.

  • Added the parallel Copy DDL feature, which significantly improves the execution efficiency of COPY DDL operations.

  • Added PolarSearch searching testing graph (Search View) feature, implementing PolarDB for MySQL to PolarSearch Auto-ETL capability, improving data synchronizing convenient fast.

  • Added the WITHOUT VALIDATION option for REORGANIZE PARTITION, supporting fast modification of RANGE partition boundaries. This is suitable for scenarios where partition data is approaching maximum capacity, enabling quick boundary changes to route new data to new partitions.

    Note

    Limits: single DDL only support modifying one partition edge boundary value, and not supported more modifying partition name.

  • Added a parameter xengine_default_storage_table_format, support specifying creating What Is X-Engine table default table format.

  • Added support for Full refresh of materialized views refresh when would query unloading to specifying node on execution.

  • Traditional InnoDB compressed table format has a data corruption risk when BLOCK_SIZE is less than 4. Added the polar_compressed_table_policy system variable to control the compression policy for newly created tables.

    • NATIVE: source sample execution.

    • ADJUST_KEY_BLOCK_SIZE (default): Allows table creation and automatically corrects the KEY_BLOCK_SIZE if it is less than 4.

    • AUTO_CONVERT_ROW_FORMAT: Silently converts the table to the default row format.

    • REJECTED: Rejects the operation and returns an error.

    Note
    • This policy applies only to newly created compressed tables and does not affect existing compressed tables.

    • For clusters that run a kernel version earlier than 8.0.2.2.34, we recommend that you no longer create InnoDB compressed tables with a BLOCK_SIZE less than 4.

  • Added support for hybrid partitioned tables with primary keys, allowing partitions to be archived to OSS partitions.

  • Added a DEMAND mode for SQL Plan Management (SPM) that can be used to inject, capture, and manage execution plans.

  • Added support for PolarDB three-layer decoupling (CXL) memory pool dynamic enabling and disabling. currently only support entire CXL memory dynamic switch, temporary not supported CXL memory pool size dynamic changing ization.

  • Added support through ask_polar expression directly connection A inside Cloud large model service flat Bailian capability.

  • Added support for multiple passes within a statement. Also fixed a crash issue with adaptive ordering in specific scenarios.

  • Added LNNVL expression, suitable configuring row column storing execution.

Performance optimizations

Description

  • Optimized partition archiving to OSS partitioned table (cold data archiving) during the process of, UPDATE/DELETE statement automatic pruning currently in archiving partition and OSS cold data partition, most large limit degree avoiding DML statement was blocking.

  • Optimized What Is X-Engine in restart phase recovery metadata data structure speed, reducing restart consumption when.

Bug fixes

Description

  • Fixed an issue when enabling Query Cache in cases where Full refresh of materialized views refresh after cannot and when reading to most new results issue.

  • Fixed partial in scenarios where ORDER BY sound clear sequence order not take effect issue, meanwhile Optimized grouping query in Loose Index Scan (LIS) called word processing.

  • Fixed an issue when enabling thread_pool_enabled parameter after, performance_schema memory statistics incorrect issue.

  • Fixed an issue where occasional transaction loss for In-Memory Column Index (IMCI) under the transaction persistence feature of Seamless Switch led to data inconsistency between row and column stores.

  • Fixed ORC format timestamp type min/max value single position not for aligned and ignoring accepting seconds partial issue.

  • Fixed an issue where the default value became invalid due to a memory exception when an instant add column operation that adds a column with a long string default value was converted to an asynchronous operation.

  • Fixed JPPD feature for Item_ref for object cloning (clone) implementing not improving causing subsequent crash.

  • Fixed an issue in columnar index (IMCI) where a filter condition was incorrectly pushed down past a LIMIT clause, which could lead to incorrect results.

  • Fixed mysqlredolog working having parsing specific MLOG_METADATA_CHANGE record when crash.

  • Fixed an issue where JSON_TABLE could probabilistically crash in the trigger execution path.

  • Fixed an error that could prevent statistics from being updated when collecting statistics for a columnar index (IMCI) with the low-cardinality column sampling enhancement (imci_stats_scan_max_ndv) enabled.

  • Fixed concurrency control (CCL) for DELETE xx FROM ... syntax cannot take effect issue (not affecting DELETE FROM ... syntax).

  • Fixed an incorrect memory state on a read-only (RO) node when no extensions were initialized.

  • Fixed an issue where the query filter did not take effect when using a Bloom Filter with a date type specified.

  • Fixed What is Orca (Redis-Compatible) cleaning up expired KEY using pcur could cause a crash, replacing as storage KEY method.

  • Fixed an issue where an int integer overflow in the In-Memory Column Index (IMCI) NCI file system after long-running operations caused out-of-bounds memory access and resulted in IMCI transaction replay getting stuck.

8.0.2.2.33.1(2026.02.02)

Bug fixes

Description

8.0.2.2.33(2026.01.28)

New features

Description

  • Added a native BSON data type. This type supports projection, update, query, and aggregation operations.

  • Added the ability to call a large language model (LLM) directly by using standard SQL statements.

  • Added Full refresh of materialized views refresh process in parallel inserting capability. through parallel processing, significantly improving materialized view data refresh speed.

  • Added the ETL feature, which can automatically perform data extraction, transformation, and loading to improve data synchronization and aggregation efficiency.

  • Added configurable execution time windows for SQL-layer TTL. You can now specify start and end times for TTL tasks to automatically clean up expired data within a preset time frame.

  • Added What Is X-Engine for column storing storage format support, support low becoming local storage and high performance analysis.

  • Added support for executing DDL operations in COPY mode on hybrid partitioned tables that contain OSS partitions.

  • Added What Is X-Engine support index column character set and collation, utf8_unicode_ci and utf8mb4_unicode_ci.

  • Added Full refresh of materialized views full volume refresh node minute flow feature. support base at cost would refresh task minute sending to specific node execution, to interval leaving resource affecting.

  • Added hybrid partitions table support What is In-Memory Column Index (IMCI) feature. current in, InnoDB+X-Engine, InnoDB+ORC, InnoDB+CSV group combined hybrid partitions table can through ALTER TABLE COMMENT statement management In-Memory Column Index (IMCI), thereby advantage using IMCI accelerating for partitioned table analysis query.

  • Added Overview feature for DATETIME data type support. removing TIMESTAMP external, current in also can using DATETIME type column to defining data automatic expired strategy, to satisfying more broad business scenarios.

  • Added What is Orca (Redis-Compatible) compatible with under for LUA footnote local support. now supports EVAL, EVALRO, SCRIPTS and other related command.

  • Added vector index incremental structure building feature. the feature allowing index following data write while actual when updating, significantly improving sea volume toward volume data entering database and updating efficiency.

  • Added Eliminate redundant GROUP BY/ORDER BY feature, through for GROUP BY and ORDER BY clause performing ization simple and eliminating, reducing redundant remainder computation, improving specific SQL query execution efficiency.

Performance optimizations

Description

  • Optimized physical replication efficiency by enabling parallel Redo log parsing on read-only nodes to reduce primary-replica lag.

  • Optimized What is In-Memory Column Index (IMCI) restart when between. modifying creating NCI (Non-Clustered Index) module causing its support Checkpoint mechanism, thereby eliminating can eliminating LOADING NCI full volume structure building NCI step step.

  • Optimized What Is X-Engine metadata data management mechanism. through cycle period releasing manifest log and old version manifest checkpoint, avoiding due to metadata data file holding continued increasing long while causing quota external storage empty between occupying using.

  • Optimized the performance of partitioned vector retrieval for columnar index (IMCI). This optimization reuses distances calculated during the vector index search phase in the multi-way merge to avoid redundant calculations. Also fixed an issue where a condition pushdown for a columnar index (IMCI) could return incorrect results in ORDER BY LIMIT scenarios.

  • Optimized What is In-Memory Column Index (IMCI) pointer for query condition in containing exceeding long string type IN-List query performance.

  • Optimized the query plan search process to accelerate the search for the join order of multiple tables, which reduces the overall optimization time for complex SQL queries.

  • Optimized grouping aggregation combined (HashGroupby) execution efficiency. through introducing toward volume ization probing checking hash table operation, in improving grouping aggregation combined performance meanwhile, slightly reducing computation process in memory consumption.

  • Removed the limit on the number of partitions for a table.

  • Optimized What is In-Memory Column Index (IMCI) query execution strategy, default enabling adaptive should grouping aggregation combined execution. the feature can based on data minute distributing and query feature automatic selecting most high efficiency aggregation combined algorithm, thereby improving containing GROUP BY clause analysis query performance.

  • Optimized What is In-Memory Column Index (IMCI) in Hash Join computation sub- execution efficiency. this time Optimized for all using Hash Join query all has performance modifying good, especially its for Semi Join scenarios performance improving significantly.

  • Optimized the performance of the distributed memory pool by adding relevant parameters and monitoring items.

Bug fixes

Description

  • Fixed a crash that could occur in specific scenarios when a filter condition containing a trigger field was pushed down to a derived table.

  • Fixed an issue where condition pushdown optimization was ineffective because a variable assignment function was present in the query.

  • Fixed Global Secondary Indexes (GSIs) in specific LIMIT OFFSET under pushing Optimized in scenarios where could cause a cluster crash.

  • Fixed a stability issue that could be triggered by improper internal metadata handling during the upgrade process for certain partitioned tables.

  • Fixed an issue where executing DML operations on a hybrid partitioned table that contains OSS partitions could block concurrent reads and writes.

  • Fixed an issue where the high-performance HashJoin operator processing RIGHT JOIN with data spilling to disk could cause loss of result set rows.

  • Fixed a rare issue where replication could get stuck in a columnar index (IMCI) in scenarios with frequent DDL operations, leading to data latency on the node.

  • Fixed an issue where statistics could not be collected as expected for string columns with wide character sets (such as utf8), even if the defined length was short.

  • Fixed an issue where What is Multi-Master Cluster (Limitless) in, execution Global Secondary Indexes (GSIs) related DDL during operations, due to and after thread conflict while could cause a cluster crash.

  • Fixed an issue in the What is Orca (Redis-Compatible) mode where data table metadata might not be updated in a timely manner.

  • Fixed a potential SQL parsing error that could occur when using dbms_outln.add_optimizer_outline_sharding to create a Statement Outline for sharded tables.

  • Fixed an issue where PCUs for a low-specification, no-load serverless node with columnar index (IMCI) would repeatedly scale up and down.

  • Fixed a potential out-of-memory (OOM) issue in the serverless feature for columnar index (IMCI) that could occur when resources were rapidly scaled up and then scaled back down, because the cache quota was not reclaimed in a timely manner.

  • Fixed large amount of frequently volume table in What is elastic parallel query estimation cost error, advancing while causing cluster crash.

  • Fixed a crash that could occur when defining a partition range for an Interval partitioned table if a time type was specified.

  • Fixed What is In-Memory Column Index (IMCI) unable to execution query condition in containing system changing volume SQL statement issue.

  • Fixed an issue where statistics collection could fail on tables with frequent updates and deletions, and also slightly improved sampling efficiency.

  • Fixed an issue where memory usage could continuously increase if a DDL operation was performed during incremental log application.

  • Fixed an issue where a table could not be opened for an Index Merge plan when the query did not need to access the OSS partitions of a hybrid partitioned table.

  • Fixed a stability issue that could cause a crash when the buffer pool was much smaller than the intermediate result set required by a query.

2025

8.0.2.2.32.1(2025.12.25)

Bug fixes

Description

Fixed What is Orca (Redis-Compatible) restore command in recovery already expired hash field when would legacy missing its TTL (generating storing when between) information issue.

8.0.2.2.32(2025.12.22)

New features

Description

  • Added support for Join condition pushdown to containing UNION clause derived table (derived table).

  • Added cost-based OR expansion query rewrite, which can intelligently convert OR or IN expressions to UNION ALL for better index utilization and improved performance in specific query scenarios.

  • Added support for vector index in line DDL support, allowing in not modifying changing In-Memory Column Index (IMCI) state in cases where, new building, deleting, modifying and re- building already has vector index.

  • Added Configure transparent data encryption (TDE) support SM4 algorithm, as data providing more high and other level adding dense maintaining protecting.

  • Added global only reading column storing node support Multi-master sharded tables.

  • Added support for vector search adaptive should execution Optimized, support dynamic selecting execution method (prefilter/postfilter/inline filter).

  • Added snapshot update feature, through introducing compatible with PostgreSQL updating mechanism, Optimized specific in scenarios where UPDATE operation execution efficiency. the feature through parameter innodb_polar_use_snapshot_update controlling, support session level and global level enabling.

  • Added What is In-Memory Column Index (IMCI) support full-text index, valid improving text local fuzzy searching and analysis performance.

  • Added automatic archiving cold data (DLM) Added support for with has What is In-Memory Column Index (IMCI) partitioned table archiving to OSS external table, implementing DLM and IMCI compatible with.

  • Added monitoring metrics for Orca (Redis-compatible) to enhance its observability, including active connections, new connections, memory usage, and the number of pending tasks.

Performance optimizations

Description

  • Optimized the Page Apply efficiency in physical replication. This reduces I/O overhead when read-only nodes access cold data, minimizing sporadic latency jitter and enhancing cluster stability.

  • Optimized the predicate deduction (deduce_predicates) logic in the query optimizer to more effectively identify static conditions on partition keys, enabling more aggressive partition pruning and improving query efficiency.

Bug fixes

Description

  • Fixed an issue where executing RENAME TABLE and other DDL operations on tables containing views after a high-availability failover could cause a Duplicate entry error.

  • Fixed an issue where the database table recovery feature could not correctly recover a table that contained columns deleted using the instant drop column method.

  • Fixed an issue in a multi-primary cluster where deleting a read-write node was interrupted after an access point switchover.

  • Fixed What Is X-Engine partitioned table execution adding or deleting partition during operations, need adding table level MDL lock issue.

  • Fixed What is Orca (Redis-Compatible) in deleting key (key) after establishing i.e. write, could cause dbsize statistics not accurate issue.

  • Fixed an issue where dynamically disabling the thread pool parameter loose_thread_pool_enabled could cause connections to hang after DDL execution completed.

  • Fixed What is In-Memory Column Index (IMCI) in using ETL when using the feature not supported JSON TABLE issue, and Optimized IMCI query memory not sufficient when error submitting showing information.

  • Fixed an issue where a SELECT statement containing both IN-List and aggregate functions with DISTINCT could prevent the query from being executed on In-Memory Column Index (IMCI).

  • Fixed an issue in IMCI that could cause inaccurate multiplication results when processing DECIMAL data with more than 16 digits after the decimal point.

  • Fixed an issue with the IMCI Serverless feature where proactive scale-out was continuously triggered due to an abnormal index status.

  • Fixed an issue where a standby node could hang during the recovery phase in Point-in-Time Recovery (PITR) and database and table recovery scenarios.

  • Fixed an issue that could cause existing Binlog dump connections to hang and affect Binlog cleanup after a read-only node was promoted to the primary node.

  • Fixed an issue in read/write (RW) node on execution SHOW POLAR STANDBYS when executing the command, query to standby using (Standby) node latency seconds number (delay_second) not accurate issue.

  • Fixed an issue where the query optimizer's column pruning feature could cause the process to crash by incorrectly removing a subquery that was referenced by multiple projection columns.

  • Fixed an issue where inaccurate statistics for non-BIGINT integer columns prevented the query optimizer from generating an optimal execution plan.

  • Fixed an issue where querying JSON data of a specific length could return the "The JSON binary value contains invalid data" error on a read-only node when the innodb_blob_slave_read_consistent parameter is enabled.

  • Fixed an issue that could prevent queries containing a recursive Common Table Expression (CTE) from running on an IMCI.

  • Fixed an issue where a newly registered read-only node could report an SDI modification failure when executing DDL operations after being promoted to the primary node.

8.0.2.2.31.2(2025.11.19)

New features

Description

Added dynamic switch, support dynamic enabling only reading (RO) node cursor standard position setting adjusting feature.

Bug fixes

Description

Fixed an issue where HA (high-availability failover) during uninitialized expansion under high-concurrent write pressure could cause the cluster to crash.

8.0.2.2.31.1(2025.10.15)

Bug fixes

Description

Fixed an issue where In-Memory Column Index (IMCI) Hybrid Plan wide table query acceleration unexpectedly fell back to row store execution due to query optimization (converting AVG functions to SUM/COUNT).

8.0.2.2.31(2025.09.24)

New features

Description

  • Added the ability to configure whether the display width attribute is shown for integer fields (BIGINT, INT, MEDIUMINT, SMALLINT, TINYINT, etc.) when the ZEROFILL attribute is not defined.

  • Added concurrency management and status query features for background vector index creation, enabling effective resource consumption control and real-time progress tracking when creating large-scale vector indexes.

  • Added CXL memory extending feature, allowing through CXL (Compute Express Link) memory pool as cluster dynamic adding buffer pool capacity volume, to improving large scale data processing performance and system throughput.

  • as What is In-Memory Column Index (IMCI) adding base at FAISS database HNSW and HNSWPQ two kind vector index type, to support more high performance, more low memory usage high dimension toward volume near similar most near adjacent (ANN) retrieval.

  • in What is In-Memory Column Index (IMCI) vector search in Added inline filter mode, implementing standard volume filtering and vector search single computation sub- integrating combined computation.

  • Added support for Oracle-compatible synonyms (SYNONYM). You can now create synonyms for tables or views and operate on them directly.

  • Extended the sub-partitioning feature to support RANGE COLUMNS, LIST COLUMNS, and LIST COLUMNS+DEFAULT partition types, with support for DATE, DATETIME, CHAR, and other sub-partition key fields. All combinations of primary and secondary partition types are now supported, with partition pruning optimization for related queries.

  • Added support through What is In-Memory Column Index (IMCI) accelerating refresh full volume materialized view, as re- miscellaneous query providing pre- computation results aggregation, significantly improving high frequency aggregation combined or associated query response speed.

  • Added the embedding expression to convert input text to vectors in real time. Also supports automatic conversion of text content to vectors during data writes through materialized virtual columns.

  • as INSERT ... VALUES/SET ... ON DUPLICATE KEY UPDATE syntax adding alias name (alias) support, allowing in UPDATE clause in through alias name referencing using INSERT partial Added data, causing SQL logical more clearing clear, simple clean.

  • Extended the cold data archiving feature to support archiving cold data partitions in partitioned tables to the X-Engine storage engine. After archiving, the table becomes a hybrid partitioned table of InnoDB and X-Engine, supporting unified queries across different storage engine partitions.

  • Added support for non- What is In-Memory Column Index (IMCI) node on non- RU (Read Uncommitted) interval leaving level alias session strong controlling forwarding feature. through enabling imci_ignore_unsupported_isolation_level parameter, allowing this some session request was forwarding to column storing node execution, to advantage using column storing accelerating capability.

  • Added json_arrayagg expression, using at in What is In-Memory Column Index (IMCI) query in would multiple row results aggregation combined as one JSON number group, improving for JSON format data processing capability.

  • Integrated Resource Control with the Orca feature (Redis-compatible). This allows you to manage the overall CPU resource utilization of the Orca system by using a parameter, which defaults to 100%.

  • as Orca feature (compatible with Redis protocol) Added support for PUBSUB command support, including PUBLISH, SUBSCRIBE, UNSUBSCRIBE, PSUBSCRIBE, PUNSUBSCRIBE, PUBSUB CHANNELS, PUBSUB NUMPAT and PUBSUB NUMSUB, extending eliminating information sending distributing and subscription capability.

  • The slow query log feature now supports sampled recording of actual SQL statements and storing them in shared SQL, enabling database administrators to precisely troubleshoot and optimize excessively long or high-frequency slow queries.

  • Added a parameter rds_max_tmp_disk_space, using at controlling large query producing temporary table for local disk empty between total using volume, preventing disk was occupying full.

  • Added in table structure deleting after, dbms_oss.delete_table_file support cleaning up OSS on partitioned table for should file.

  • Added Time to live (TTL) feature current already COPY category DDL syntax. currently, only support INPLACE category DDL.

Performance optimizations

Description

  • Optimized Row and Column Routing Guide cost estimation model, allowing its base at string row execution overhead performing computation, while non- depending on parallel Optimized after cost, thereby in specific in scenarios where do outputting more optimization execution plan selecting.

  • Added a feature to measure the time consumed by internal operations of row-store and column-store execution operators. This data supports coefficient fitting and automatic optimization of the row-column cost model.

  • as Statement Outline Added record source initial SQL statement feature, Added support for when before loop environment in based on source initial SQL re- new generating Outline, improving execution plan management and fixed ization flexible active.

  • Restructured the command processing structure and optimized lock paths, improving overall read and write performance by approximately 10%.

  • Optimized partitioned table query performance. Fixed an issue where new partition key constant conditions generated during the query optimization phase (such as MEP) could not trigger secondary partition pruning, and enabled partition pruning for inner tables in nested outer joins.

  • Optimized the processing logic for union queries with a large number of query blocks, resolving an issue where the find_cloned_select_lex function consumed excessive time and fully loaded a single CPU core.

  • Optimized the metadata loading process when a column store node restarts in large-scale data scenarios. This prevents out-of-memory (OOM) issues caused by an overly long metadata list.

  • Unified the local file naming convention for related components so that file names no longer vary by node role, simplifying file management during high-availability failover.

  • Optimized the logic for the background elastic thread pool of a read-only column store node when it obtains task status, reducing its CPU resource consumption.

Bug fixes

Description

  • Fixed an issue where a parallel query could cause a cluster to crash in specific condition pushdown scenarios.

  • Fixed an issue where data inconsistency could occur on a read-only node in some scenarios when reading large JSON fields or frequently partially updated JSON fields.

  • Fixed an issue where NCI (Non-Clustered Index) failed to automatically trigger capacity expansion when insertion into the LRU cache failed.

  • Fixed abnormal storage space growth caused by vector index data files not being cleaned up promptly.

  • Fixed a memory error caused by abnormal initialization of the dec_buffs member in the Item_sum_sum::resolve_type function during the row store execution phase of aggregate function queries.

  • Fixed issues in IMCI where vector retrieval queries could incorrectly fall back to row-store execution and where the query optimizer made poor cost-based choices for scalar filter queries.

  • Fixed an issue with listing OSS files using the dbms_oss.list_table_file command.

  • Fixed an out-of-memory (OOM) issue on read/write (RW) nodes when performing an ONLINE DDL operation on a table with an IMCI. This was caused by the default batch write behavior.

  • Fixed an issue where DDL operations could cause a cluster crash when the ORC hybrid partitioned table name contained special characters.

  • Fixed an issue where a read-only node might not find some records during B-tree index structure adjustments under high write pressure.

  • Fixed an issue where adding an In-Memory Column Index (IMCI) to a table without a primary key but containing a UNIQUE KEY could cause cluster exceptions.

  • Fixed an issue when dbms_dlm.archive_partition2table archiving partitioned table data to OSS external table when permission validation issue, current already reducing permission need to requesting, only requiring INSERT, CREATE, DROP, ALTER permission i.e. can operation.

  • Fixed What is Orca (Redis-Compatible) in, LPOS command in MAXLEN option value exceeding column table local body length when causing cluster crash.

  • Fixed a memory leak that could occur when reading data from a cold storage table in ORC format.

  • Fixed partial query due to memory using volume computation not accurate, causing partial query returns OOM Error while execution failure.

  • Fixed an issue where query performance could degrade in Multi-master Cluster (Limitless) Edition under high pressure.

  • Fixed an issue where constant condition propagation failed during query optimization due to inconsistent character set lengths.

  • Fixed What is Multi-Master Cluster (Limitless) in aggregation combined node on execution CREATE ... IF NOT EXISTS statement after, gtid_executed occurring empty insight issue.

  • Fixed What is Multi-Master Cluster (Limitless) primary standby when nodes high-availability failover period between, could cause a cluster crash.

  • Fixed an issue where an IMCI query could return incorrect results if it contained both the DISTINCT and AVG aggregate functions.

  • Fixed an issue caused by Item_func_conv_charset result_field in SQL ending after not cleaning up, causing re- using when cluster crash.

  • Fixed What is Multi-Master Cluster (Limitless) under, local only reading (RO) node hot failover as reading writing (RW) after nodes, for What is In-Memory Column Index (IMCI) table execution DML operation could trigger RW node crash.

  • Fixed an issue caused by dangling pointer access when an index was released during an INSTANT DDL operation on an IMCI.

  • Fixed parallel query in multiple layer derived table nesting scenarios in, could trigger cluster crash.

  • Fixed an issue where Data Cleanup (TTL) information was lost during a CREATE PARTITION TABLE operation because the main Data Dictionary (DD) information was not updated.

  • Fixed Adaptive execution plan switching (adaptive ordering) Optimized in LIMIT OFFSET statement on unable to correct adaptive should issue.

  • Fixed a sorting error that could occur when using ORDER BY DISTANCE for vector similarity sorting with distance values close to 0.

  • Fixed an issue in Elastic Parallel Query where cross-node MPP execution could cause incorrect results or a cluster crash when multi-level nested shared subqueries were present.

  • Fixed an issue where column pruning optimization could cause a cluster to crash when a query contained a recursive Common Table Expression (CTE).

  • Fixed an issue where the Query Cache could access invalid memory under multi-threaded concurrent access.

  • Fixed an issue where setting expiration time for Hash fields with duplicate fields could cause a cluster crash.

  • Fixed What is Multi-Master Cluster (Limitless) in high-availability failover after, could cause cluster unable to starting or data unable to holding long ization issue.

  • Fixed an issue where duplicate data could be retrieved when accessing a spatial index on a read-only node.

  • Fixed an issue where the execution results of the IMCI json_valid function could be inconsistent between the row store and column store when the first parameter is of the varchar type.

  • Fixed an issue where duplicate data appeared in the result set after an EXISTS subquery was converted to a SEMI JOIN (with the duplicate weedout strategy) when parallel query was enabled.

  • Fixed an issue in the IMCI shared storage architecture where the column index of a cold storage table on a read-only column store node could be missing.

  • Fixed an issue where a cluster could occasionally crash after adaptive aggregation was enabled in queries from older versions.

  • Removed unnecessary checks for compressed row status in the code to avoid triggering unexpected errors in special cases.

  • Fixed an issue where a read-only column store node could experience replication latency in scenarios with frequent DDL operations.

8.0.2.2.30.2(2025.08.20)

Bug fixes

Description

  • Fixed an issue in the In-Memory Column Index (IMCI) feature where a node could crash when the deltastore executes a swap task, due to the pax page length overflowing uint32 or encountering a null pointer.

  • Fixed an issue where improper global variable initialization order caused In-Memory Column Index (IMCI) one-write-multiple-read Follower file operations to be unexpectedly blocked.

  • Fixed a rare bug that could cause the background purge process to corrupt a secondary index during a transaction rollback.

8.0.2.2.30.1(2025.07.03)

Performance optimizations

Description

Bug fixes

Description

  • Fixed a potential crash during cost-based query rewrite for SQL statements that contain both an inline view and a scalar subquery.

  • Fixed an issue where Index Join intermittently triggered errors when executing partitioned table queries in Hybrid Plan mode.

  • Fixed an issue that prevented some statements in prepare statement mode from being correctly routed to column store nodes.

  • Fixed What is In-Memory Column Index (IMCI)Delta module order column ization process in rollback row judging breaking legacy missing, causing empty pointer access and triggering cluster crash.

  • Fixed an issue where some queries could not be pushed down to In-Memory Column Index for execution when the imci_implicit_orderby_rollup parameter was enabled.

  • Fixed an issue that prevented queries with overly long IN-LISTs from using the columnstore index.

8.0.2.2.30(2025.07.01)

New features

Description

  • Added the column encryption feature, which works with TDE to encrypt specified columns. A decryption function can be used to retrieve original data when accessing the data.

  • Added a feature that deconstructs query expressions with multi-value conditions (IN-LIST) or logical disjunctions (OR) into a UNION ALL operation of multiple independent subqueries to generate index access plans more efficiently.

  • Delete statement Added support for Index Hint, i.e. through USE INDEX, IGNORE INDEX syntax specifying specific index using. can through parameter delete_enable_index_hint enabling this feature.

  • Lateral horizontal toward derived table (Lateral Derived Table) Added support for parallel execution, in parallel query scenarios support pushed down to Worker execution.

  • What is In-Memory Column Index (IMCI) Added support for in subquery in containing has Roll UP in projection column in containing with has aggregation combined function.

  • What is In-Memory Column Index (IMCI) Added vector index feature, support base at ANN algorithm near similar retrieval.

Performance optimizations

Description

  • Improved the asynchronous operation and flow control for garbage file cleanup after a read-only IMCI node is deleted.

  • Optimized the ALTER TABLE cold storage archiving by removing the requirement to retain one InnoDB partition, thereby supporting archiving of all partitions. Also supports restoring OSS partitions of archived partitioned tables back to InnoDB partitions.

  • Optimized What is In-Memory Column Index (IMCI) HASH JOIN structure building Hash table process, HASH table specific implementing, significantly improving What is In-Memory Column Index (IMCI)HASH JOIN performance.

Bug fixes

Description

  • Fixed a crash that occurred in a parallel query if a constant table was an outer table in a LEFT JOIN with multiple inner tables.

  • Fixed an issue where the SCAN command of the Orca feature could fail to return a result, remaining in a searching state.

  • Fixed an issue where Sharding Outline did not correctly support table aliases, ORDER BY, and LIMIT BY.

  • Fixed a crash caused by the base table and the dependent table not being pushed down to the same shard for execution when a default value references a table.

  • Fixed an issue where adding an index to a table with a SET type required a table lock.

  • Fixed a cluster crash triggered when you update a NULL value to an empty string in a table that uses the REDUNDANT row format and contains an instant-add column.

  • Fixed What is In-Memory Column Index (IMCI) in DISTANCE expression computation DOT mutual similar degree returns value issue.

  • Fixed an error that occurred when a cold-archived ORC-format table contained BIT, ENUM, or SET types.

  • Fixed INDEX MERGE and index condition under pushing (ICP) plan under adaptive should execution statistics has deviation difference issue.

  • Fixed an issue where reading JSON data on a read-only (RO) node could return an INVALID JSON error in some scenarios.

  • Fixed a crash caused by an ORDER BY clause being merged into the outer query in a materialized view.

  • Fixed an issue where disabling function pushdown caused incorrect results for Elastic Parallel Query.

  • Fixed two issues in Data Lifecycle Management (DLM): an archiving exception that left residual temporary tables, for which error logging is now added; and an ASSERT crash caused by an X lock conflict during the second lock upgrade in the DLM partition metadata lock (MDL) archiving process.

  • Fixed What is a partitioned table RENAME DDL after tables What is In-Memory Column Index (IMCI) INFORMATION_SCHEMA table in table_name cache not updating issue.

  • Fixed an issue in the prepare execute implementation where the collation of string types was incorrectly affected by the character_set_client setting.

  • Fixed an assertion error that was triggered by an update task based on old IMCI information after an INSTANT DDL statement was committed.

  • Fixed a crash that occurred in high-concurrency scenarios when both Elastic Parallel Query and performance_schema were enabled.

  • Fixed an issue where the MySQL Community Edition did not include the LIMIT keyword in query performance cost calculations.

  • Fixed an issue where intermittent timing inaccuracies occurred when using imci_analyze_query for query profiling.

  • Fixed an issue where unsupported user-defined functions were adaptively routed to IMCI, which caused query errors.

  • Fixed a crash in the background thread that collects IMCI statistics for the hybrid optimizer. This bug had a higher probability of being triggered when a virtual column was present.

  • Fixed an issue that could occur when accessing a partitioned table after it was restored by using the database and table restoration feature, if the table included an INSTANT ADD COLUMN and had 10 or more partitions.

  • Fixed an out-of-memory error that could occur in IMCI when a GROUP BY operation was performed on variable-length strings with a large amount of data.

  • Fixed read-only node execution show binlog events error file not existing issue.

  • Fixed an issue where queries intermittently could not use Hybrid Plan after enabling global strong consistency (high-performance mode).

  • Fixed What is In-Memory Column Index (IMCI) within component thread pool elastic shrinking capacity when producing memory leak issue, avoiding Serverless cluster PCU adjusting when memory leak.

  • Fixed What is In-Memory Column Index (IMCI) in loading NCI (Non-Clustered Index) period between execution DROP INDEX operation could cause loading process blocking issue.

  • Fixed an issue where a crash occurred before the DDL log for a partition swap was written. This issue caused the cluster's crash recovery process to skip the DDL log, resulting in a cluster anomaly.

  • Fixed an issue in parallel query scenarios for partitioned tables where the degree of parallelism for a parallel plan involving a PartitionWise Repartition exceeded max_parallel_degree.

8.0.2.2.29.2(2025.06.06)

Bug fixes

Description

  • Fixed a crash in IMCI Hybrid Plans that occurred when using an index join with an anti semi join and a post filter.

  • Fixed a system crash during online DDL operations. This crash was caused by data inconsistency when updating or deleting data with a dynamic mask.

  • Fixed a crash during data cleanup (TTL) that was caused by a deadlock triggering a transaction rollback.

  • Fixed data cleanup (TTL) thread in disabling process in if not releasing transaction (trx) for object, could cause a crash.

  • Fixed an Out of Memory (OOM) error that occurred during IMCI sort compaction.

8.0.2.2.29.1(2025.05.14)

Bug fixes

Description

Fixed What is In-Memory Column Index (IMCI) within component thread pool in elastic shrinking capacity process in producing memory leak issue, valid avoiding Serverless cluster in PCU (PolarDB Capacity Unit) dynamic adjusting when occurring memory leak.

8.0.2.2.29(2025.05.08)

New features

Description

  • The read-only node (RO) now includes a parse buf (parse log memory block) unused memory reclamation feature to reduce memory usage.

  • Window functions now support the frame clause, including the Rows frame and the default Range frame.

  • Added support for to Online DDL method modifying What Is X-Engine auto-increment column value.

  • Added pruner statistics. You can now query the INFORMATION_SCHEMA.IMCI_SQL_PROFILING view to check the data block pruning status for the TableScan operator.

  • You can now use hints to influence the execution plan of statements within a view definition.

  • Added support for in INFORMATION_SCHEMA.POLAR_INDEX_STATISTICS view in, query related system table to obtaining each table index named in statistics.

  • Added FORCE STORAGE OSS option, Added support for deleting cold data during operations, synchronizing deleting OSS on data.

  • Introduced the Range-prefix Skip Scan mechanism to expand the applicability of Skip Scan and improve the performance of complex queries.

  • Added In-Memory Column Index (IMCI) for Hybrid Plan feature extending, causing its support not displaying format defining primary key table.

  • Added a parameter adaptive_digest_length_multiplier, implementing based on SQL text local length dynamic adjusting Digest pre- allocation memory size feature.

  • Added a parameter oss_orc_read_buffer_size, support dynamic configuration ORCReader reading cache size.

  • Added a parameter Innodb_ttl_finished_job_expired_days, using at controlling cleaning up ttl_job_history table within expired data.

  • In-Memory Column Index (IMCI) in Hybrid Plan Index Join Added support for Semi Join and Anti Semi Join mode support.

Performance optimizations

Description

  • Optimized In-Memory Column Index (IMCI) query performance for IN-List scenarios.

  • Optimized high concurrent under using max_execution_time when using the feature, database performance changing difference issue.

  • Optimized What is Orca (Redis-Compatible) support HASH data type based on according to field dimension degree setting TTL expired when between.

  • Optimized high performance global consistent related changing volume setting from system level alias adjusting as Connection level alias, Added support for database generation in configuration whether enabling.

  • Optimized In-Memory Column Index (IMCI) in, Hash Groupby implementing mechanism, implementing based on data minute distributing special feature adaptive should selecting partition strategy and algorithm improving query performance.

Bug fixes

Description

  • Fixed an issue where the ALTER TABLE command could fail and cause a database restart.

  • Fixed an issue with the snapshot feature on column store nodes that could cause monitoring to freeze due to long lock waits.

  • Fixed a deadlock caused by concurrent threads while archiving partition data in a partitioned table.

  • Fixed an issue where a parallel query with an IS NULL condition could return incorrect results.

  • Fixed Adaptive execution plan switching feature in specific type query in scenarios where could cause a cluster crash.

  • Fixed In-Memory Column Index (IMCI) multiple instance shared architecture structure under intermittent ImciFollower memory data block accumulation issue.

  • Fixed SQL statement holding has table level MDL (metadata lock) but not holding has partition-level MDL lock in cases where, occurring execution DROP PARTITION statement deleting partition, could cause SQL access crash.

  • Fixed What Is X-Engine in Index_merge path in processing process in not can correct obtaining Instant_ddl metadata data, causing data query occurring exception.

  • Fixed In-Memory Column Index (IMCI) mixed combined materialized Mixoutput read timestamp type data not do time zone converting ization issue.

  • Fixed an issue where a column store node occasionally accessed pre-DDL cached data after a DDL operation.

  • Fixed an issue where has large amount of field table on performing Instant modify column during operations existing memory access out-of-bounds issue.

  • Fixed an issue when enabling asynchronous execution when using the feature, dynamic modifying thread_pool_size parameter could cause database crash.

  • Fixed an occasional out-of-bounds read/write issue with ROW LOG when performing an ONLINE DDL operation on a table with a virtual column.

  • Fixed string-to-vector type conversion issues by allowing the use of multiple whitespace characters.

  • Fixed In-Memory Column Index (IMCI)Serverless cluster in primary node specification than relatively large when unable to shrinking capacity issue.

  • Fixed an issue where In-Memory Column Index (IMCI) could not control sorting of query results with ROLLUP through the imci_implicit_orderby_rollup switch.

  • Fixed an issue that could cause the database to crash if a SQL query included a GROUP BY WITH ROLLUP clause, the GROUP BY column referenced a column in a derived table, and the optimizer flattened that derived table.

  • Fixed an issue that prevented a new read/write node from starting when added to a multi-master cluster with a global read-only node.

  • Fixed a potential crash on a secondary node in a multi-master cluster when switching the database or object endpoint.

  • Fixed dynamic disabling innodb_polar_log_rdma_transfer parameter after unable to dynamic modifying innodb_log_buffer_size issue.

  • Fixed an issue where correlated subqueries containing LIMIT 1 could not be executed on In-Memory Column Index (IMCI).

  • Fixed a potential corruption issue with a secondary index created on a virtual column.

8.0.2.2.28(2025.03.12)

New features

Description

  • Added an automatic collection feature for column statistics to keep them up to date.

  • Added a cost threshold parameter to dynamically control adaptive request distribution between row and column stores. This parameter is distinct from the general cost distribution threshold.

  • Added support for RANGE expression partitioning with the cast_for_range() function, which converts double type data to int type, enabling support for double type partition key fields.

  • PolarDB for MySQL Added asynchronous execution capability, support asynchronous processing lock and other pending and asynchronous log disk flush and other pending logical.

  • Orca provides comprehensive connection monitoring metrics, including total connections, current active connections, and current requests.

  • Added explain analyze statement for Outline invoking support, causing its feature and explain statement consistent, improving query Optimized capability.

  • Added support for below GIS related function support: ST_HAUSDORFFDISTANCE, ST_FRECHETDISTANCE, ST_LineInterpolatePoints, ST_LineInterpolatePoint, ST_PointAtDistance, ST_Union, ST_Difference, ST_Buffer, ST_Collect, ST_Symdifference, ST_Intersection, enriching GIS feature support.

  • Added What is In-Memory Column Index (IMCI) query optimization first level scheduling feature, allowing column storing query allocation optimization first level, Optimized query execution efficiency.

  • The TTL (data cleanup) feature added compatibility with TiDB and other products, and added support for the TTL = 'b' + INTERVAL 3 MONTH; syntax.

Performance optimizations

Description

  • Optimized the partition cost model. For equality and IN condition queries on indexes that do not contain a partition key, a partition count factor is included in the cost estimation to improve its accuracy.

  • Optimized the algorithm selection logic to allow some correlated subqueries to use an efficient hash join.

  • Optimized What is In-Memory Column Index (IMCI) in processing re- miscellaneous IN and EXISTS subquery when performance, meanwhile Improved Optimized for subquery processing logical, thereby significantly improving query efficiency and execution performance.

  • Optimized What is Multi-Master Cluster (Limitless) support Partition Redo and asynchronous Redo mechanism, valid improving cursor play in scenarios where system throughput, thereby more good satisfying high concurrent requiring requesting.

  • Optimized Orca in processing Redis SCAN command attached with COUNT option when logical, correct maintaining returns metadata element number accurate and consistent.

  • Optimized in IMCI in enhancing for SELECT DISTINCT ... statement support, allowing existing non-full-groupby situation, thereby improving and more multiple scenarios compatible with, Optimized query flexible active and suitable using.

  • Optimized the logic for multi-level nested IN subqueries, so that they can now be accelerated by the columnstore index.

Bug fixes

Description

  • Fixed an issue where executing INSERT ON DUPLICATE KEY UPDATE on tables with interval range partitioning could access an invalid memory address.

  • Fixed an incompatibility with the database and table restoration feature that occurred because the loose_innodb_initialize_in_space_extend parameter for file space extension could not be set to 0.

  • Fixed What is In-Memory Column Index (IMCI) in Hybrid Plan in Index Join mechanism in Added for Semi Join and Anti Semi Join mode support, advancing one step extending query Optimized capability, improving re- miscellaneous query scenarios execution efficiency.

  • Fixed a system crash that could occur when using the TempTable engine with a common table expression (CTE) that is referenced multiple times.

  • Fixed a query exception that could be triggered when all data in a stored data block was identical.

  • Fixed an issue where a read-only node did not sync the gtid_purged variable, which caused queries to return empty values.

  • Fixed an issue where a database and table restoration task could be interrupted if the source table had a columnstore index.

  • Fixed What is In-Memory Column Index (IMCI) in running row in disabling Hybrid Plan when could cause a crash.

  • Fixed a potential socket leak in the Orca network framework when a connection timed out or was actively closed.

  • Fixed a rare issue where, with the non-blocking DDL feature enabled, a statement failed to exit normally if its corresponding DDL connection was terminated.

  • Fixed an inefficiency in the data lifecycle management (DLM) partition archiving process by using a partition-level metadata lock (MDL) instead of a table-level one, which reduces lock granularity and improves system concurrency and archiving efficiency.

  • Fixed inaccurate memory preemption under mixed workloads.

  • Fixed an issue where an X-Engine partition required a table rebuild during an optimize operation.

  • Fixed a parallel query cluster crash that was caused by a sort operation after a materialized table merge.

  • Fixed a potential crash that occurred when the materialized table pruning feature was used with the WITH ROLLUP feature.

  • Fixed a cluster crash that occurred when creating a temporary table with a CREATE TABLE AS SELECT statement.

  • Fixed a potential cluster crash that could be triggered when accessing statistics tables in a Multi-master Cluster (Limitless) Edition.

  • Fixed an index selection error in IMCI queries for constant range filtering scenarios (const BETWEEN field1 AND field2).

  • Fixed an issue in Multi-master Cluster (Limitless) Edition scenarios where the online DDL process for the columnstore index was incompatible with the Logical Log Sequence Number (LLSN) logic, causing some columnstore redo log replays to be missed.

  • Fixed What Is X-Engine in execution DDL changing more after old tablespace reclaiming leak issue.

  • Fixed a crash that was caused by executing an explain for connection statement during a query on an IMCI partitioned table.

  • Fixed an issue where IMCI data could not be recovered due to a metadata lock (MDL) acquisition failure during the metadata recovery phase.

  • Fixed an issue where queries on IMCI I_S (IMCI-related views in the Information_Schema database) with a name filter condition returned incomplete results because the query did not use a case-sensitive string comparison function.

  • Fixed What Is X-Engine read-only node restart when non- pre- period cleaning up data block metadata issue.

  • Fixed a potential anomaly in the metadata lock (MDL) system when the number of connections exceeded 65,536.

8.0.2.2.27.2(2025.01.23)

Bug fixes

Description

  • Fixed a potential data redundancy issue in the column index that could occur during crash recovery if a column store node cluster restarted during a large transaction.

  • Fixed TTL feature syntax issue, would TTL adjusting as non- retaining keyword, to correct maintaining and community region compatible with.

8.0.2.2.27.1(2025.01.14)

New features

Description

Bug fixes

Description

Fixed an issue where reading JSON or GIS large fields through In-Memory Column Index (IMCI) could cause intermittent data read failures.

2024

8.0.2.2.27(2024.12.28)

New features

Description

  • Added support for Global Database Network in scenarios where from cluster adding only reading column storing node.

  • Added support for REORGANIZE PARTITION and  LIST DEFAULT HASH partition combined and LIST partition to HASH partition, splitting minute VALUE to new LIST partition.

    Added HASH partition prefixes as whole body HASH partition name.

  • Added large wide table support, extending high compression engine (X-Engine) support table most large column number as 10000 column.

  • Added the DISTANCE expression for calculating cosine similarity, dot product similarity, and Euclidean distance.

  • Added using IMCI accelerating vector search query feature.

  • Added support for table value constructor syntax, DML statement in can using VALUES ROW syntax.

  • Added support through stored procedure as database in all table batch volume adding In-Memory Column Index (IMCI).

  • Enhanced Outline to support partitioned tables. A single Outline can now match all statements that share the same template across different partitioned tables.

  • Introduced statistics collection on non-indexed columns and a unified management method for extended statistics.

  • Added in during execution based on actual situation dynamic adjusting Order Index selecting retrieving results capability.

Performance optimizations

Description

  • Optimized the startup speed of read-only column store nodes. The column store engine can now start independently from a columnstore snapshot offset.

  • Optimized the startup time of column store nodes in scenarios with a large number of tables.

  • Optimized Orca feature, Added support for Redis AUTH and HELLO command in through username:password syntax specifying using account name and dense code.

  • Optimized X-Engine storage engine DDL scenarios, system would automatic enabling X-Engine pre- commit feature.

  • Optimized Orca in for has order aggregation combined (Sorted Set) data type lock granularity degree performing adjusting, only for secondary index using standard marker position performing lock judging breaking.

  • Optimized the code for thread creation and destruction in logical readahead, and simplified the memory check logic.

Bug fixes

Description

  • Fixed an issue where DDL statements on tables with views might report an error or not take effect after an HA switchover.

  • Fixed parameter parallel query related parameter pq_enable_xengine_mpp setting OFF after not has take effect issue.

  • Fixed an issue where the AUTO_INCREMENT value for a partitioned table could occasionally roll back, causing duplicate key errors on INSERT operations.

  • Fixed open placing Session level alias binlog_rows_query_log_events permission, Added support for DMS execution SQL standby copy and rollback.

  • Fixed an issue where duplicate items were not reported as errors when setting flagset type variables such as optimizer_switch.

  • Fixed an issue when enabling win magic switch after, due to base_ref_items empty between not sufficient causing subquery rewriting overflow, thereby triggering process crash.

  • Fixed an expression evaluation error that occurred when an IN-list that contained null values was converted to a JOIN result set.

  • Fixed an issue where using a HASH JOIN in the execution plan could cause incorrect parallel query results.

  • Fixed an issue that could cause incorrect results when a query contained lateral derived tables (LDTs).

  • Fixed Orca for Redis protocol transaction model support, including WATCH, UNWATCH, MULTI, EXEC and DISCARD command.

  • Fixed Orca in the feature BITOP, ZRANGEBYLEX, ZRANGEBYSCORE, ZREVRANGEBYSCORE and ZREVRANGEBYLEX returns results and Redis official inconsistent issue.

  • Fixed an issue where SUBSTRING_INDEX expressions processing GROUP_CONCAT output of empty strings with delimiter length greater than 1 could cause a process crash.

  • Fixed CAST(REGEXP_SUBSTR(...)) AS DECIMAL statement causing process crash.

  • Fixed an issue where data was not validated when a DDL statement was used to change the dimension of a VECTOR type.

  • Fixed a data dictionary inconsistency that occurred during a minor version upgrade from a version that did not support vector retrieval to one that did.

  • Fixed a rare issue where duplicate data appeared in a primary key index when online partition maintenance (MDL) was used.

  • Fixed IMCI Serverless and within component memory elastic compatible with, expanding shrinking capacity exception and other issue.

  • Fixed meanwhile using ALTER TABLE DROP statement deleting multiple full-text index (FTS) when could cause metadata residue issue.

  • Fixed an issue where the uniqueness of index values was not leveraged to improve query performance.

  • Fixed an issue where support in line partition dimension protecting (MDL) after, in extreme in scenarios where for containing has Autoinc table performing DML during operations triggering cluster crash.

  • Fixed multi-value index in MRR in was selecting in when could cause a cluster crash.

  • Fixed Orca in execution partial management when executing the command (such as ORCA_OPTIMIZE, AUTH and ACL command) without needing to lock defining database issue.

  • Fixed an issue where using a parallel query could lead to incorrect results when the query involved BLOB data.

  • Fixed an issue where certain types of queries were not correctly routed during adaptive execution.

  • Fixed an issue in cold data scenarios where the metadata cache on a read-only node was not updated after data was archived in the CSV or ORC format.

  • Fixed a cluster crash that was caused by a memory issue during DDL operations on a table that contained BLOB fields.

  • Fixed In-Memory Column Index (IMCI) re- building when not supported Online issue, improving In-Memory Column Index (IMCI) can using.

8.0.2.2.26.1(2024.11.21)

Bug fixes

Description

Fixed an issue where executing INSERT ... ON DUPLICATE KEY UPDATE after an RO node was promoted to RW caused table Autoinc rollback.

8.0.2.2.26(2024.10.21)

Performance optimizations

Description

  • Optimized the statistics sampling mechanism by increasing the sampling frequency for large tables and ensuring it covers the value range of each column. This improves the accuracy of the optimizer's cost estimation.

  • Optimized column storing node Serverless flow process.

    Newly added columnar nodes are now allowed to serve external requests only after indexes are ready, reducing slow queries caused by SQL using row store plans on newly added nodes during the indexing period.

  • Optimized In-Memory Column Index (IMCI) in SQL during execution, maintaining storing partition information with to performance overhead, improving partitioned table query performance.

Bug fixes

Description

  • Fixed an issue that caused incorrect result sets when merging IN keywords in a nested subquery.

  • Fixed related subquery using window function nesting process in crash.

  • Fixed a crash during migration that was caused by a concurrency issue between high-frequency INSTANT DDL operations and background compaction tasks.

  • Fixed B-tree corruption caused by adding an auto-increment column and creating a reverse-order primary key index on that column.

  • Fixed an issue where the Autoinc value rolled back to 0 after all data in a table was cleared.

  • Fixed an IMCI fallback to the row store when processing an expression that contained multiple subqueries with SUM.

  • Fixed incorrect results that could occur when using a JSON_ARRAY expression in a subquery with IMCI enabled.

  • Fixed a system crash during query transformation that occurred when the number of tables exceeded 61.

  • Fixed UNIQUE CHECK IGNORE partitioned table with has REPLACE LOAD DATA two time import mutual same data error issue.

  • Fixed partitioned table in HA (node failover) after occurring Autoinc rollback issue.

  • Fixed an issue that caused the new database and table recovery workflow to be interrupted after multiple recovery rounds on the same table.

  • Fixed an issue that prevented online IMCI rebuilds, which made the columnstore index unavailable.

  • Fixed a rare issue where a query failed because the column store executor accessed invalid data when processing string values.

  • Fixed performance degradation caused by using the Index_merge optimization for UPDATE statements.

  • Fixed an issue where Index JOIN in In-Memory Column Index (IMCI) using constants as JOIN conditions could trigger errors.

  • Fixed parallel process in table function condition under pushing, avoiding parallel execution situation under execution failure.

  • Fixed ePQ multiple instance parallel enabling after Outline in specifying not existing index could cause error issue.

  • Fixed an issue where asynchronous DDL could not be used when modifying COMMENT to add In-Memory Column Index (IMCI) on a table with full-text indexes.

  • Fixed a potential cluster crash during the Undo initialization phase when Force Recovery was enabled.

  • Fixed an issue that caused incorrect results in an InnoDB temporary table update scenario.

  • Fixed Proxy high level transaction splitting minute and Fast query cache between conflict affecting results aggregation issue.

  • Fixed incorrect parallel query results that occurred when the query contained a constant table.

  • Fixed an issue where JSON_Length returned incorrect results when using a wildcard character.

  • Fixed an issue that caused an RO node to get stuck during the HA phase, resulting in prolonged HA switchover times.

  • Fixed an issue where using constant values for sorting in window functions could cause parallel query execution to crash.

  • Fixed a crash that could occur on an RO node during the HA (node failover) phase when the RO No Sync feature was enabled.

8.0.2.2.25.2(2024.08.13)

Bug fixes

Description

Upgraded the file system version and optimized the writable snapshot cluster restoration process.

8.0.2.2.25.1(2024.08.10)

Bug fixes

Description

Fixed file system version and managing controlling system compatible with issue.

8.0.2.2.25(2024.08.08)

New features

Description

  • Added support for the JSON_VALUE() function to simplify creating indexes on JSON columns.

  • Added support for continuous data modification during Copy DDL execution.

  • Added support for pushing down JOIN conditions to their corresponding views.

  • What is In-Memory Column Index (IMCI) Added base at Hybrid Plan index join, support advantage using InnoDB index performing JOIN.

  • Added support for directly accessing data tables on AI nodes through federated external tables.

  • Added OSS OUTFILE feature support parallel export to OSS engine.

  • Added support for high-priority DDLs to ensure successful execution.

  • Added support for locking archived tables.

  • Added a hybrid row-column optimizer and cost-based row-column routing.

  • Added Optimized feature as within connection or half connection eliminating.

    Optimized external connection eliminating feature and extending more multiple scenarios.

  • Enable optimized binlog writing for large transactions, avoiding blocking other transaction commits.

  • Added What is In-Memory Column Index (IMCI) in Hybrid Plan Added support for partitioned table, virtual column, ENUM, SET and GIS type column support.

  • Added row within execution process in support dynamic failover column storing.

  • Added support for OSS query acceleration. Manual or automatic partition archiving can now synchronously generate OSS_FILE_FILTER query acceleration data.

Performance optimizations

Description

  • Optimized PolarDB for MySQL8.0.1 and above version, Added support for explain displaying outline invoking situation.

  • Optimized PolarDB for MySQLORDER BY LIMIT under pushing feature, support ORDER BY LIMIT pushed down to JOIN Tables in.

  • Enabled dynamic adjustment of PolarDB IO Threads without requiring a restart.

  • Reduced the query optimization time for single-table queries.

  • Optimized What is In-Memory Column Index (IMCI) in DML transaction back placing performance issue.

  • Optimized What is In-Memory Column Index (IMCI)bloom filter hash algorithm, and using string prefixes structure building bloom filter section saving structure building overhead.

  • Optimized simulated AIO performance.

  • Improved the performance of 3-AZ clusters under low concurrency.

  • Enhanced the non-blocking DDL feature to support more DDL statements.

  • Optimized What is In-Memory Column Index (IMCI) in query when using metadata memory.

  • Optimized adjusting Polarfs transaction processing thread optimization first level, improving PolarDB for MySQL DDL performance.

  • Optimized file system performance and stability during DDL operations that frequently create and delete table files.

Bug fixes

Description

  • Fixed a crash caused by a hash self-join on a Common Table Expression (CTE) within a parallel query.

  • Fixed an out-of-memory (OOM) error that occurred during IMCI execution when a query contained an excessive number of UNION ALL clauses.

  • Fixed an issue on an RO node where user threads waited excessively for a free page when the buffer pool was full.

  • Fixed an issue where the statistics sampling mechanism frequently sampled large tables.

  • Fixed an issue where removing RO nodes could cause monitoring connections to be blocked for a period of time when innodb_polar_log_rdma_transfer was enabled.

  • Fixed an issue where some implicit type conversions were incompatible with CASE in MySQL.

  • Fixed an issue where partitioned table archiving to OSS external tables did not support certain operations.

  • Fixed incorrect identification of connection errors in acknowledgment (ACK) packets from a secondary node.

  • Fixed for large table execution analyze table during operations occurring memory not sufficient (OOM) error.

  • Fixed an issue where the view merging process failed to remove unnecessary subqueries.

  • Fixed an issue in the conversion of inlist to JOIN where an inconsistent inlist type caused an inconsistent result set.

  • Fixed an issue where a query rewrite could not read data from a single-row subquery when using index_merge.

  • Fixed subquery converting semi join crash issue.

  • Fixed query rewriting with anti join standard volume subquery converting derived table crash.

  • Fixed a precision loss issue with floating-point numbers in JSON.

  • Fixed global consistent high-performance mode (SCC) Log RDMA feature, not compatible with GDN standby cluster issue.

  • Fixed an overflow issue caused by converting a large double value to uint during the parallel computation planning process.

  • Fixed an underestimation of the REF or MULTI_RANGE access cost for secondary indexes that did not include the partition key in a UCI partitioned table.

  • Fixed JSON in double value in parse phase precision degree exception loss issue.

  • Fixed an issue that caused the database to hang during a manually triggered checkpoint.

  • Fixed query rewriting derived merge and standard volume subquery resolving nesting rule interleaved process in crash issue .

  • Fixed a security issue in the crash recovery process of external MySQL XA transactions.

  • Fixed an issue where statistics on an IMCI partitioned table became invalid in partition pruning scenarios.

  • Fixed an issue with function index InnoDB table unable to cold data archiving issue.

  • Fixed an issue where setting separator characters in optimizer_switch and parallel_query_switch values would report errors instead of warnings.

  • Fixed DML statement default prohibited index merge intersection access path, improving performance preventing deadlock issue.

  • Fixed an issue where cardinality estimation errors prevented the optimizer from selecting the optimal JOIN ORDER.

  • Fixed CREATE TEMPORARY TABLE SELECT STATEMENT attribute with column storing column error issue.

  • Fixed a potential assertion failure during table optimization.

  • Fixed an issue with inaccurate query cache results caused by comparing time and datetime during single-node and multi-node parallel execution.

  • Fixed an incorrect IP address in the audit log for connection reuse under a session-level connection pool.

  • Fixed an underestimation of the cost for primary key-based point and range queries on UCI partitioned tables.

8.0.2.2.24(2024.06.21)

Performance optimizations

Description

Bug fixes

Description

  • Fixed empty table using Parallel DDL creating Global Secondary Indexes (GSIs) when error issue.

  • Fixed incorrect statistics estimation for large tables with Blob fields.

  • Fixed an issue where the number of scanned rows for derived tables was not recorded during audit and slow query log scans.

  • Fixed a space leak caused by an exception during the shrink process.

  • Fixed hybrid partitions in meanwhile containing InnoDB partition and ORC during partitioning, in parallel query process in occurring error.

  • Fixed incorrect result sets caused by improperly collapsed subqueries.

  • Fixed engine version from 8.0.1 upgrade to 8.0.2 after, with has sub-partition partitioned table unable to execution adding column (ADD COLUMN) operation issue.

  • Fixed a parallel query bug that could cause a cluster crash when the predicate contained a DEFAULT expression.

  • Fixed DLM strategy during execution permission passing high issue.

  • Fixed archived table in existing downgrading order index when performing archiving operation failure.

  • Fixed a bug that prevented the reclamation of Blob space from the original record when updating a Blob column.

  • Fixed an issue where using BIGINT columns as JOIN conditions with very large values could cause inaccurate cardinality estimation, preventing In-Memory Column Index (IMCI) from being used.

  • Fixed an issue where updating statistics on In-Memory Column Index (IMCI) partitioned tables could sample only some partitions, causing inaccurate statistics.

  • Fixed a bug where useless subqueries were not deleted during the view merging process.

  • Fixed an issue where a parallel query could crash when a CTE used as the right table in a LEFT JOIN is eliminated.

  • Fixed an issue where SQL Explorer could show 0 as the transaction ID for read-write transactions when the thread pool was enabled.

8.0.2.2.23.1(2024.05.20)

New features

Description

Added returned row count information to Fast Query Cache. Queries that hit the cache now display the returned row count in audit logs.

Bug fixes

Description

  • The number of rows scanned by a derived table is now recorded in the audit log and slow query log.

  • Fixed a bug that caused queries to return no data when Limit Offset pushdown was used with an equality condition on a secondary index and an IN list condition on the primary key.

  • Comparisons between FLOAT and INT types now return correct results.

8.0.2.2.23(2024.05.08)

New features

Description

  • Added the limit_orderby_pushdown_mode parameter to control whether LIMIT and ORDER BY are pushed down to derived tables or all sub-branches of UNION ALL. When LIMIT is less than the limit_pushdown_to_union_threshold value, LIMIT and ORDER BY are pushed down to all sub-branches of UNION ALL.

  • In-Memory Columnar Index (IMCI) now supports LEFT JOIN based on TopK pushdown.

  • The optimizer can now convert a LEFT JOIN to an INNER JOIN using a query transformation based on HAVING conditions and the outer conditions of a view.

  • The optimizer can now eliminate redundant DISTINCT operators from query statements to improve execution speed.

Performance optimizations

Description

  • You can now accelerate queries on CSV data files stored in Object Storage Service (OSS).

  • Added support for executing INSTANT DROP PARTITION on partitioned tables with existing global secondary indexes (GSI) without invalidating the GSI on the partitioned table.

  • Improved the read performance of read-only (RO) nodes.

  • Added support for LEFT JOIN elimination in UPDATE statements.

  • The SQL Trace feature now correctly records SQL statements and their execution plans when you call a built-in stored procedure.

  • You can now use the instant add column feature on tables that have a columnstore index.

  • Non-equality predicate derivation is now supported, allowing more predicates to be pushed down.

  • Simplified the usage flow of row-column auto-routing parameters. Also supports returning explicit reasons through SET use_imci_engine=FORCED when column store is not used.

  • Optimized the subquery execution process to collapse multiple subqueries for elimination where possible.

  • Hybrid Plan now supports temporary tables to accelerate wide table queries.

  • The thread pool now handles connection requests faster in low-concurrency scenarios.

  • The rman.import command is now supported for a columnstore index.

  • Optimized the statistics sampling feature for X-Engine to estimate the approximate compression ratio.

  • You can now create Tair RO nodes to provide cache read capabilities.

  • When monitoring database performance, the impact of system administrator access on the slow_queries status metric is now ignored.

  • Reduced the metadata overhead for memory allocation and statistics in IMCI to conserve memory.

  • X-Engine now supports parallel query on single and partitioned tables.

  • IMCI now supports the BatchProbe optimization method to improve JOIN performance.

  • Optimized the memory usage of IMCI metadata, file modules, and small resident objects, reducing resident memory consumption.

  • You can now use columnstore index and global consistency (high-performance mode) at the same time.

  • Stats Manager can now automatically dispatch histogram collection tasks to a read-only node or hot standby node for automatic histogram updates.

  • Optimized the I/O performance of PolarFS read-only nodes, improving their query response speed.

Bug fixes

Description

  • Fixed an issue where subsequent buffer pool scale-out requests could not be executed. This occurred because the automatic cancellation of a previous scale-in operation was blocked by a large user SQL query that did not release its occupied pages.

  • Fixed an issue when using dbms_oss.delete_table_file within setting stored procedure unable to deleting CSV and ORC format cold data issue.

  • Fixed a potential node crash caused by the automatic cancellation of a previous buffer pool scale-in operation under high concurrency.

  • Fixed an issue where a query might not be dispatched to the columnstore index for execution if it contained a subquery that returned an empty result set.

  • Fixed an internal counter error in the thread pool that occurred when an ACL lock wait was encountered during asynchronous authentication.

  • Fixed an issue where an assertion message was returned when performing a multiplication operation on Decimal data if at least one multiplier was 0 and the scale of the result exceeded 16.

  • Fixed an issue that occurred during one-click upgrades from RDS for MySQL to PolarDB for MySQL, where a restart of the PolarDB for MySQL cluster would interrupt the migration link.

  • Fixed a node crash that occurred when querying a hybrid partition containing both InnoDB and ORC partitions.

  • Fixed a data loss issue that occurred when repeatedly archiving data to an OSS external table.

  • Fixed a node crash caused by accessing an invalid Blob reference when performing a read-ahead operation on Blob data.

  • Fixed an intermittent node crash that occurred when the read-ahead feature was enabled while using a columnstore index.

  • Fixed an issue where hint syntax was not supported in the join condition pushdown feature.

  • Fixed an issue where hint syntax was not supported in the predicate pushdown to subquery feature.

  • Fixed incomplete HAVING condition pushdown.

  • Fixed a potential node crash in a parallel query that occurred when a non-correlated subquery was executed while a projection column was referenced in the HAVING clause.

  • Fixed excessive Autoinc init log printing.

  • Fixed an issue where the subquery merging feature did not support optimizer hints.

  • Fixed an issue where an OSS external table returned an error in an ORDER BY DESC scenario.

  • Fixed an out-of-bounds memory access issue that occurred when IMCI compressed an oversized strpack.

  • Fixed a potential performance regression that occurred when conditions were pushed down to a derived table.

  • Fixed an issue where BIT fields were displayed incorrectly after a GROUP BY operation.

  • Fixed a slow query performance degradation issue in X-Engine caused by strict concurrency control of background compaction tasks, which affected foreground operations.

  • Fixed an issue in parallel query that caused incorrect results. This occurred when a plan shard contained multiple tables performing a partition-wise parallel scan and also executed a parallel hash join operation.

  • Fixed an issue where subquery unnesting caused a column in group statement is ambiguous warning.

8.0.2.2.22.1(2024.04.17)

Performance optimizations

Description

  • Improved the error messages for importing cold data from OSS into the InnoDB engine.

  • SQL Trace can now track the execution of slow queries.

Bug fixes

Description

  • Fixed a memory leak during a Reload operation for features such as Statement Outline and Concurrency Control.

  • Fixed left connection INFORMATION_SCHEMA database in table when results error.

  • Fixed an issue where a DLM policy remained active after the table structure was changed.

  • Fixed an issue where partitioned table on execution INSERT INTO ON DUPLICATE VALUE when executing the command error Can't find record on <table> issue.

  • Fixed an issue where containing has auto-increment column partitioned table on execution TRUNCATE PARTITION when executing the command small probability crash.

  • Fixed an issue where running a parallel query on a large table with a tall or skewed B-tree resulted in too few parallel shards or unbalanced data distribution among concurrent workers.

8.0.2.2.22(2024.04.07)

Performance optimizations

Description

  • Added support for granting users global dynamic privileges to execute the SHOW_ROUTINE, FLUSH_USER_RESOURCES, FLUSH_TABLES, FLUSH_STATUS, and FLUSH_OPTIMIZER_COSTS commands.

  • Disabled the small partial update feature for BLOBs to prevent potential data read errors when reading BLOB-type fields.

  • When using the HINT syntax SET_VAR to set the loose_optimizer_switch parameter value, a trailing comma is no longer required.

Bug fixes

Description

  • Fixed an issue where executing an EXCHANGE PARTITION operation with different index orders corrupted an index and prevented access to table data.

  • Fixed a deadlock in DDL read-ahead in parallel DDL scenarios.

  • Fixed an issue where an unexpected checkpoint LSN caused crash recovery to fail after an abnormal cluster restart.

  • Fixed an issue that required a node restart to recover from an Autoinc rollback.

  • Fixed an issue where Hybrid Plan applied to SQL statements with ORDER BY that output rows containing NULL would report a "table definition has changed" error.

  • Fixed an issue where some built-in stored procedures did not correctly report errors when given an incorrect number of input variables.

  • Fixed an issue where duplicate groups appeared in the result set when a parallel query pushed down GROUP BY to a Worker for parallel execution on a partitioned table.

  • Fixed an issue where creating a table with DECIMAL type columns incorrectly reported a "Row size too large" error.

  • Fixed a rare crash during the undo cleanup process when using a temporary table after the flashback query feature was enabled.

  • Fixed an issue where the optimizer failed to omit a sort operation after selecting an ordering index.

  • Fixed an issue where the JOIN elimination optimization failed to update the column information of remaining tables. This could prevent the optimizer from selecting the optimal access method for the table.

  • Fixed a potential error in query results when the optimizer chose the materialization policy for a semi join.

  • Fixed primary key not containing partition key partitioned table in binlog_row_image=MINIMAL situation under, Binlog Record cannot unique one defining position certain one row record issue.

  • Fixed an issue where a UCI index could be non-unique when the primary key did not include the partition key in the following scenarios:

    • Pulling up an inner table of a semi join

    • GROUP BY or DISTINCT eliminating scenarios;

    • Adding a unique key dependency for JOIN elimination

    • Decorrelating a correlated scalar subquery by converting it to a derived table through a window function

    • Processing a GroupJoin query with a columnstore index

8.0.2.2.21(2024.01.17)

New features

Description

  • When global consistency (high-performance mode) is enabled, you can use a hint in an SQL statement to disable the feature for statements that do not require it.

  • Supports using correlated subqueries in the GROUP BY clause and eliminating complex correlated subqueries.

  • Supports Concurrency Control and Statement Outline in a Multi-master Cluster (Database/Table). When you add or delete Concurrency Control or Statement Outline rules on one primary node, these changes automatically synchronize to all other primary nodes in the cluster.

  • Added support for PolarDB for MySQL cluster in adding Tair cache node, to read PolarDB for MySQL database in data.

Performance optimizations

Description

  • Optimized thread pool handling of connection requests in low-concurrency scenarios.

  • Optimized the columnstore index (IMCI) startup process.

  • Improved the data read performance on read-only (RO) nodes during secondary index lookups that fetch data using the primary key.

  • Optimized the transaction mask calculation process in the columnstore index (IMCI).

Bug fixes

Description

  • Fixed an issue where a cluster upgrade could invalidate Concurrency Control (CCL) rules that match a DIGEST value.

  • Fixed a node crash caused by adding backticks to input parameters when calling certain built-in stored procedures.

  • Fixed an issue where TopK queries using the columnstore index (IMCI) returned incorrect results when sorting in descending order on tables with a large number of NULL values.

  • Fixed an issue that prevented a read-only columnstore node from recovering columnstore data if started during a DDL operation on a table with a columnstore index.

  • Fixed an issue that, in some scenarios, prevented elastic parallel query (ePQ) from being used in queries that contained a recursive CTE.

  • Fixed an issue in the new database and table recovery process where adding a new read-only (RO) node failed due to a low registration offset.

  • Fixed an issue in the new database and table recovery process where a thread could not exit due to a full disk.

  • Fixed an issue where concurrent modifications to data structures during physical replication in X-Engine caused exceptions on read-only (RO) nodes.

  • Fixed a failure when upgrading an X-Engine read replica to a standby.

  • Fixed an issue where modifying the character set of a partition key in a partitioned table did not re-partition the data.

  • Fixed an issue where querying views containing data of the BIT type with the columnstore index (IMCI) returned incorrect results.

  • Fixed high write latency on X-Engine tables in low-concurrency scenarios.

  • Fixed an issue where GROUP BY could not find the corresponding column after a single-row subquery pull-up.

  • Fixed an issue that caused incorrect results when the subquery_to_derived feature was enabled in MySQL Community Edition.

  • Fixed an issue when using polar_abbrev_sort_key_size parameter controlling sorting during operations, writing bad memory issue.

  • Fixed an issue where an equality query on a partitioned table returned data only from the first partition if the table's primary key did not include the partition key and a unique key was selected for an index merge.

2023

8.0.2.2.20(2023.12.20)

Performance optimizations

Description

  • For a cluster that previously lacked a Statement Outline, adding one after a version upgrade ensures that outline matching is no longer affected by the character set.

  • Optimized the process of enabling global consistency (high-performance mode).

  • You can access the INFORMATION_SCHEMA view of the column store from any node. By default, the view aggregates and displays information from all column store nodes.

  • Improved the database and table restoration feature, increasing restoration speed and adding support for task failure rollback.

Bug fixes

Description

  • Fixed a potential node crash during a parallel scan on a derived table with ROLLUP calculations.

  • Fixed a node crash caused by an incorrectly formatted user-defined CONNECTION string when creating an OSS external table.

  • Fixed an issue that blocked dirty page flushing on an RW node if it failed to terminate the replication connection to an RO node whose physical machine had failed.

  • Fixed an issue where an excessive number of tables after an HA switchover led to table cache eviction, which caused auto-increment values to roll back.

  • Fixed a replica node crash caused by an extreme redo log sequence. The sequence was generated by a race condition between deleting an X-Engine table or index and a background SwitchMemtable operation.

  • Fixed an internal connection object leak caused by the abnormal termination of an elastic parallel query (ePQ) when a remote connection was forcibly closed.

  • Fixed an issue where a parallel ROLLUP query returned incorrect results if the GROUP BY clause contained multiple identical constant columns.

  • Fixed an assertion error that occurred when accessing a partitioned table's global secondary index (GSI) with RANGE INDEX after partition pruning had removed all partitions.

  • Fixed an archiving failure caused by BLOB columns in the table when archiving cold data to the ORC format.

  • Enabled parallel queries to use a global secondary index (GSI) in MRR and other scenarios.

8.0.2.2.19.1(2023.11.13)

Bug fixes

Description

Incorporated the official MySQL 8.0.16 patch to fix a deadlock issue caused by excessively large Blobs.

8.0.2.2.19(2023.10.30)

New features

Description

  • Added the opt_non_covering_key_cost parameter to control whether the initial positioning cost of secondary indexes is considered.

  • Added a parameter worst_seek_records_threshold, using at controlling in cost estimation when whether limiting and other value non- overwritten index access IO cost most large value.

Performance optimizations

Description

  • Optimized the promotion of a read-only node to a primary node.

  • Optimized how the thread pool handles new connections.

  • The optimizer can now push down conditions to a derived table when the subquery is a UNION clause.

  • The optimizer can now push down more conditions to a derived table by using the transitive property of equality conditions.

  • The optimizer now supports pushing down eligible predicates into a subquery.

  • Improved the cost model for equality lookups on non-covering indexes.

  • Reduced memory consumption for the table object cache and table definition cache.

  • Added automatic archiving of cold data for all RANGE partitioned tables using DLM.

  • The optimizer can now select a GSI for a partitioned table in queries that use partition pruning.

Bug fixes

Description

  • Fixed a bug that could prevent the cluster from starting if the AccessKey information for OSS SERVER was corrupted.

  • Fixed query failures in some scenarios caused by excessive memory consumption from the GroupJoin operator.

  • Fixed a bug that prevented the execution of some queries with OR predicates because the query plan failed to bind to the correct columns.

  • Fixed inaccurate join selectivity estimates from the optimizer when joining an unsigned column with a signed column.

  • Fixed a bug that could cause the database to restart when a query was terminated by the scheduler.

  • Fixed space reclamation failures caused by a read-only node of X-Engine not reporting version reference information.

  • Fixed a failure that occurred when rolling back an advanced RowID while loading a checkpoint.

  • Fixed an I/O performance regression for the columnstore index in late materialization scenarios.

  • Fixed a potential infinite loop during partition pruning that occurred when a partition was not found.

8.0.2.2.18(2023.09.17)

Bug fixes

Description

Fixed an issue where deleting the last CCL rule that only had a keyword (without schema and table) among identical SQL statement types could cause a node crash.

8.0.2.2.17(2023.08.23)

Performance optimizations

Description

Improved archiving speed when archiving cold data in CSV format to OSS.

Bug fixes

Description

  • Fixed using account meanwhile hitting open global consistent (high-performance mode) and elastic parallel query (ePQ) when using the feature, could trigger Table definition has changed error.

  • Corrected inaccurate scan row counts for SQL statements in index condition pushdown scenarios.

  • Resolved a node crash that could occur when using phrase search in a full-text index.

  • Fixed an issue where newly connected read-only nodes would crash after the read-write node performed an undo truncate.

8.0.2.2.16.1(2023.07.25)

Bug fixes

Description

  • Fixed high CPU usage caused by a background thread.

  • Fixed a potential cluster startup failure caused by a corrupted AccessKey for the OSS Server.

8.0.2.2.16(2023.07.23)

New features

Description

Added a parameter innodb_polar_import_tablespace_strict_mode, default value as ON, i.e. execution database table recovery during operations, table structure in containing full-text index would error.

Performance optimizations

Description

  • You can now use a columnstore index to query specific partitions of a partitioned table.

  • Columnstore indexes can now use the primary index of the InnoDB engine to accelerate queries.

  • The system now converts IN subqueries to semi-join subqueries for UPDATE or DELETE operations on a single table.

  • The system now converts scalar subqueries to materialized tables in join queries.

  • You can now use the Fast Query Cache feature with partitioned tables in the InnoDB engine.

  • Creating an OSS external table no longer automatically creates an implicit auto-increment primary key.

  • You can now create a global secondary index on a partitioned table with UNIQUE CHECK IGNORE=1.

Bug fixes

Description

  • Fixed an issue where the JPPD optimization feature crashed when a common table expression (CTE) contained a nested CTE with multiple references.

  • Fixed an issue where database and table restoration failed when performed on hybrid partitioned tables.

  • Fixed an issue where a secondary node failed to reconnect after the primary node was shut down and restarted.

  • Fixed a rare issue where a process could be re-interrupted during fault recovery.

  • Fixed an issue where INSERT operations on a partitioned table with UNIQUE CHECK IGNORE=1 placed data in the wrong partition.

8.0.2.2.15(2023.06.28)

New features

Description

Added ALTER TABLE table_name CHANGE PARTITION partition_name ENGINE=CSV/ORC FORCE; syntax.

Performance optimizations

Description

  • Supports log transmission between read-write (RW) nodes and read-only (RO) nodes through an RDMA network.

  • Supports archiving partitioned tables and standard tables with auto-increment columns to OSS.

  • The federated query engine now supports pushing down the ORDER BY syntax to a remote database, which reduces network overhead when used with LIMIT and OFFSET.

  • Supports creating a columnstore index on a hybrid partitioned table (InnoDB+ORC).

  • Optimized the thread pool for handling short-lived connections.

  • DLM now supports archiving InnoDB partitions in a partitioned table to OSS.

  • Supports adding and deleting InnoDB partitions in a hybrid partitioned table.

Bug fixes

Description

  • Fixed a bug that prevented the prompt interruption of queries using a columnstore index and the cleanup of their temporary files when the disk became full.

  • Fixed an issue where parameters had no effect in repeated executions of a stored procedure.

  • Fixed an issue where regular users could delete the sys account.

  • Fixed an issue with an internal counter in the thread pool that could cause a backlog of SQL requests during concurrent recording of slow query logs.

  • Fixed an issue that caused a node to restart unexpectedly during a database and table restoration on a partitioned table after an HA switchover.

  • Fixed an issue where the checkpoint LSN did not advance as expected.

  • Fixed an issue where executing query operations on read-only nodes while ALTER TABLE ... IMPORT TABLESPACE was running on the read-write node could cause errors.

8.0.2.2.14(2023.05.24)

New features

Description

  • Added partition archiving command ALTER TABLE table_name CHANGE PARITION part_name ENGINE = 'csv';.

  • Added the row-level compression feature.

  • Added primary key data switching fragment function call dbms_dts.show_parallel_ranges (<schema_name>, <table_name>, [<suggestion_ranges>]).

Performance optimizations

Description

  • You can now create a columnstore index on a virtual column.

  • You can now use the recycle bin for tables with a columnstore index.

  • Optimized OSS query capability. After enabling the elastic parallel query feature, when the loose_csv_max_oss_threads parameter value is greater than 1, parallel queries are performed directly.

  • Improved the error messages for incorrect file formats in OSS external tables.

  • Added support for reading from and writing to OSS in ORC format.

  • Improved error messages for spelling errors.

Bug fixes

Description

  • Fixed replication delays that occurred when replaying the Redo log of a wide table on an RO node.

  • Fixed a node crash that occurred when querying a hybrid partitioned table with order index optimization.

  • Fixed a node crash that occurred when truncating a hybrid partition.

  • Fixed an issue where queries that use both Limit Offset pushdown optimization and a window function returned incorrect results.

  • Fixed an issue that prevented OSS from running queries in parallel.

  • Fixed an issue where OSS could not read JSON files.

  • Fixed a typo in the engine keyword.

  • Fixed an issue where reading CSV-formatted cold data from OSS might only read the first file.

  • Fixed with \n data, through DLM archiving after unable to read issue.

  • Fixed an issue where cold data archiving could leave temporary files on OSS.

8.0.2.2.13(2023.04.21)

New features

Description

  • Hint Plan Added Hint kind category BNL, BKA and MRR.

  • SQL Sharing in Added changing volume by_expr_ignore_charset. would by_expr_ignore_charset setting as ON after, would eliminating not same character set under containing Order By or Group By statement generating digest difference different. but setting as ON after, all in the in mode generating digest value all would and setting as ON before generating digest value not same.

  • Statement Outline feature Added receiving port dbms_outln.add_optimizer_outline('schema', 'hints', 'query'), using at adding Optimizer Hints.

  • Added ALTER TABLE table_name CHANGE PARTITION partition_name ENGINE = 'csv'; command, using at would partitioned table on specifying partition all data archiving to OSS.

Performance optimizations

Description

  • Optimized memory consumption when scanning tables in the recycle bin.

  • Added support for querying GTID information on a read-only node.

  • The columnstore index now supports instant add column. This is achieved by rebuilding the index data.

  • The columnstore index now supports the REGEXPR function.

  • The columnstore index now supports pruning optimization for IS NULL and IS NOT NULL conditions.

  • Added support for Parallel DDL to parallel creating global secondary index.

  • Added support for already creating global secondary index partitioned table on using Instant column addition at the end of a table feature.

  • Added support for converting a table with a global secondary index to an interval range partitioned table. You can also create a global secondary index on an interval range partitioned table.

  • To improve performance, the system now skips calculating the digest for SQL statements without a Statement Outline.

  • Non-blocking DDL now supports the OPTIMIZE TABLE and TRUNCATE TABLE statements.

Bug fixes

Description

  • Fixed a database connection failure caused by a read timeout when establishing physical replication on a read-only node.

  • Fixed an issue where incorrect pushdown occurred for tables with NULL fields when the engine_condition_pushdown parameter was set to true.

  • Fixed an issue when executing ALTER TABLE engine = csv storage oss, force; when executing the command, unable to deleting OSS on source file issue.

  • Fixed a database node crash that occurred when checking an empty OSS external table.

8.0.2.2.12(2023.03.20)

New features

Description

  • Added Nonblocking DDL statements feature.

  • Added SQL Trace feature.

  • Added SQL detail feature.

  • Added Auto Plan Cache feature.

  • Added In-Memory Column Index (IMCI) feature.

  • Global consistency (high-performance mode) added the Innodb_scc_timeout_count parameter to record the number of query timeouts.

  • Global consistency (high-performance mode) added the Innodb_scc_timeout_degrade_count parameter to record the number of times queries were degraded to asynchronous queries due to timeout.

Performance optimizations

Description

  • Statement Outline now generates a warning instead of an error for non-existent index hints.

  • The slow query log now includes execution plans in its extended data.

  • Memory for statement digest calculation now scales dynamically with query length.

  • Concurrency Control (CCL) added the ccl_mode parameter. When database access traffic reaches the concurrency control limit, requests to access the current cluster from other sources are rejected.

  • Built-in stored procedures now support input variables prefixed with an at sign (@).

  • The internal lock granularity of PolarFS has been optimized, significantly improving performance under high load.

Bug fixes

Description

  • Adding or deleting CCL rules or Statement Outlines on a hot standby node or a read-only node now correctly generates an error.

  • Fixed an issue where primary node execution SHOW SLAVE HOSTS when executing statements, causing cluster crash.

8.0.2.2.11.1(2023.02.21)

New features

Description

Added a parameter loose_group_by_compatible_sorting, using at controlling whether enabling Group By sorting compatible with mode.

Performance optimizations

Description

Statement Outline with an empty Schema_name now matches all SQL statements with the same Digest value.

Bug fixes

Description

Fixed potential illegal memory access when executing a DDL statement on a partitioned table.

8.0.2.2.11(2023.02.20)

Performance optimizations

Description

  • When the partition expression contains an auto-increment column (AUTO_INCREMENT), users can specify the value of that column, and partition pruning is performed based on the specified value.

  • The ADD PARTITION syntax for partitioned tables now supports the WITHOUT VALIDATION option for adding LIST partitions.

8.0.2.2.10(2023.01.09)

New features

Description

The syntax for converting a regular table to a partitioned table now includes the WITHOUT VALIDATION option. Syntax: ALTER TABLE t1 PARTITION BY RANGE(a) (PARTITION p0 VALUES LESS THAN (100), PARTITION p1 VALUES LESS THAN (200)) WITHOUT VALIDATION.

Performance optimizations

Description

  • Cost-based computation now supports pushing down outer join conditions of materialized derived tables to the inside of the derived table.

  • The optimizer now converts a predicate condition with an IN-List to a temporary table, performs a semi-join with the query in the from clause, and avoids the overhead of repeated materialization by using a zero-copy method.

  • The optimizer now pushes down conditions from the HAVING clause to the WHERE clause.

  • DDL operations on subpartitions now use a partition-level MDL to reduce lock granularity. During DDL execution, only the modified partition is affected, and DML operations on other partitions are not blocked.

Bug fixes

Description

  • When TDE is enabled, encryption of system tables is disabled.

  • Timeout parameters for physical replication connections have been adjusted to prevent hangs during a physical machine failure.

2022

8.0.2.2.9(2022.12.23)

Performance optimizations

Description

  • Trailing semicolons in the query parameter of the built-in stored procedures dbms_ccl.add_ccl_digest_rule, dbms_outln.add_index_outline, and dbms_outln.add_optimizer_outline are now ignored.

  • Changed the MEMBER keyword to a non-reserved keyword.

  • Added support for the Partial Result Cache feature.

  • Optimized join eliminating feature Added support for left join within table (including has multiple layer nesting join and Semi-Join within table) performing eliminating.

  • The federated query engine now supports pushing down all compatible conditions to the remote server for execution and returning only the columns required by the query.

  • The federated query engine now supports pushing down the LIMIT OFFSET syntax to the remote database for execution.

Bug fixes

Description

Fixed an issue where creating Server syntax in cannot using IF NOT EXISTS issue.

8.0.2.2.8(2022.11.30)

New features

Description

  • Added SELECT INTO OSSOUTFILE statement, using at would local table (PolarFS on table) export to OSS.

  • Added support for the hot standby failover feature.

  • Added the dynamic_partition_prune_enabled parameter to control the dynamic partition pruning feature. When enabled, in multi-table join query scenarios involving partitioned tables, unnecessary partition scans are reduced when join conditions satisfy partition pruning conditions, thereby improving query performance.

Performance optimizations

Description

  • Supports creating, deleting, and rebuilding indexes on specific partitions of a partitioned table.

  • REBUILD PARTITION and REORGANIZE PARTITION operations now use a partition-level MDL lock, ensuring DML operations on other partitions are not affected.

  • no longer to clear text format storage and displaying mysql.servers table in using account name and dense code.

    Note

    Existing Server usernames and passwords are not encrypted after upgrade. You need to manually delete them and recreate them.

  • Added support for partitioned table and regular table between using partition-wise join technology, significantly improving large data volume under partitioned table and regular table join efficiency.

  • Statement Outline support all UNION clause.

  • Limit offset pushdown now applies when accessing a specific partition in a partitioned table.

Bug fixes

Description

  • Fixed an issue in the parallel optimizer that caused an inaccurate estimation of the number of unique values for a GROUP BY field.

  • Fixed an issue where SQL statements would be recorded in the Binlog during a hot upgrade.

8.0.2.2.7(2022.10.25)

Performance optimizations

Description

  • You can now use multi-node elastic parallel query (ePQ) for cross-node queries of external table data on Object Storage Service (OSS).

  • You can now use a global secondary index (GSI) on partitioned tables.

  • You can now use multi-stage multi-node parallel query in queries that contain SJM (Semi-join Materialization).

Bug fixes

Description

  • Fixed the ERROR 1028 (HY000): Sort aborted: Query execution was interrupted error caused by early termination of LIMIT 1.

  • A node no longer crashes when a scheduled task writes to an implicit primary key.

  • Fixed an issue where COUNT(DISTINCT ...) returned incorrect result sets when using multi-node elastic parallel query (ePQ).

  • A parallel query no longer returns an incorrect result set when the query condition contains DATE and DATETIME types.

8.0.2.2.6.1(2022.09.17)

Bug fixes

Description

Fixed a crash on read-only nodes caused by file name hash value conflicts.

8.0.2.2.6(2022.08.19)

Performance optimizations

Description

  • Thread pool optimization: The thread pool now generates additional threads to process new requests while a transaction waits for a metadata lock or row lock.

  • Enhanced CCL to support DDL throttling.

  • Accelerated the DDL data rebuild process with an asynchronous write to a temporary file.

  • Improved thread pool performance under high concurrency.

  • in creating OSS server syntax in Added oss_sts_token parameter, using at configuration OSS temporary when access credential.

Bug fixes

Description

Fixed query in meanwhile existing Limit offset pushdown and MRR during optimization returns results error.

8.0.2.2.5.1(2022.07.22)

Performance optimizations

Description

  • Added support for creating hybrid partitioned tables. For more information, see the related documentation.

  • Read-only nodes now support custom memory temporary tables. This feature supports only the MEMORY and MyISAM engines.

  • Added support for the ReadableProto feature. It allows you to directly read data serialized and stored in a BLOB field by specifying the Protobuf protocol.

  • Optimized the DDL sorting algorithm by replacing a two-way merge with a multi-way merge to reduce I/O operations and improve the performance of DDL index creation.

  • in creating OSS server syntax in Added oss_prefix parameter, using at configuration OSS file path.

Bug fixes

Description

  • Fixed an issue where group_by_implicit_sorting produced unordered results during concurrent execution when selecting the index of a GROUP BY column.

  • Fixed an issue when EXPLAIN FORMAT=TREE statement to displaying Hash Join results in cost and rows error.

  • Fixed excessive physical replication latency under low cluster load.

  • Fixed an issue where the LRU List cleanup was blocked, preventing it from releasing a page. This occurred when there were too many dirty pages in the Buffer Pool and flushing was slow.

  • Fixed instant add column after rollback Update during operations producing record passing long, advancing while causing database crash.

8.0.2.2.4(2022.05.31)

New features

Description

Added support for users to create and use Federated engine tables.

Bug fixes

Description

  • Fixed an issue where SKIP_SCAN could return an incorrect result set when multiple sets of data exist in an index prefix.

  • Fixed an issue where SKIP_SCAN returned an incorrect result set for data marked for deletion.

  • Fixed an issue where the fast query cache blocked redo log synchronization when the read-only node acquired a metadata lock (MDL).

8.0.2.2.3(2022.04.19)

Bug fixes

Description

Fixed Using index for group by results error.

8.0.2.2.2(2022.03.31)

Performance optimizations

Description

  • PolarDB parallel query now supports the multi-node parallel execution engine (ePQ). For a single query, some or all Workers can be scheduled to remote nodes, leveraging the computing resources of multiple nodes in the cluster. Details are as follows:

    • The degree of parallelism for parallel queries can break through single-node bottlenecks and accelerate large queries and other analytical queries.

    • The engine schedules queries to idle nodes based on the global resource load to accelerate queries and improve resource utilization.

    • You can form multiple cluster groups to create a computing resource pool, providing greater elasticity for computing resources.

  • Added the restrict_on_limit_without_order switch to the parallel query parameter parallel_query_switch, which controls parallel queries with LIMIT but without ORDER BY.

  • PolarDB now supports condition pushdown to a materialized derived table.

8.0.2.2.1(2022.03.15)

New features

Description

Added the SET INTERVAL syntax to modify the INTERVAL type and value of INTERVAL RANGE partitions. Conversion between RANGE partitioned tables and INTERVAL RANGE partitioned tables is also supported. For more information, see the related documentation.

Performance optimizations

Description

  • Added support for OSS external tables. For more information, see the related documentation.

Bug fixes

Description

  • Fixed an issue where the history list could not be deleted, causing undo log inflation.

  • Fixed an issue when CREATE TABLE .. LIKE.. LIST DEFAULT HASH creating partitioned table when failure.

  • Fixed UNIQUE CHECK IGNORE in system table mysql.tables in displaying issue.

8.0.2.2.0(2022.01.12)

Performance optimizations

Description

  • Improved parallel query capability. Linear acceleration capability has been upgraded by one level with the introduction of multi-stage parallel computing.

  • Enhanced partitioned table capabilities. More partitioned table types are supported, including Interval partitioning. For more information, see Partitioned tables.

  • Added support for subquery decorrelation. For more information, see the related documentation.

  • Using PolarProxy, you can now use a stored procedure to define a sensitive field and tag its value metadata.

  • Added the STATUS variable Online_altered_partition to count the number of ALTER TABLE ADD PARTITION and ALTER TABLE DROP PARTITION operations performed online.

  • The database kernel now supports transaction breakpoint resume and allows a read-only node to read uncommitted transactions.

Bug fixes

Description

  • Added support for the SELECT FOR UPDATE WAIT N and SELECT FOR SHARE WAIT N syntax. N represents the lock wait timeout in seconds, applied per row lock. If a query needs to lock multiple rows, the time is not accumulated — timeout detection applies to each row individually. If the wait exceeds N seconds, a "Lock wait timeout exceeded; try restarting transaction" error is returned.

  • Fixed an issue where the optimizer did not select the optimal index range scan path for some GROUP BY statements.

  • Fixed an issue where a large group_concat_max_len parameter value caused arithmetic overflow, resulting in incorrect GROUP_CONCAT function results.

  • Added support for modifying the database cache size.

  • Optimized query performance by preventing unnecessary partition scans.

  • Fixed an issue where a DDL operation failed on an encrypted table.

  • Optimized master_key_id_mutex to allow DDL operations to execute in parallel.

  • Fixed a crash during log replay on a read-only node under high-concurrency workloads.

  • Fixed an issue where read-only nodes crashed at m_recv_bits.is_set(fold) during physical replication under high concurrency pressure.

2021

8.0.2.1.4.1(2021.10.26)

Performance optimizations

Description

innodb_adaptive_hash_index parameter default value by ON modifying as OFF.

Bug fixes

Description

Added support for modifying the database cache size.

2020

8.0.2.1.4(2020.12.01)

New features

Description

Added support for the official MySQL 8.0.20 Index Hints feature.

Bug fixes

Description

  • Resolved a stability issue with parallel Hash Join.

  • Fixed a bug in statistics that caused incorrect row count estimates for index keys.

  • Fixed an error in the parallel scan of shared temporary tables with empty data.

  • Fixed a data processing error in the REGEXP_REPLACE function.

  • Fixed a crash in complex queries containing subquery constants.

  • Fixed a bug causing filesort to return incorrect data.

8.0.2.1.3(2020.10.26)

Performance optimizations

Description

  • Improved the cost estimation model for Hash Join.

  • Added support for parallel Hash Join, including parallel Build and Probe phases.

Bug fixes

Description

  • Fixed an issue that caused the number of parallel partitions to be displayed incorrectly in a parallel execution plan.

  • Fixed a crash caused by parallel subqueries.

  • Fixed RAND() to produce random results across all worker threads in a parallel query.

8.0.2.1.2(2020.09.27)

Performance optimizations

Description

Parallel query now fully supports the latest volcano model iterative executor.

8.0.2.1.1(2020.08.26)

Performance optimizations

Description

Optimized cluster writing performance.

Bug fixes

Description

Fixed memory leak issue.

8.0.2.1.0(2020.07.22)

New features

Description

Added Buffer Pool warmup. During crash restart and upgrades, data in the Buffer Pool is retained, significantly accelerating restart speed and maintaining consistent performance after restart.

Performance optimizations

Description

  • EXPLAIN can now display a parallel plan. You can use FORMAT=TREE to view the parallel execution plan tree.

  • Parallel query now supports hash join, enhancing JOIN performance for tables without indexes. For more information, see the related documentation.

  • Added support for the Resource Manager feature, which enables monitoring of CPU and memory resources. For more information, see the related documentation.

  • Added support for Performance Agent, which collects and aggregates performance data for nodes in the cluster. You can query the PERF_STATISTICS memory table to obtain performance metrics. For more information, see the related documentation.