Help Center/ TaurusDB/ User Guide/ HTAP Analysis (Standard Edition)/ Connecting to an HTAP Instance for Complex OLAP Queries
Updated on 2024-11-06 GMT+08:00

Connecting to an HTAP Instance for Complex OLAP Queries

You can let an application directly connect to an HTAP instance to enable complex OLAP queries.

Prerequisites

  • Parameters have been configured for a GaussDB(for MySQL) instance according to the following table.
    Table 1 Parameter description

    Parameter

    Value

    How to Modify

    default_authentication_plugin

    mysql_native_password

    Modifying Parameters of a DB Instance

    binlog_expire_logs_seconds

    86400

    NOTE:

    It is recommended that the binlog retention period be greater than one day. 86,400s = 60 (seconds) x 60 (minutes) x 24 (hours). This prevents incremental replication failures caused by a short binlog retention period.

    Modifying Parameters of a DB Instance

    log_bin

    NOTE:

    To use this parameter, ensure that the GaussDB(for MySQL) kernel version is earlier than 2.0.45.230900.

    ON

    How Do I Enable and View Binlog of My GaussDB(for MySQL) Instance?

    rds_global_sql_log_bin

    NOTE:

    To use this parameter, ensure that the GaussDB(for MySQL) kernel version is 2.0.45.230900 or later.

    ON

    How Do I Enable and View Binlog of My GaussDB(for MySQL) Instance?

    binlog_format

    ROW

    Run the SHOW VARIABLES; command to check the parameter value. If you need to change the parameter value, contact customer service.

    binlog_row_image

    FULL

    Run the SHOW VARIABLES; command to check the parameter value. If you need to change the parameter value, contact customer service.

    log_bin_use_v1_row_events

    OFF

    Run the SHOW VARIABLES; command to check the parameter value. If you need to change the parameter value, contact customer service.

  • Databases and tables have been created for the GaussDB(for MySQL) instance.

Procedure