tencent cloud

Data Transfer Service

문서Data Transfer Service

Peripheral Checks

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-11-05 10:31:39
AI 번역 및 품질 검수 완료

Checking Details

It is recommended to set the environment variable parameter innodb_stats_on_metadata to OFF on the source database.

Fix

Modifying the Parameter innodb_stats_on_metadata

Note:
innodb_stats_on_metadata: If this parameter is enabled, InnoDB updates the information_schema.statistics table whenever tables in the information_schema metadata database are queried, increasing access time. You can disable this parameter to accelerate access to schema databases and tables.
For MySQL versions earlier than 5.6.6, the preset value of the parameter innodb_stats_on_metadata is ON and must be changed to OFF. For MySQL 5.6.6 and later versions, the preset value is OFF, and no issue exists.
1. Log in to the source database.
2. Set innodb_stats_on_metadata to OFF.
set global innodb_stats_on_metadata = OFF;
3. Check whether the configuration has taken effect.
show global variables like '%innodb_stats_on_metadata%';
The system displays results similar to the following:
mysql> show global variables like '%innodb_stats_on_metadata%';
+--------------------------+-------+
| Variable_name | Value |
+--------------------------+-------+
| innodb_stats_on_metadata | OFF |
+--------------------------+-------+
1 row in set (0.00 sec)
4. Execute the check task again.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백