我要评分
获取效率
正确性
完整性
易理解

Loading and Unloading a Data Table on the Secondary Engine

Loading a data table to the secondary engine is the prerequisite for offloading the table-related SQL statements to KOVAE for execution. Before uninstalling KOVAE, you need to perform this operation to change all the secondary engine tables of KOVAE to the UNLOAD state. To load and unload a data table on the secondary engine, you must have the permission to modify the data table. This section uses the test table t1 as an example.

Loading a Data Table to the Secondary Engine

  1. Log in to the MySQL service through the MySQL client.
  2. Load a data table to the secondary engine. t1 indicates the name of the target table. Change it based on actual requirements.
    ALTER TABLE t1 SECONDARY_LOAD;

    If the following information is displayed, the operation is successful:

    Query OK, 0 rows affected (0.00 sec)

Unloading a Data Table from the Secondary Engine

  1. Log in to the MySQL service through the MySQL client.
  2. Unload a data table from the secondary engine. t1 indicates the name of the target table. Change it based on actual requirements.
    ALTER TABLE t1 SECONDARY_UNLOAD;

    If the following information is displayed, the operation is successful:

    Query OK, 0 rows affected (0.00 sec)