Este conteúdo foi traduzido por máquina para sua conveniência e a Huawei Cloud não pode garantir que o conteúdo foi traduzido com precisão. Para exibir o conteúdo original, use o link no canto superior direito para mudar para a página em inglês.
Central de ajuda/ TaurusDB/ Guia de usuário/ Análise de HTAP (edição padrão)/ Conexão a uma instância de HTAP para consultas OLAP complexas
Atualizado em 2025-08-07 GMT+08:00

Conexão a uma instância de HTAP para consultas OLAP complexas

Você pode permitir que uma aplicação se conecte diretamente a uma instância de HTAP para ativar consultas OLAP complexas.

Prerequisites

  • Parameters have been configured for a TaurusDB instance according to the following table.
    Tabela 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

    NOTA:

    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

    NOTA:

    To use this parameter, ensure that the TaurusDB kernel version is earlier than 2.0.45.230900.

    ON

    How Do I Enable and View Binlog of My TaurusDB Instance?

    rds_global_sql_log_bin

    NOTA:

    To use this parameter, ensure that the TaurusDB kernel version is 2.0.45.230900 or later.

    ON

    How Do I Enable and View Binlog of My TaurusDB 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 TaurusDB instance.

Procedimento