-
The new HeatWave Advisor provides string column encoding and data placement key recommendations based on machine learning models, data analysis, and HeatWave query history. Implementing HeatWave Advisor recommendations can improve query performance and reduce the amount of memory required on HeatWave nodes.
The HeatWave Advisor also provides a Query Insights feature, which provides runtimes for successfully executed queries, and runtime estimates for
EXPLAIN
queries, queries canceled usingCtrl+C
, and queries that fail due to out of memory errors. Runtime data is useful for query optimization, troubleshooting, and estimating the cost of running a particular query or workload.The HeatWave Advisor is implemented as a stored procedure named
heatwave_advisor
, which resides in the MySQLsys
schema. Running Advisor involves issuing aCALL
statement for the stored procedure with optional arguments.CALL sys.heatwave_advisor (options);
For more information about the HeatWave Advisor, see Workload Optimization for OLAP. (WL #14328, WL #14510, WL #14431, WL #14328, WL #14651)
-
The new HeatWave Auto Parallel Load utility automates the process of preparing and loading tables into HeatWave and loads data using an optimized number of parallel load threads.
The HeatWave Auto Parallel Load utility is implemented as a stored procedure named
heatwave_load
, which resides in the MySQLsys
schema. Running Auto Parallel Load involves issuing aCALL
statement for the stored procedure, which takes a list of schemas and options as arguments.CALL sys.heatwave_load (db_list,[options]);
For more information about the HeatWave Auto Parallel Load utility, see Loading Data Using Auto Parallel Load. (WL #14149)
The HeatWave query scheduling algorithm was improved. The revised algorithm prioritizes queries based on estimated cost and wait time in the queue, which enables dynamic, workload-aware query prioritization. Previously, queries were prioritized using a static cost-based prioritization model. (WL #14608)
DATE_ADD()
andDATE_SUB()
functions now support precisionINTERVAL
values (DECIMAL
,DOUBLE
, andFLOAT
). (Bug #32725985, Bug #32438123)Support was added for multiple instances of
COUNT(DISTINT)
in a query. (Bug #32422984)Query compilation and processing was improved to permit combining aggregate operators into a single task in the physical query plan, which avoids fully materializing intermediate result sets. This enhancement reduces memory allocation and deallocation operations, memory usage, and execution time for affected queries. (WL #14614)
The cost model that estimates HeatWave query runtimes can now use statistics from previously executed queries, which improves the accuracy of query runtime estimates. (WL #14546)
HeatWave now supports
CREATE TABLE ... SELECT
statements where theSELECT
query is offloaded to HeatWave and the table is created on the MySQL Database Service instance. This feature improvesCREATE TABLE ... SELECT
performance in cases where theSELECT
portion of the statement is a long running, complex query. For more information, see CREATE TABLE ... SELECT Statements. (WL #14516)Support was added for
REGEXP_REPLACE()
andREGEXP_SUBSTR()
regular expression functions, and error messaging was improved forREGEXP()
function syntax mismatches, expression errors, and input argument errors. (WL #14641)