PolarDB for MySQL 8.0.2 release notes

Updated at:

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

2026

8.0.2.2.39 (2026.11.03)

New features

Description

  • Added support for mounting external Lance tables as foreign tables, enabling direct queries of external Lance data without importing data.

  • Added an incremental SQL optimizer switch for materialized views to centrally control multi-table aggregation incremental SQL optimization and fingerprint deduplication.

  • Added support for Multi-master Cluster partitioned tables to read their target tables with INSERT/REPLACE statements.

  • Added the ability to rename a transparent distributed Single Table within the same database in Multi-master Cluster (Limitless) Edition, while maintaining metadata consistency across multiple read-write nodes (RW) and global read-only nodes (RO).

  • Added Multi-master Cluster (Limitless) Edition support for distributed execution of INSERT... SELECT... LOCK IN SHARE MODE statements on transparent distributed tables.

  • Added an optional switch for PolarVector (vector retrieval) to skip supplemental scanning of unindexed data. The default retrieval behavior remains unchanged.

  • Added a dedicated routing error code for all-columnar queries and support for retaining single-table primary-key and covering secondary-index queries in row-store execution through a configurable row-count threshold.

  • Added a DBA command to explicitly delete the Delta table of an incrementally refreshed materialized view, reducing the risk of accidental deletion.

  • Added support for incremental materialized views to use a hybrid plan in clusters with global consistency (performance mode) enabled. The default-enabled materialized_view_ivm_hybrid_under_scc setting exempts internal incremental ETL sessions from SCC, improving the efficiency of supported multi-table inner-join incremental refreshes.

  • Added optimistic updates for BLOB-type fields in clustered indexes, reducing tree-lock contention.

  • Extended the safe DDL allowlist for incremental materialized view (IVM) base tables so that DDL statements meeting the safety conditions no longer interrupt incremental materialized view refreshes.

Optimizations

Description

  • For the In-Memory Column Index (IMCI), added lightweight in-memory compression for int/decimal packs, reducing memory charge and actual usage in the pack LRU.

  • Improved full-sort execution efficiency at high degrees of parallelism.

  • Optimized anchor-range pruning for incremental materialized view (IVM) backfill to avoid refresh failures caused by anchors already covered by refreshed ranges being counted repeatedly.

  • Improved statistics collection performance for IMCI columnar tables by reducing duplicate reads and materialization overhead during large-table sampling.

  • Optimized parallel reads and sort merging for X-Engine columnar table Direct Load, reducing temporary-file I/O overhead and improving large-scale data import performance.

  • Improved the creation performance of partitioned single tables in multi-master distributed databases by reducing repeated acquisition and synchronization overhead of global DDL locks when many indexes are created.

  • Optimized historical in-memory table memory usage on X-Engine columnar table read-only nodes (RO), reducing the resident memory overhead of read-only nodes.

Bug fixes

Description

  • Fixed an issue where, on Multi-master Cluster (Limitless) Edition, after enabling innodb_mm_enable_calculate_free_stats, the free-stats background thread could crash the mysqld process in the cold-load path after mysql.tablespaces Data Dictionary (DD) cache eviction because current_thd was null.

  • Fixed a parsing failure when obtaining auto-increment column values from X-Engine columnar tables.

  • Fixed an issue where an IMCI read-only node might fail to exit normally during concurrent shutdown of independent log parsing.

  • Fixed an issue where a broadcast table used as the preserved side of a LEFT JOIN with a distributed table could not be executed natively in partition-key, non-partition-key, and co-partitioned derived-table scenarios.

  • Fixed schema change failures when tablespaces were missing or discarded, and abnormal error codes when deleting tables in read-only mode.

  • Fixed an issue where a columnar index read-only node did not report metadata versions promptly after reconnecting, causing stale versions to accumulate and memory usage to grow.

  • Fixed a potential abnormal cluster exit caused by statistics initialization failure during primary/secondary switchover.

  • Orca (Redis-compatible) now supports the hsetex command for hash structures, improving the efficiency of inserting data while setting an expiration time.

  • Fixed a crash loop during checkpoint loading caused by mistakenly cleaning up orphaned cfile files after an online HA switchover.

  • Fixed an issue where IMCI automatic indexing could overwrite user-configured sort keys when executing expired recommendations, disabling sort consolidation.

  • Fixed unclear error causes when jointly refreshing multiple materialized views without IMCI, and now reports the requirements for materialized views, columnar indexes on related base tables, and offloading policies.

  • Fixed a SIGSEGV when an IMCI background statistics task opened a table with STORED generated columns.

  • Fixed an issue where the ttl_purge_hour settings forcibly enforced a size relationship between the start_hour and end_hour parameters. Also fixed an issue where TTL-purged data could still be queried after query cache was enabled.

  • Fixed a potential service interruption caused by repeatedly parsing certain complex prepared queries.

  • Fixed an issue where nested incremental materialized views were incorrectly marked invalid after a base table executed non-dependency-breaking DDL such as COMMENT, causing DESCRIBE errors and missing column metadata.

  • Fixed query timeouts caused by mutual waiting between QuickSelect and Join in IMCI parallel queries.

  • Fixed an issue where clusters with the branch table feature enabled might trigger an assertion and fail to start during crash recovery or secondary database startup recovery.

  • Fixed a potential abnormal database cluster crash when reading cold-partition data during a hot-cold hybrid partition query on columnar tables.

  • Fixed a memory lifecycle issue caused by concurrent PN SQL forwarding cleanup and reads of innodb_trx.

  • Fixed an issue where the batch columnar interface skipped creating or deleting indexes for existing tables when the implicit columnar marker was already the target value.

  • Fixed an issue where full-text index rebuilds and primary/secondary switchovers could block dirty page flushing.

  • Fixed a database crash caused by derived-table column pruning incorrectly removing scalar subqueries still referenced by sorting or grouping in certain complex view queries.

  • Added DDL and encrypted-table support for OSS archive tables and partitions, maintaining archive status consistency, and fixed exceptions that could be caused by statistics updates during recovery cleanup and primary/secondary switchover.

  • Fixed issues in building, switching, reading, and cleaning up oss file filter, which the OSS engine does not support for CSV-formatted hybrid partitioned tables.

  • Fixed replay delays caused by blocked DDL changes when DDL was executed during IMCI node restart and the affected column index NCI was in background recovery.

  • Fixed a potential database process crash when native procedures used subquery parameters.

  • Fixed a potential abnormal cluster exit during InnoDB buffer pool shrinking when MTR prematurely unpinned a page and subsequent page lock release accessed an invalid lock.

  • Fixed missing PVS pin windows and abnormal exits caused by cross-Register Pin merged page redo during Standby startup recovery.

  • Fixed a potential primary node crash when BranchDB/PVS background compaction encountered non-contiguous pin ranges.

  • Fixed a potential crash during plan generation when transformed subquery derived tables were incorrectly included as JPPD candidates.

  • Fixed an internal hidden column not found error triggered by ADD INDEX on a secondary index of a materialized view after refresh completion.

  • Fixed an issue in multi-statement distributed transactions on multi-master partitioned tables where subsequent UNION ALL or nested queries could not read uncommitted changes from earlier in the same transaction.

  • Fixed repeated registration of retained delta references after base-table DDL reset on nested FAST materialized views, preventing delta tables from failing to be reclaimed automatically after all related materialized views were deleted.

  • Fixed probabilistic null-pointer crashes caused by a B-tree insert race in columnar tables during parallel WAL replay.

  • Fixed a cluster crash caused when KILL interrupted auxiliary table cleanup during DDL removal of a full-text index.

  • Fixed consistency failures caused by Orca SCC reads reusing an old read view.

  • Fixed a potential abnormal mysqld exit when SUBQUERY_COALESCE was used with an unnamed query block Hint.

  • Fixed an issue where CHECK TABLE on a broadcast table falsely reported valid complete replicas on each read-write node (RW) as misplaced rows and incorrectly recommended REPAIR TABLE.

  • Fixed a potential file system operation failure when IMCI one-write-multiple-read DDL ran concurrently with column index recovery.

  • Fixed a potential node crash when online DDL on X-Engine columnar tables processed nullable TEXT/LONGTEXT fields.

  • Fixed a crash when a PQ worker cloned an xform cloned plan on UNION ALL (the union_direct path).

  • Fixed an issue where deleting a FAST materialized view before its initial refresh completed incorrectly released incremental materialized view (IVM) delta reference counts, preventing delta tables still used by other materialized views from being reclaimed prematurely.

  • Fixed a crash caused by expired undo file cache size during read-only node startup.

  • Fixed a compatibility issue where a regular COMPLETE materialized view refresh failed because the AP lacked IMCI execution capability, and prevented cascade refreshes from reusing stale snapshot cache results.

  • Fixed inconsistent display of bit-type field results in aggregate queries.

  • Fixed concurrency issues between DDL log replay and background tasks in X-Engine secondary clusters.

  • Fixed an issue where wide-table aggregate queries using a primary-key index scan on X-Engine columnar tables (including COUNT(DISTINCT)) could not be interrupted for a long time after KILL QUERY.

  • Fixed intermittent result packet parsing failures when columnar parallel queries reused cached results.

  • Fixed abnormal node exits caused by slow log writes in distributed clusters.

  • Fixed intermittent empty results from cross-node hybrid table queries and improved query stability.

  • Fixed potential cluster crashes, migration stalls, and archived data anomalies in TTL archiving scenarios.

  • Fixed an issue where deduplication, union, or join queries involving constant columns in IMCI columnar queries could cause abnormal cluster crashes or execution failures.

  • Fixed potential cluster crashes or missed deletions when distributed table delete statements contain subqueries.

  • Fixed a CC crash caused when DELETE MASTER encountered a residual SLS_XB global lock.

  • Fixed potential abnormal exits of join queries under specific execution plans.

  • Fixed leakage of internal functions from views containing WITH ROLLUP during SHOW CREATE VIEW, INFORMATION_SCHEMA and dependent view metadata refresh, which caused logical backup restoration or view reparsing failures.

  • Fixed anomalies caused by abnormal redo hash capacity counting during read-only node (RO) replay and mismatched logical log sequence numbers during non-multi-master startup.

  • Fixed LNNVL leakage and incorrect results under NOT, double negation, and truth-value transformations, while keeping IMCI pushdown and fallback semantics consistent. NULL

  • Fixed abnormal exits caused by cross-node writes when the multi-master node communication service failed to start.

  • Fixed a crash where DISTINCT converted to GROUP caused ORDER BY aggregate expressions to be incorrectly published as temporary table group keys, making KEY_PART_INFO consume an empty Field.

  • Fixed nullable metadata loss, hash join row buffer memory corruption, and crashes caused by worker-side embedding errors in anti-join materialized tables of parallel queries.

  • Fixed a database crash when running flush_outline while some rows in the outline table had an empty Digest column.

  • Fixed an issue where X-Engine columnar table parallel Direct Load did not properly enforce the secure_file_priv file access restriction.

  • Fixed intermittent interruptions of distributed concurrent queries under high load.

  • Fixed an issue where X-Engine columnar table Direct Load did not report an error after intermediate data file submission failed and continued importing.

  • Fixed potential cluster crashes or memory safety errors when hybrid X-Engine/InnoDB partitioned tables executed CREATE TABLE LIKE followed by EXCHANGE PARTITION.

  • Fixed an issue where memory and temporary file resources were not properly released after X-Engine columnar table Direct Load initialization failed.

  • Fixed abnormal crashes during complex query optimization and improved query stability.

  • Fixed an issue in X-Engine Release Direct Load where sequence advancement was inconsistent with data publication order, causing normal writes after restart, secondary database replay, or promotion to potentially reuse sequences of imported data.

  • Fixed an issue where empty-string predicates could return incorrect query results after data merging on X-Engine columnar tables.

  • Fixed a potential crash when querying BLOB fields on read-only nodes (RO) triggered by end_range.

  • Fixed an inconsistency between the HEX function results of the IMCI executor and the regular executor when querying date and time columns.

  • Fixed additional CPU overhead that could occur when many IMCI background thread pools are configured.

  • Fixed a potential memory UAF issue in InnoDB underlying metadata that could trigger a crash after DDL execution.

  • Fixed an issue where mysql.func containing an empty dl value triggered an assertion during startup and caused mysqld to exit.

  • Fixed a potential mysqld crash when refreshing the role cache with an empty string in mysql.role_edges.

  • Fixed potential node crashes in X-Engine columnar tables with large BLOB fields.

  • Added observability for TTL and fixed invalid TTL comments. You can query system tables for information about all TTL-enabled configurations.

  • Fixed a potential mysqld crash when refreshing the privilege cache with an empty string in mysql.global_grants.

  • Fixed crashes in X-Engine partitioned tables during row-format Binlog replay or fast lookup due to incomplete read-path adaptation.

8.0.2.2.38.1(2026.10.13)

Bug fixes

Description

  • Fixed an issue where backup locks leaked when read-only nodes replayed synonym changes. Cache reloads are now skipped when the synonym feature is disabled.

  • Fixed an issue where direct partition exchange with WITHOUT VALIDATION incorrectly skipped instant column layout checks.

  • Fixed the issue where the DD metadata of a partition with a columnar index (COLUMNAR) was lost after the partition was archived as an ORC/OSS cold partition.

8.0.2.2.38(2026.09.21)

New features

Description

  • Added support for Limitless (multi-master cluster) on ALTER TABLE auto_increment partitioned tables, allowing users to specify the auto_increment value.

  • Added phased rebuild capability for IMCIvector indexes, and optimized the performance and memory stability of multi-sub-index queries.

  • Added savepoint creation, rollback, and release capabilities for Multi-Master Cluster (Limitless) multi-master distributed transactions.

  • Added raw byte I/O prefetch capability for CTable delayed materialization scans, reducing the impact of PFS and OSS read latency on query performance.

  • Added support for mounting external Iceberg tables as foreign tables, enabling direct querying of external Iceberg data without data import.

  • Added transparent distributed Limitless logical export and reimport capabilities for mysqldump, ensuring correct recovery of object data and distribution state, with improved lock and task cleanup in failure scenarios.

  • Added statistics initialization capability during horizontal scale-out of Multi-Master Cluster (Limitless) multi-master partitioned tables.

  • Added automatic memory scheduling for OSS LRU Cache in the CTable feature, introducing the LRU_OSS memory module managed by the IMCI Memory Scheduler, supporting automatic capacity scaling, eviction triggers, and serverless specification scaling.

  • Added Polar File System (PolarFS) auxiliary dirty page flushing configuration. PolarFS auxiliary dirty page flushing is automatically enabled when a read-write (RW) node starts, eliminating the need for manual configuration.

  • Added the AdaptHashAggr local dictionary IMCI optimization capability for GROUP BY. This capability is controlled by the session variable imci_enable_adapt_hash_aggr_local_dict and is disabled by default. When enabled, in scenarios with a direct TableScan where one to four string grouping columns all come from the current pack local dictionary, repeated hash-table probes are reduced, which improves GROUP BY aggregation performance for low-cardinality strings while keeping query semantics unchanged.

Feature improvements

Description

  • Optimized statistical pruning for unsigned integer conditions in CTable, reducing reads of mismatched data while preserving original query results and type conversion behavior.

  • Orca (Redis-Compatible) optimized MDL and dictionary table reuse on read-only (RO) nodes to reduce CPU resource consumption.

  • Orca (Redis-Compatible) optimized strongly consistent reads to use batch-level CSN acquisition, reducing wait time.

  • Optimized IMCIvector indexes in post-filter or inline-filter scenarios where low predicate selectivity could cause excessive query time due to multiple fetch rounds.

  • Optimized the query optimization efficiency for queries containing IN-List with a large number of elements.

Bug fixes

Description

  • Fixed the issue where LIST COLUMNS operations failed on REORGANIZE PARTITION partitioned tables.

  • Fixed the issue where RowBuf swap could get stuck due to missing metadata after IMCI restart.

  • Fixed the issue where IMCIHybrid Plan log queue saturation could form a circular wait with the TRX_SYS lock, causing replica replay stalls and crashes.

  • Fixed incomplete digest normalization for ORDER BY/GROUP BY literal values, which caused outline/CCL matching issues while preserving backward-compatible integer BY item behavior.

  • Fixed the issue where GDN multi-write mode now enforces parameter mutual exclusion among loose_innodb_csn, loose_innodb_csn_replica, and loose_innodb_polar_scc.

  • Fixed the issue where IMCI could access a null pointer when executing queries containing the SHA2 function, causing the cluster to become unavailable.

  • Fixed the issue where access point migration in Multi-Master Cluster (Limitless) transparent distributed scenarios failed to invalidate local IMCI read-only node row-store buffer pool pages, causing data inconsistency and cluster crashes.

  • Fixed the issue where correlated scalar subqueries in multi-master trans-dist scenarios could not generate distributed parallel plans, returning ERROR 8871.

  • Fixed the issue where idle sessions cached stale ReadViews in Hybrid Plan scenarios, preventing Undo Purge from advancing.

  • Fixed the issue where branches deleted by common subcondition extraction in prepared statement scenarios did not clean up their subquery units, causing residual subquery optimization and potential crashes during the execute phase when common_subcond_extraction was enabled.

  • Fixed the validation omission for descending index capability in X-Engine partitioned tables and hybrid partitioned tables.

  • Fixed the issue where worker plan clone could crash due to missing subquery templates when semijoin inner expressions contained subqueries in multi-master distributed ePQ scenarios.

  • Fixed the issue where temporal comparison metadata was lost when outer predicates containing temporal LEAST()/GREATEST() expressions were pushed down to derived tables with Derived Condition Pushdown enabled. This issue could cause debug assertion failures, release version crashes, or incorrect string comparison semantics in specific materialized derived table and aggregate alias scenarios. After the fix, such temporal LEAST()/GREATEST() conditions are not incorrectly pushed down, ensuring query stability and semantic correctness.

  • Fixed an issue where querying virtual columns in tables could cause a crash in IMCIHybrid Plan MPP scenarios.

  • Fixed the issue where concurrent DROP DATABASE and SHOW ENGINE INNODB STATUS reading invalid DD lock pages in multi-master scenarios could cause RW crashes.

  • Fixed the crash caused by an intermittent replay anomaly on X-Engine read-only (RO) nodes, where metadata references were inconsistent with the read-write (RW) node.

  • Fixed the issue where shutting down the database after installing the backup lock component could crash due to a null session pointer.

  • Fixed the issue where a corrupted IMCI table statistics file (.tab_stat) header triggered an assertion during the query optimization phase. The fix gracefully degrades to empty statistics upon read validation failure and ensures atomic writes of statistics files.

  • Fixed the issue where materialized view refresh watermarks could be zero, stale, or misaligned when generic Hybrid Plan was enabled.

  • Fixed the issue where incremental materialized views were corrupted and refresh was interrupted due to the loss of the IMCI anchor during first_precommit_lsn node restart replay of multi-row transactions.

  • Fixed the issue where LIST DEFAULT partitioned table queries, iterator boundaries, and full-partition metadata operations missed the default partition.

  • Fixed the inconsistency between the displayed and actual LRU capacity of IMCIvector indexes.

  • Fixed the intermittent file ID reuse issue on IMCI column-store nodes that could cause cluster crashes.

8.0.2.2.37(2026.09.02)

New features

Description

  • Added the ability for incremental materialized view refresh to ignore changes to specified tables, improving refresh efficiency.

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

  • 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 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 Multi-master cluster (Limitless) transparent distributed SELECT... LOCK IN SHARE MODE distributed query capability, and ensuring SHARE row lock transaction lifecycle semantics.

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

  • Multi-master partitioned tables in the Limitless architecture support global secondary indexes.

  • 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 BM25 scoring, phrase queries, combined queries, and synonym support for IMCI full-text indexes.

  • 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.

  • PolarDB Orca supports HyperLogLog, a probabilistic cardinality estimation data structure in the native Redis protocol.

  • 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.

  • X-Engine full-columnar tables now support automatic dictionary encoding and collation-aware statistical pruning.

  • 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 a multi-threaded asynchronous redo read mechanism in 8.0.2 to increase the Slave redo read bandwidth.

Feature improvements

Description

  • Optimized memory-allocation strategies for X-Engine, CTable, and 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 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 materialized view secondary index catalog consistency diagnosis gave destructive recommendations (missing→DROP), and where the combined validation of UNIQUE indexes with implicit partitioning was missing.

  • 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 an issue where performing Copy/Inplace partition reorganization on X-Engine partitioned tables could trigger binlog row event writes and cause the cluster to 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 a type alignment error in the IMCI row-format Join when processing non-equi joins.

  • Fixed an issue where the handler reused a stale GlobalCtx during X-Engine columnar table parallel bypass import (direct load), causing the cluster to crash when LOAD DATA was retried.

  • 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 viewing IMCI columnar statistics could cause the cluster to crash when only the columnar table capability was enabled and the IMCI engine was not enabled.

  • 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 repeatedly executing partition DDL in a stored procedure could cause the cluster to exit abnormally.

  • 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 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 a read-write node holding an internal global lock could cause read-only replay failures.

  • 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 a null pointer exception caused by a mismatch between newly added columns and old metadata when concurrent queries performed column pruning after IMCI instant add column.

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

  • Fixed a potential instance crash if a table was deleted while IMCI statistics were being collected.

  • 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 a memory leak that could occur when a multi-master cluster shut down with idle-space statistics enabled.

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

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

  • Fixed a timing defect between delayed opening of the MEMORY temporary table for shared CTEs and the second range optimization for skip-sort.

  • Fixed an issue where after partition MDL was enabled, TABLE CACHE-related caches became abnormal and caused a cluster access crash.

  • 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 crash caused by repeated pre-processing of window-function views.

  • Fixed an issue where a read-only node could exit abnormally during tablespace extension and log replay.

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

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

  • 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 a crash caused by table functions accessing an empty table while prepared statements were being reparsed.

  • Fixed a bitmap access error for DATE/TIMESTAMPIS NULL/IS NOT NULL predicates on IMCI columnar tables in parallel execution.

  • Fixed time zone errors in ORC pruning and cross-session caching for TIMESTAMP on IMCI columnar tables in non-UTC sessions.

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

  • Fixed an issue where, when an XA transaction XID contains null bytes, the crash recovery phase could misidentify the XID s of different transactions as identical, causing recovery to fail and preventing the cluster from starting.

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

  • Fixed an issue where, when inserting into a unique secondary index, the duplicate check locked too large a range for the first non-equal record after the conflicting range. The lock is downgraded from a Next-key lock to a gap lock to improve concurrent insert performance.

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

  • 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 extended statistics incorrectly triggered multi-master partition statistics loading and broadcasting in distributed single-table scenarios.

  • Fixed an issue where specific implicit grouping queries could crash after query transformation.

  • 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 IMCI improperly handled markers when writing data without NULL values, which could cause columnar data to be incorrect in specific scenarios.

  • Fixed an issue where, when an XA transaction XID contains null bytes, the crash recovery phase could misidentify the XID s of different transactions as identical, causing recovery to fail and preventing the cluster from starting.

8.0.2.2.36.1(2026.07.22)

New features

Description

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

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 view Binlog 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 Multi-Master Cluster (Limitless) support for distributed single-table multi-master routing, cache invalidation, redistribution, and ePQ.

  • Multi-master sharded tables scenarios: extended column statistics are now supported for more accurate cost estimation, and statistics broadcasting is supported so that statistics for all partitions are globally visible.

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

  • 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.

  • Added IBD archiving to OSS, allowing you to archive individual tables.

  • PolarDB 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 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.

  • Multi-Master Cluster (Limitless) Local RO now supports IMCI capability. The primary parameter configuration is as follows; the remaining parameters follow the parameter settings for standard Local RO and multi-master IMCI nodes.

    • 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): specifies whether IMCI can be used in a multi-master cluster.

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

Feature improvements

Description

  • Added online capabilities for more DDL operations, including conversion between encrypted tables.

  • Optimized IMCIfull-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.

  • Enhanced asynchronous execution to improve performance in high-concurrency write scenarios with binlog enabled.

Bug fixes

Description

  • Fixed an issue where the GROUP BY function on string columns could incorrectly return ANY_VALUE when executing NULL 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 a crash where condition pushdown join-equal temporary constructs were incorrectly persisted during repeated prepared statement execution.

  • Fixed an issue where executing detail queries containing large fields with IMCI could fail due to insufficient memory.

  • 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 query could return incorrect results in LIMIT/OFFSET scenarios.

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

  • Fixed a crash caused by incremental materialized view base tables not fully covering the IMCI.

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

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

  • 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 DROP DATABASE released locks on replica nodes prematurely, allowing user SQL to access deleted files and crash.

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

  • Fixed the issue where ALTER TABLE resets the ivm_delta_mv_* DD metadata of the base table. Currently, only when the ADD ORDER KEY or ADD INDEX DDL is executed is the ivm_delta_mv_* DD metadata retained. Other DDL statements reset or modify the metadata.

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

  • Fixed vector indexes in table or 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 an issue where IMCI statistics persistence timestamp comparison failed across multiple columnar nodes.

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

  • Fixed an issue where subsequent access to the cluster crashed after a DDL operation on a table with special characters failed.

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

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

  • Fixed potential errors when the Fast Import feature accesses BLOB fields during database/table restore.

  • 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, during an X-Engine columnar table high-availability switchover, a read-only node switching to a read-write node could cause data inconsistency.

  • 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 a potential primary node lockup during X-Engine columnar table writes.

  • Fixed an issue where after fast conversion of a regular table to a partitioned table (WITHOUT VALIDATION), only the first partition retained the 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 partitioned table on fully columnar ANALYZE TABLE s.

  • Fixed a crash caused by a small probability of temporary file name conflicts when creating full-text 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 out-of-bounds read in the window function frame.

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

  • Fixed a memory leak that could occur in extreme scenarios when Parallel Parse was enabled.

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

  • Fixed an issue where a multi-master Local RO node failed to skip redo from a master other than its own when Parallel Parse was enabled.

  • Fixed an assertion failure caused by some query optimizations being incorrectly enabled during prepared statement execution.

  • 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 the issue where a POINT undergoes ST_Buffer with an extremely small distance passed in under the Geographic coordinate system (SRID 4326), which may cause a crash.

8.0.2.2.35.1(2026.06.28)

New features

Description

  • Added the built-in model free inference capability, which allows models to run inference directly in the database without any token consumption or 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 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.

  • The IMCI's vector search now supports IVF and IVF PQ vector index types.

Feature improvements

Description

  • Optimized 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 X-Engine 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 an IMCI query using Hybrid Index Search with LIMIT fell back to row-based execution when 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 IMCI.

  • Fixed 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 the issue where, after an error is reported when a LOAD DATA statement attempts to import a NOT NULL value into a NULL column, the field validation state of the current session is not correctly reset. As a result, subsequent valid INSERT statements in the same session also incorrectly report the Column cannot be null error. Re-establishing the connection can temporarily work around this issue.

  • Fixed the issue where an invalid date or time value is passed when a prepared statement (Prepared Statement) is executed. An out-of-bounds write occurs when the warning message is generated, causing a buffer overflow and a 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 the IMCI became invalid and unusable after a DDL statement that simultaneously added an IMCI and a regular secondary index on a partitioned table.

  • Fixed the compatibility issue between PolarDB-specific ALTER syntax (such as quickly converting a single table to a partitioned table) and DMS comments, resolving the DTS transmission issue from PolarDB to PolarDB.

  • 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 an issue where data writes failed during cluster version upgrades because the field types of the system table mysql.ttl_job_history's scan_cost, purge_cost, and purge_rows were incompatible.

  • 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 in IMCI where the threshold was calculated incorrectly when multi-column (Row Expr) IN list statements were converted to semijoin.

  • Fixed an issue where the query cache triggered InnoDB strong consistent read waits prematurely, causing 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 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

  • Added mm_enable_wait_binlog_flush parameter, support Multi-Master Cluster (Limitless) and other pending Binlog disk flush completing, to resolving Binlog asynchronous disk flush could cause data consistent issue.

  • Fixed Multi-Master Cluster (Limitless) using cold data archiving feature as CSV after tables, execution DROP TABLE when cluster crash.

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 Global Secondary Indexes (GSIs) support for the REBUILD PARTITION operation on partitioned tables.

  • IMCI Hybrid Plan (including Hybrid Index Search and Hybrid Index Join) Added support for MPP execution mode support.

  • The IMCI's vector search now supports the DiskANN index type.

  • 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 REORGANIZE PARTITION option for WITHOUT VALIDATION, 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 X-Engine table default table format.

  • Added support for full refresh for materialized view 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 X-Engine partitions to be archived as 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 Alibaba Cloud Model Studio capability.

  • Added support for using adaptive selection of ordered indexes multiple times 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 X-Engine in restart phase recovery metadata data structure speed, reducing restart consumption when.

Bug fixes

Description

  • Fixed the issue where, when Query Cache is enabled, full refresh for materialized view did not promptly reflect the latest results after the refresh.

  • Fixed the issue where, in certain scenarios, the declared order of ORDER BY does not take effect, and optimized the predicate processing of Loose Index Scan (LIS) in grouping queries.

  • Fixed the issue where, after thread_pool_enabled is enabled, memory statistics in performance_schema were incorrect.

  • Fixed an issue where occasional transaction loss for Seamless Switch under the transaction persistence feature of IMCI led to data inconsistency between row and column stores.

  • Fixed the issue where the units of the timestamp type min/max values in ORC format were misaligned and the nanosecond part was ignored.

  • 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 the issue where the imperfect implementation of Item_ref object cloning (clone) in the JPPD feature caused subsequent crashes.

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

  • Fixed the issue where the mysqlredolog tool crashed when parsing specific MLOG_METADATA_CHANGE records.

  • 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 IMCI with the low-cardinality column sampling enhancement (imci_stats_scan_max_ndv) enabled.

  • Fixed the issue where concurrency control (CCL) did not take effect for the DELETE xx FROM... syntax (without affecting the 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 cold data archiving was used with a Bloom Filter of the date type specified.

  • Fixed the issue where Orca (Redis-Compatible) could crash when using pcur to clean up expired keys; pcur is replaced with a key storage approach.

  • Fixed an issue where an INT integer overflow in the 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 for materialized view refresh process in parallel inserting capability. through parallel processing, significantly improving materialized view data refresh speed.

  • Added the Search View and ETL stored procedures feature. This feature can automatically perform data extraction, transformation, and loading, improving 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 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 X-Engine support index column character set and collation, utf8_unicode_ci and utf8mb4_unicode_ci.

  • Added full refresh for materialized view 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 IMCI feature. current in, InnoDB+X-Engine, InnoDB+ORC, InnoDB+CSV group combined hybrid partitions table can through ALTER TABLE COMMENT statement management IMCI, thereby advantage using IMCI accelerating for partitioned table analysis query.

  • Added text vectorization (Embedding) service Endpoint address can configuration, allowing through parameter specifying Embedding service address.

  • Added support for the DATETIME data type in the Overview feature. In addition to TIMESTAMP, you can now use columns of the DATETIME type to define automatic data expiration policies, which satisfies a wider range of business scenarios.

  • Added support for LUA scripts under Orca (Redis-Compatible)compatibility. Commands such as EVAL, EVALRO, and SCRIPTS are now supported.

  • Added the vector indexes incremental build feature. This feature allows the index to be updated in near real time as data is written, greatly improving the efficiency of importing and updating massive volumes of vector data.

  • 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 IMCI restart time. The NCI (Non-Clustered Index) module was modified to support the Checkpoint mechanism, eliminating the LOADING NCI and full NCI rebuild steps wherever possible.

  • Optimized 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 IMCI for vector retrieval. 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 IMCI could return incorrect results in ORDER BY LIMIT scenarios.

  • Optimized 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 the execution efficiency of grouping aggregation (HashGroupby) by introducing vectorized hash table probe operations, which improves grouping aggregation performance while slightly reducing memory consumption during computation.

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

  • Optimized the query execution strategy of the IMCI by enabling adaptive grouping aggregation execution by default. This feature automatically selects the most efficient aggregation algorithm based on the data distribution and query characteristics, improving the performance of analytical queries that contain the GROUP BY clause.

  • Optimized 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.

  • Optimized the text vectorization (Embedding) expression to prevent redundant calculations in specific query scenarios.

Bug fixes

Description

  • Fixed an issue when using text vectorization (Embedding) expressions as materialized virtual columns could produce unexpected NULL values.

  • 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 in IMCI where the high-performance HashJoin operator could cause result set rows to be lost when processing RIGHT JOIN with data spilled to disk.

  • Fixed a rare issue where replication could get stuck in a 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 the issue where, in Multi-Master Cluster (Limitless), executing DDL operations related to Global Secondary Indexes (GSIs) could cause the cluster to crash due to conflicts with background threads.

  • Fixed an issue in the 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 IMCI would repeatedly scale up and down.

  • Fixed a potential out-of-memory (OOM) issue in the serverless feature for 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 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 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.

  • Fixed an issue where read-only nodes might skip some records when accessing Btrees after the read-only node boundary locate filter parameter was enabled.

2025

8.0.2.2.32.1(2025.12.25)

Bug fixes

Description

Fixed an issue where Orca (Redis-Compatible)'s restore command omitted TTL (time to live) information when restoring expired hash fields.

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 query rewrite expansion OR, which can in telligently convert OR or IN expressions to UNION ALL for better index utilization and improved performance in specific query scenarios.

  • Added support for vector indexes in line DDL support, allowing in not modifying changing 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 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 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 X-Engine partitioned table execution adding or deleting partition during operations, need adding table level MDL lock issue.

  • Fixed 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 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 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 "innodb_blob_slave_read_consistent" error on a read-only node when the The JSON binary value contains invalid data 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 IMCI of Hybrid Plan acceleration for wide table queries 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 BIGINT attribute is shown for int eger fields (MEDIUMINT, INT, SMALLINT, TINYINT, ZEROFILL, etc.) when the display width attribute is not defined.

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

  • Added the CXL memory extension feature, which allows the cluster to dynamically increase buffer pool capacity through the CXL (Compute Express Link) memory pool, improving the performance of large-scale data processing and system throughput.

  • IMCI now provides two new vector index types based on the FAISS library: HNSW and HNSWPQ, which support higher-performance and lower-memory approximate nearest neighbor (ANN) retrieval of high-dimensional vectors.

  • in 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, and supports DATE, DATETIME, and CHAR and other sub-partition key fields. To date, partitioned table supports any combination of all primary and secondary partition types and provides partition pruning optimization for related queries.

  • Added support through 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 automatic 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 partitions on different storage engines.

  • Added support for non- 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 the json_arrayagg expression, which aggregates multiple rows of results into a single JSON array in IMCI queries, improving the capability to process JSON-formatted data.

  • 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.

  • SQL Trace feature now supports sampling and recording 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.

  • Added the feature of recording original SQL statements for Statement Outline. This feature supports regenerating the Outline based on the original SQL in the current environment, improving the flexibility of execution plan management and fixation.

  • Restructured the command processing structure of Orca (Redis-Compatible) 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 join s.

  • Optimized the processing logic for union queries with a large number of query block, 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 IMCI 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 in IMCI where capacity expansion was not automatically triggered when NCI (Non-Clustered Index) failed to insert into the lru cache.

  • 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 Item_sum_sum::resolve_type member in the dec_buffs 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 IMCI operation on a table with an ONLINE DDL. This was caused by the default batch write behavior.

  • Fixed an issue where DDL operations could cause a cluster crash when the name of an ORC hybrid partitioned table with IMCI 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 the issue where a table without a primary key but containing a UNIQUE KEY could encounter cluster exceptions when an IMCI was added to the table.

  • 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 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) under high pressure.

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

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

  • Fixed 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 where the cluster crashed on reuse because Item_func_conv_charset's result_field was not cleaned up after SQL statement completion.

  • Fixed Multi-Master Cluster (Limitless) under, local only reading (RO) node hot failover as reading writing (RW) after nodes, for 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 IMCI operation on an INSTANT DDL.

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

  • Fixed an issue where CREATE PARTITION TABLE information was lost during a Data Cleanup (TTL) 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 in Orca (Redis-Compatible) where setting an expiration time for hash (Hash) fields containing duplicate fields could cause a cluster crash.

  • Fixed 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 IMCI feature where a node could deltastore when the swap executes a pax task, due to the uint32 page length overflowing crash or encountering a null pointer.

  • Fixed an issue where improper global variable initialization order caused 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

  • Optimized IMCI in vector indexes memory using and storage empty between using.

  • Optimized IMCI window function execution efficiency, combined and PARTITION BY defining mutual same window function.

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 in Hybrid Plan mode when IMCI executed partitioned table queries.

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

  • Fixed 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 IMCI 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 IMCI.

8.0.2.2.30(2025.07.01)

New features

Description

  • Added the column encryption feature, which works with the TDE feature to encrypt specified columns. A decryption function can be used to obtain the 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.

  • Added support for parallel execution of lateral derived tables (Lateral Derived Table). In parallel query scenarios, pushdown to workers for execution is supported.

  • IMCI Added support for in subquery in containing has Roll UP in projection column in containing with has aggregation combined function.

  • IMCI Added vector indexes 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 restriction that required retaining one InnoDB partition, thereby supporting archiving of all partitions. REORGANIZE PARTITION is supported to restore OSS partitions of archived partitioned tables back to InnoDB partitions.

  • Optimized IMCI HASH JOIN structure building Hash table process, HASH table specific implementing, significantly improving 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 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 partitioned table RENAME DDL after tables 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 intermittent timing inaccuracy issue when using imci_analyze_query to profile IMCI queries.

  • 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 in IMCI where queries could intermittently fail to use Hybrid Plan after global strong consistency (performance mode) was enabled.

  • Fixed the memory leak issue that occurred when the internal thread pool of IMCI was elastically scaled in, preventing memory leaks when the Serverless cluster adjusts PCUs.

  • Fixed 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 where, in partitioned table parallel query scenarios, the degree of parallelism of a parallel plan involving 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 post filter and a anti semi join.

  • 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 Time to live (TTL) that was caused by a deadlock triggering a transaction rollback.

  • Fixed Time to live (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 the memory leak issue that occurred in the internal thread pool of IMCI during elastic scale-in, effectively preventing memory leaks in Serverless clusters when PCU (PolarDB Capacity Unit)is dynamically adjusted.

8.0.2.2.29(2025.05.08)

New features

Description

  • Serverless feature adds unused memory reclamation for parse buf (parse log memory block) on read-only nodes (ROs), reducing 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 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 IMCI for Hybrid Plan feature extending, causing its support not displaying format defining primary key table.

  • Added the parameter adaptive_digest_length_multiplier, which dynamically adjusts the pre-allocated memory size for digests based on the SQL text length.

  • 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.

  • IMCI in Hybrid Plan Index Join Added support for Semi Join and Anti Semi Join mode support.

Performance optimizations

Description

  • Optimized 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 Orca (Redis-Compatible)to support setting TTL expiration times for HASH data types at the field level.

  • 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 the IMCI Hash Groupby implementation mechanism. The system now adaptively selects the partitioning strategy and algorithm based on data distribution characteristics to improve 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 selection of ordered indexes feature in specific type query in scenarios where could cause a cluster crash.

  • Fixed 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 X-Engine in Index_merge path in processing process in not can correct obtaining Instant_ddl metadata data, causing data query occurring exception.

  • Fixed 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 IMCI Serverless cluster in primary node specification than relatively large when unable to shrinking capacity issue.

  • Fixed an issue where 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 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 partitioned table expressions, introducing the cast_for_range() function. This function 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 IMCI query optimization first level scheduling feature, allowing column storing query allocation optimization first level, Optimized query execution efficiency.

  • Time to live (TTL) feature adds compatibility with TiDB and other products, and adds 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 IMCI in processing re- miscellaneous 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 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 IMCI.

Bug fixes

Description

  • Fixed an issue where an invalid memory address might be accessed when executing Introduction to INTERVAL RANGE on tables described in INSERT ON DUPLICATE KEY UPDATE.

  • 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 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 an IMCI.

  • Fixed 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).

  • 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 IMCI was incompatible with the Logical Log Sequence Number (LLSN) logic, causing some IMCI redo log replays to be missed.

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

  • Fixed a crash that was caused by executing an IMCI statement during a query on an explain for connection 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 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

Added Orca (Redis-Compatible) support DUMP, RESTORE, INFO command, support as DTS target end import data.

Bug fixes

Description

Fixed an issue where reading JSON or GIS large fields through 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 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 the table value constructor syntax. You can use the VALUES ROW syntax in DML statements.

  • Added support through stored procedure as database in all table batch volume adding 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 the ability to dynamically adjust Order Index result selection during execution based on actual conditions.

Performance optimizations

Description

  • Optimized the startup speed of read-only column store nodes. The column store engine can now start independently from a IMCI 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 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 the issue where Online rebuild was not supported for IMCI, improving IMCI availability.

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 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 IMCI 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 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 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(2 024.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.

  • 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 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 OSS query acceleration support for archiving partitioned tables to OSS external tables. Manual partition archiving or automatic archiving can synchronously generate OSS_FILE_FILTER query acceleration data.

Performance optimizations

Description

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

  • Optimized PolarDB for MySQL ORDER 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 IMCI in DML transaction back placing performance issue.

  • Optimized 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 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 conversions in IMCI were incompatible with CASE in MySQL.

  • Fixed an issue where archiving partitioned tables to OSS external tables did not support Global Secondary Indexes (GSIs).

  • 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 the issue where a crash occurred when the rewriting of derived merge and scalar subquery unnesting rules interleaved.

  • 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

  • for IMCI in query when using metadata memory performing Optimized.

  • For high-concurrency query scenarios, optimized the memory usage of the IMCI optimizer.

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 IMCI from being used.

  • Fixed an issue where updating statistics on 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, when the thread pool was enabled, the transaction ID of read-write transactions in SQL Insights could be 0.

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.

  • 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 an IMCI.

  • 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 an IMCI.

  • 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 IMCI 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 IMCI 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 an IMCI.

  • 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 a low-probability crash could occur when the TRUNCATE PARTITION command was executed on a partitioned table that contains an auto-increment column.

  • 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 columns of the DECIMAL type incorrectly reported the "Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs" 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 an IMCI

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 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 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 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 IMCI node from recovering IMCI data if started during a DDL operation on a table with an IMCI.

  • 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 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 IMCI 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. ON, 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 an IMCI to query specific partitions of a partitioned table.

  • IMCIes 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 an IMCI 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 an IMCI 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 Preemptive DDL feature.

  • 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 enable the IMCI on global RO nodes in a multi-master cluster.

  • You can now create an IMCI on a virtual column.

  • You can now use the recycle bin for tables with an IMCI.

  • 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

  • Added Push down a condition from the WHERE clause to derived tables feature.

  • Hint Plan Added Hint kind category BNL, BKA and MRR.

  • Added the variable by_expr_ignore_charset in SQL Sharing. When by_expr_ignore_charset is set to ON, differences between digests generated by statements containing ORDER BY or GROUP BY under different character sets are eliminated. However, after ON is set, all digest values generated in this mode differ from those generated before ON was set.

  • 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 IMCI now supports instant add column. This is achieved by rebuilding the index data.

  • The IMCI now supports the REGEXPR function.

  • The IMCI 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 feature.

  • Added SQL Trace feature.

  • Added SQL detail feature.

  • Added Auto Plan Cache feature.

  • Added 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.

  • Binlog is no longer recorded during manual and automatic archiving of cold data.

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 LIST DEFAULT HASH syntax for creating add partition 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

  • Manual cold data archiving supports the alter table engine syntax. Use the Alter Table table_name engine = csv connection = 'default_oss_server' command to archive a cold data table to OSS.

  • Cost-based computation now supports pushing down outer join conditions of materialized derived table s 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 switchover feature.

  • Added the DLM aging feature, which allows you to periodically store aged data on low-cost storage media. For more information, see Data Lifecycle Management (DLM).

  • 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.

  • Added the oss_sts_token parameter in the syntax for creating an OSS server, which is used to configure temporary access credentials for OSS.

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 create hybrid partitions.

  • 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 parallel_query_switch switch to the parallel query parameter restrict_on_limit_without_order, 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 and to convert between RANGE partitioned tables and INTERVAL RANGE partitioned tables. For more information, see modify INTERVAL RANGE partitions and convert partitioned tables.

Performance optimizations

Description

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

  • Elastic Parallel Query capability is improved. 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.

  • 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

PolarDB 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 the persistent buffer pool (Warm Buffer Pool). 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 parallel acceleration of hash joins.

  • 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 a PolarDB for MySQL cluster. You can query the PERF_STATISTICS memory table to obtain performance metrics. For more information, see Performance Agent, which collects and aggregates performance data for nodes in a PolarDB for MySQL cluster. You can query the PERF_STATISTICS memory table to obtain performance metrics. For more information, see Performance Agent.