Version guide for V5.1.x instances
Updated at:
This topic provides the version guide for V5.1.x instances of PolarDB-X 1.0.
V5.1.28-1508068 (December 15, 2017)
| Category | Description |
| New features | Supports querying the data distribution of physical tables within a logical table. |
| Adds the UNI_HASH sharding function. This function allows a JOIN operation on two tables with the same number of database shards to remain a non-cross-database JOIN, regardless of the number of table shards. | |
| Adds support for the ISNULL() function. | |
| Supports automatically cutting off traffic to a read-only database and redirecting it to the primary database if the synchronization latency is too high. | |
| Performance optimizations | Optimizes SQL error messages related to permissions to be consistent with those of MySQL. |
| Optimizes the column lookup performance of the executor. This increases the throughput of INSERT and REPLACE operations by 14%. | |
| Optimizes Java Virtual Machine (JVM) startup parameters. This reduces CPU consumption by 5%. | |
| Optimizes the performance of the SQL type detection algorithm. | |
| Optimizes the performance of the merge sort algorithm for cross-database queries. | |
| When you create a table using a Data Definition Language (DDL) statement, if the first column of a compound index contains the shard key, a separate index is no longer automatically created for the shard key column. | |
| Fixed issues | Fixes an issue where external fields referenced in a correlated subquery were misspelled during direct pushdown. |
| Fixes an issue where a Global Transaction Service (GTS) transaction with more than 100 record columns could not be rolled back after a new transaction update. | |
| Fixes an issue where a connection was unexpectedly closed if the value of a single field in a query result was too large. | |
| Fixes several connection leak issues in the PolarDB-X 1.0 backend connection pool. This fix also resolves an issue where connections could not be automatically recovered in some abnormal connection scenarios. | |
| Fixes an array-index out of bounds error that occurred with an excessively long HINT. | |
| Fixes an issue where a table could not be created if a TIMESTAMP column was specified as NULL DEFAULT NULL. | |
| Corrects the English translations of some error codes. | |
| Fixes an issue where the time type returned by the STR_TO_DATE() function was inconsistent with that of MySQL. | |
| Fixes an exception that occurred when a NULL value was passed during a stored procedure call that used the PREPARE protocol. The exception indicated an incorrect type conversion. | |
| Fixes a memory leak issue caused by frequently setting the connection encoding. | |
| Fixes a read visibility inconsistency that occurred when an InsertSelect statement was executed within a GTS transaction. | |
| Fixes an issue where a JOIN statement with DISTINCT caused a "Column is ambiguous" error in recent versions of PolarDB-X 1.0. | |
Fixes an error that occurred when the "((x) IS TRUE) IS TRUE" statement was executed. | |
| Fixes an issue where DISTINCT caused errors in some cross-database JOIN scenarios. | |
| Fixes an issue where a query that used an aggregate function with LIMIT returned incorrect results in a database and table sharding scenario. | |
| Fixes an issue where type conversion for the BigDecimal type consumed a large amount of CPU resources. | |
| Fixes an issue where SHOW FULL STATS displayed an inaccurate number of connections. | |
| Fixes an issue where SHOW FULL STATS displayed inaccurate CPU and memory usage. | |
| Fixes an issue where the JVM temporary memory cache became stacked and leaked when too many frontend connections were blocked on read because of throttling. | |
| Fixes a NullPointerException (NPE) that could occur in some multi-statement processing scenarios that included a ROLLBACK statement. | |
Fixes an issue where SHOW VARIABLES LIKE "autocommit" displayed an incorrect value. | |
| Fixes an issue where the result type returned by the ResultSet.getObject method for tinyint(1) data was inconsistent with that of MySQL. |
V5.1.28-1408022 (September 15, 2017)
| Category | Description |
| New features | Supports SHOW PROCESSLIST and KILL for logical connections. |
Supports the INSERT INTO ... SELECT <sequence_name>.nextVal [ , ... ] FROM DUAL syntax. | |
| Supports the OPTIMIZE TABLE syntax. | |
| Adds support for Open Database Connectivity (ODBC). | |
| Adds support for the ANSI_QUOTE SQL_MODE. | |
| Functions that appear in GROUP BY, ORDER BY, and HAVING clauses are no longer required to appear in the SELECT clause. | |
In distributed transactions, you can now use SELECT last_txc_xid(timeoutMillisecond) to specify a timeout period. | |
| Performance optimizations | Optimizes the performance of complex LIMIT queries. |
| Optimizes the support of the str2date function for hours, minutes, and seconds. | |
| Optimizes support for the JSON_SET, JSON_OBJECT, JSON_EXTRACT, JSON_UNQUOTE, JSON_REMOVE, JSON_MERGE, JSON_KEYS, JSON_REPLACE, and JSON_INSERT functions in complex SQL statements. | |
| Improves compatibility with Navicat. | |
| Fixed issues | Fixes an issue with incorrect metadata types in SHOW FULL STATS. |
Fixes an error with the INSERT INTO ... ON DUPLICATE KEY UPDATE ... statement in single-database and single-table scenarios. | |
| Fixes an issue where table creation failed when you used an instance after renewing its expired subscription. | |
| Fixes an error that occurred in PolarDB-X 1.0 when a conditional query was performed with a negative integer as the shard key in a database and table sharding scenario. | |
| Fixes an issue where a table could not be found during execution. | |
| Fixes an issue in PolarDB-X 1.0 where data could not be exported from a single database and single table because of LOCK and UNLOCK statements. | |
| Fixes an issue where Chinese table names appeared as garbled text in some scenarios. | |
| Fixes an issue where a FOR UPDATE query in a distributed transaction returned incorrect data. |
V5.1.28-1349132 (August 10, 2017)
| Category | Description |
| Fixed issues | Fixes an issue caused by the addition of the DB keyword. This issue prevented the use of DB as a column or table name and affected data import to and export from PolarDB-X 1.0 using Navicat. |
| Fixes an issue where routing results were incorrect if the hash value of a string-type shard key was the negative maximum value. | |
| Fixes an issue where the SHOW FULL SLOW command reported that the SLOW table did not exist in some cases. | |
| Fixes a rare permission verification error that occurred with the Server Prepare protocol. | |
| Fixes an issue where multi-statement INSERT operations failed in some cases on sharded tables that use the RIGHT_SHIFT and RANGE_HASH sharding functions. |
V5.1.28-1320920 (July 18, 2017)
| Category | Description |
| New features | Supports the RENAME TABLE feature. |
| Supports new rule functions and multi-column rules when you create sharded tables. | |
| Supports the REPLACE INTO SELECT syntax. | |
| Supports the SHOW DB STATUS command, which displays the capacity of database shards. | |
| Supports the KILL ALL command to terminate multiple slow SQL statements in a batch. | |
| PolarDB-X 1.0 console supports creating databases in non-partitioned mode on RDS 5.7. | |
| Automatically adjusts the size of the internal connection pool after an instance is upgraded or downgraded. | |
| vSwitches in a virtual private cloud (VPC) support cross-zone deployment. | |
| Automatically purges the PolarDB-X 1.0 whitelist after you switch to a VPC network in the PolarDB-X 1.0 console. | |
| Improves the content and prompts displayed in the PolarDB-X 1.0 console for some scenarios. | |
| Fixed issues | Fixes an issue where client connections to PolarDB-X 1.0 were occasionally and unexpectedly interrupted with a "MySQL server has gone away" error in high-concurrency scenarios. |
| Fixes an issue where DDL execution occasionally suspended and could not be resumed when DDL statements were frequently executed in PolarDB-X 1.0. This fix also improves the performance of DDL execution. | |
| Fixes an issue where a 400 error code was returned when an instance was created using OpenAPI. | |
| Fixes an issue where a RAM user could not connect to or log on to PolarDB-X 1.0 using DMS. | |
| Fixes an issue where a PolarDB-X 1.0 instance could not be released because a system table failed to be created during database creation in the PolarDB-X 1.0 console. | |
| Fixes an issue where you could not switch from a VPC network back to the classic network in the PolarDB-X 1.0 console. |
V5.1.27-1282781 (June 26, 2017)
| Category | Description |
| New features | Disables important operations such as full table deletions and updates by default. You can add a HINT to temporarily bypass this restriction. |
| Adjusts the account and permission features. Usernames can now be 2 to 20 characters in length and can include underscores (_). | |
| Adds user information to the results of the SHOW SLOW and SHOW FULL SLOW commands. | |
| Supports LIMIT 0 optimization for single-table queries. | |
| Supports subqueries in the ORDER BY clause of DELETE statements. | |
| Adds information to SQL logs to identify which account executed the statement. | |
| Fixed issues | Fixes an issue where statements without semicolons were treated as multi-statement executions. |
| Fixes an issue where setting an alias for a constant column in a SELECT statement caused a "column not found" error. | |
| SQL statements longer than 2,000 bytes are not cached. This prevents memory occupation and performance degradation. |
V5.1.27-1217986 (May 23, 2017)
| Category | Description |
| Fixed issues | Fixes an error that occurred during table creation in PolarDB-X 1.0 if the database name contained single quotation marks ('). |
Fixes an error that occurred during table creation in PolarDB-X 1.0 if a TIMESTAMP column included the on update current_timestamp clause. | |
| Fixes an issue where deleting a read-only account in the PolarDB-X 1.0 console did not take effect. | |
| Fixes an error that occurred when a query was forced to run on a read-only instance whose weight was set to 0. | |
| Fixes a performance degradation issue caused by PolarDB-X 1.0 logging parameterized information by default. | |
| Fixes an issue where a Group Sequence could not update the date field of the system SEQUENCE table. |
V5.1.26-1502740 (February 24, 2017)
| Category | Description |
| New features | Releases the distributed account and permission system, which supports enterprise-level database account and resource management. |
| Adds Time-based Sequence. | |
| Extends the SEQUENCE syntax to support creating different types of sequences (Group Sequence by default) and modifying the sequence type. | |
| Performance optimization | Optimizes the performance of SIMPLE SEQUENCE. |
V5.1.26-1037257 (February 16, 2017)
| Category | Description |
| New feature | Supports self-service optimization of connection pool parameters. |
| Fixed issues | Fixes an issue where authorization failed when activating access to RDS. |
| Fixes an issue where a database could not be created when using RDS with MySQL 5.7. | |
| Fixes an error that occurred during the smooth scale-out of a PolarDB-X 1.0 instance. |
V5.1.26-970482 (January 10, 2017)
| Category | Description |
| New features | Supports self-service optimization of connection pool parameters. |
| Supports switching the PolarDB-X 1.0 network type to VPC. | |
| The console displays the database shard capacity ratio to help you plan the database capacity. | |
| The console supports smooth data import to PolarDB-X 1.0 from self-managed MySQL or RDS. |
V5.1.26-9024000 (December 13, 2016)
| Category | Description |
| New feature | The console supports distributed global transactions. You can enable distributed transactions in the PolarDB-X 1.0 console. |
V5.1.26-866978 (November 24, 2016)
| Category | Description |
| New features | Adds CPU alerting to promptly detect CPU bottlenecks and resolve them by upgrading the instance. |
| Adds slow SQL statement details to view slow SQL statements for an instance at any time. | |
| PolarDB-X 1.0 console adds instance monitoring. It supports monitoring performance metrics such as CPU, network, physical QPS, logical QPS, number of connections, and number of active threads. |
V5.1.25-791778 (October 09, 2016)
| Category | Description |
| New features | Supports enabling server-side throttling to protect instances. This feature is disabled by default. |
| Supports Chinese table and column names. | |
| Supports case-sensitive collation types. | |
Supports the LIMIT row_count OFFSET syntax. | |
| Upgrades distributed transactions to version 2.0.17. This version supports dynamic configuration of timeout periods and isolation levels. | |
| Performance optimizations | Optimizes the performance of the first access to PolarDB-X 1.0. |
| Optimizes the local performance of UPDATE statements and some query statements. | |
| Fixed issues | Fixes a column lookup issue in multi-level JOINs within a subquery. |
| Fixes a connection pollution issue caused by the SET command. | |
Fixes an overflow issue caused by the presence of Long.MIN_VALUE in an SQL statement. | |
| Fixes a memory overflow issue caused by passing a substring that contains a very large number in scientific notation to a numeric column. | |
| Fixes several issues related to unique sequences. | |
| Fixes an error that occurred in subqueries that contain the GROUP BY function. | |
| Fixes an issue where the data retrieved from a VARBINARY column was inconsistent with the data in the database when the system encoding was GBK. | |
| Fixes an issue where a condition was lost in a LEFT JOIN statement that contains a subquery, which resulted in incorrect query results. | |
| Fixes a memory overflow issue caused by long SQL statements in some scenarios. | |
| You must now check whether a RAM role has been created for a user before you upgrade or downgrade a subscription instance. | |
| Fixes a distributed transaction memory overflow issue in some scenarios. |
V5.1.24-653395 (July 26, 2016)
| Category | Description |
| New features | SEQUENCE supports globally ordered auto-incrementing and provides features such as increments and maximum values with corresponding syntax support. |
| Supports the TO_DAYS function. | |
| Supports purchasing subscription instances. | |
| Integrates with RAM primary accounts and RAM users. | |
| Performance optimizations | Improves alert information for insufficient inventory and data import failures. |
| Adds an automatic retry mechanism for data import status queries. | |
| Fixed issues | Fixes a parsing error that occurred when a USE statement contained a ";". |
| Fixes an issue where the WHERE clause was dropped from SELECT, UPDATE, and other statements if it contained a single, always-false condition. | |
| Fixes an issue with checking the maximum number of instances during an upgrade or downgrade. | |
| Fixes an issue where a shared instance was locked after its subscription expired. | |
| Fixes an issue where an alert could not be triggered when an upgrade or downgrade failed. | |
| Removes the check for foreign keys on the source table during data import. | |
| Detects whether the target table contains foreign keys during data import. |
V5.1.24-826 (May 24, 2016)
| Category | Description |
| New features | Adds support for the BigDecimal type for data sharding key columns. |
| Supports the Now(3), Now(2), and Now(1) functions. | |
| Adds an OpenAPI for read-only accounts. | |
| Adds a feature to repair RDS backend connections. | |
| Performance optimization | Displays the VPC address for VPC-connected instances. |
| Fixed issues | Fixes an issue where PolarDB-X 1.0 backend connections were not automatically revoked after a long period of high-concurrency access. |
| Fixes an issue where the backend connection pool might not recover after a primary/standby switchover. | |
| Fixes an issue where an incompletely purged SEQUENCE cache made the SEQUENCE unavailable. | |
| Fixes an issue where INSERT SELECT statements were not pushed down for sharded execution when a broadcast table existed. | |
| Fixes an issue where the precision of a BigDecimal floating-point number was not displayed in exponential form. | |
| Fixes an issue where some stored procedure calls caused connections to enter an unrecoverable state. | |
Fixes a connection pool pollution issue caused by the SET @session.sql_log_bin=0 statement. | |
| Fixes an issue where SQL error messages were displayed abnormally after the TXC feature was enabled. | |
| Fixes an issue where some DDL statements executed too slowly. | |
| Fixes an issue where some Count(Distinct) statements produced duplicate data. |
V5.1.23-783 (April 12, 2016)
| Category | Description |
| New features | The console adds instance-level monitoring for PolarDB-X 1.0. |
| The console adds diagnostic suggestions for PolarDB-X 1.0 to detect instance failures in advance. | |
| The console adds the database topology for PolarDB-X 1.0 instances. | |
| The console adds a database overview for PolarDB-X 1.0. | |
Provides the SHOW FULL SLOW | PHYSICAL_SLOW command to support querying the details of slow SQL statements. | |
| Supports specifying the number of database shards on a single RDS instance. | |
| Performance optimizations | Automatically repairs an instance after an upgrade or downgrade fails, which eliminates the need for manual repair. |
| Extends the waiting time for database creation to 30 minutes to resolve timeout issues that occur when you wait for RDS database creation. | |
| Automatically refreshes the database list page after a database is deleted. |
V5.1.23-742 (March 22, 2016)
| Category | Description |
| New features | Supports the Now(3) and Now(6) functions. |
| Supports user-defined function execution in non-partitioned mode. | |
Supports the SELECT sql_calc_found_rows and SELECT found_rows syntax for non-partitioned tables. | |
| Supports a failover mechanism among multiple read-only instances for read/write splitting. | |
| Supports a fast revocation mechanism for abnormal connections, such as detecting RDS locked status and access failures. | |
| Supports the CHECK TABLE syntax to check the consistency of all shard table schemas. | |
| Adds SHOW STATS for application status statistics information. | |
| Supports YYYYMM partitions. | |
| Performance optimizations | Optimizes slow DDL execution. |
| Improves the pushdown optimization for the INSERT SELECT syntax. | |
| Optimizes global IDs to be case-insensitive. | |
| Optimizes slow SQL statement statistics. This optimization adds connection acquisition time and SQL running time, and supports filter condition analysis. | |
| Fixed issues | Fixes an issue with parsing large text objects using the PREPARE protocol. |
| Fixes an issue where connection condition derivation was invalid for multi-table JOINs. |
V5.1.22-675 (February 23, 2016)
| Category | Description |
| New features | Performs real-time validation after you enter a database name during database creation. |
| Automatically refreshes the RDS whitelist when a database is migrated from a shared instance to a dedicated instance. | |
| Refreshes the RDS whitelist when a database is created using OpenAPI. | |
| Uses a privileged account for RDS to create databases and scale out. | |
| Filters out RDS instances with an abnormal status during an upgrade or downgrade. | |
| Data import supports table primary keys of the DECIMAL and DATE types. | |
| Automatically modifies the SEQUENCE during a data import switch. | |
| Refreshes the whitelist of read-only instances when you set the read/write ratio for an instance. | |
| Automatically recovers failed data import tasks. |
V5.1.22-614 (December 08, 2015)
| Category | Description |
| New features | Supports viewing the approximate data volume of a table. |
| HINT supports filter conditions. | |
| SCAN HINT supports the EXPLAIN statement. You can use EXPLAIN to view the execution plans on all shards. | |
| Supports MySQLDump. | |
| Supports the MySQL geometry field type. | |
| Supports the INSERT SELECT statement. | |
Supports the GROUP_CONCAT function. | |
| Supports the GROUP BY syntax. | |
| Fixed issues | Fixes an issue where read-only accounts did not support the SET statement. |
| Fixes an issue where a column could not be found in a nested subquery within a DELETE statement. | |
Fixes an issue where the WHERE condition was lost in a SELECT * FROM (UNION) WHERE statement. | |
| Fixes a column name parsing error that occurred during database and table sharding creation if both database and table sharding fields existed, and one was enclosed in backticks (`) while the other was not. | |
| Fixes an issue of excessive memory usage when an SQL statement contained many OR conditions. | |
| Fixes an issue where results were incorrect when GROUP BY, DISTINCT, AGGREGATE, and LIMIT were used together in an SQL statement. | |
| Fixes an issue where the result set was incorrect in a LEFT OUTER JOIN if the broadcast table was on the left side. | |
Fixes an error that occurred with the SET sql_mode="" statement. |
V5.1.22-580 (October 27, 2015)
| Category | Description |
| New features | The console adds read-only account management for PolarDB-X 1.0 databases. |
| The public cloud supports using domain names as connection strings. | |
| Performance optimizations | Supports text message confirmation for read-only account password changes. |
| When read/write splitting is enabled, you can control whether to route traffic to a read-only instance based on slave latency. | |
| Automatically creates an index for the database sharding key during table creation. | |
| Optimizes the GROUP BY statement for the database sharding key when you partition by both time and ID. | |
| Uses in-memory heap sorting for ORDER BY LIMIT in Top-N queries. | |
| Optimizes Data Manipulation Language (DML) types for single-database pushdown mode. | |
| Precisely identifies semicolons in BEGIN, ROLLBACK, and COMMIT statements. | |
| Supports parallel execution of DDL statements between instances. | |
Supports SET AUTOCOMMIT=on/off. | |
| Optimizes fault tolerance for the CREATE TABLE IF NOT EXISTS statement. | |
| Optimizes the TRUNCATE statement for broadcast tables by automatically sending it to all database shards for execution. | |
| Fixed issues | Fixes an issue where DMS truncated DBPARTITION statements. |
| Fixes a NullPointerException that occurred during a fatal exception in a batch INSERT. | |
| Validates MySQL variable names in advance to prevent invalid connections caused by incorrect system variable names. | |
| Fixes an issue where the getBytes result for the VARBINARY type was inconsistent with the database when the system encoding was GBK. | |
| Fixes a DDL lock record conflict issue. | |
| Fixes a virtual table LEFT JOIN issue. | |
| Fixes an issue where the value of the database sharding key was passed only once during a JOIN on three tables that use the sharding key. | |
Fixes a NullPointerException that occurred when the value on the right side of a DATE( gmt_modified )<=? statement was of the DATE type. |
V5.1.21-513 (September 07, 2015)
| Category | Description |
| New features | Supports OpenAPI for VPC and commercial instances. |
| Adds the network type display to the instance list. | |
| Automatically fills in the connection information for available VPC-connected instances when you are redirected to the DMS page. | |
| Supports viewing the IP address list of PolarDB-X 1.0 instance machines. |
V5.1.21-478 (August 06, 2015)
| Category | Description |
| New features | If an RDS instance has a whitelist, a prompt appears to add the relevant IP addresses to the RDS whitelist. |
| PolarDB-X 1.0 adds a distributed transaction log table. | |
| PolarDB-X 1.0 automatically creates an index on the shard key of a table. | |
| Supports purchasing instances for Finance Cloud users. | |
| Performance optimizations | PolarDB-X 1.0 automatically cleans up data from failed database creations. |
| PolarDB-X 1.0 automatically clears the configuration and supports multiple imports. | |
| Filters statements that have a schema during DDL operations. | |
Optimizes the data import feature by adding the DRDS InstanceId parameter. | |
| Fixed issue | Fixes a Jushita purchase page error. |
V5.1.21-464 (July 21, 2015)
| Category | Description |
| New features | PolarDB-X 1.0 is commercialized. A purchase entry for on-demand instances is added, which supports features such as configuration selection, price inquiry, and batch ordering. |
| Supports instance lifecycle management, including creation, overdue payment, renewal, and release due to overdue payment. | |
| Supports active release of instances. | |
| Filters views from the candidate table list for data import. | |
| Supports reading and writing using the MySQL Compress compression protocol. | |
| Supports smooth data import. | |
| Supports read/write splitting. | |
| Performance optimization | Improves support for the MySQL Prepare protocol. |
Is this page helpful?