HeatWave Release Notes
To identify tables on the MySQL DB System that are defined with a
secondary engine, query the CREATE_OPTIONS
column of the
INFORMATION_SCHEMA.TABLES
table.
The CREATE_OPTIONS
column shows the
SECONDARY_ENGINE
clause, if defined. Tables
with SECONDARY_ENGINE="RAPID"
are loaded
into HeatWave, and changes to them are automatically propagated
to their counterpart tables in the HeatWave Cluster.
mysql> SELECT TABLE_SCHEMA, TABLE_NAME, CREATE_OPTIONS
FROM INFORMATION_SCHEMA.TABLES
WHERE CREATE_OPTIONS LIKE '%SECONDARY_ENGINE%' AND TABLE_SCHEMA LIKE 'tpch';
+--------------+------------+--------------------------+
| TABLE_SCHEMA | TABLE_NAME | CREATE_OPTIONS |
+--------------+------------+--------------------------+
| tpch | customer | SECONDARY_ENGINE="RAPID" |
| tpch | lineitem | SECONDARY_ENGINE="RAPID" |
| tpch | nation | SECONDARY_ENGINE="RAPID" |
| tpch | orders | SECONDARY_ENGINE="RAPID" |
| tpch | part | SECONDARY_ENGINE="RAPID" |
| tpch | partsupp | SECONDARY_ENGINE="RAPID" |
| tpch | region | SECONDARY_ENGINE="RAPID" |
| tpch | supplier | SECONDARY_ENGINE="RAPID" |
+--------------+------------+--------------------------+
You can also view create options for an individual table using
SHOW CREATE TABLE
.