tidb频繁报错:Data Too Long
[2022/08/30 10:52:27.997 +08:00] [ERROR] [handle.go:187] [“[stats] error occurred when read table stats”] [table=log_need_retry_method] [error=“[types:1406]Data Too Long, field len 40, data len 64”]
SELECT
b.TABLE_SCHEMA,b.table_name,ROUND((1-a.modify_count/a.count)*100,0) healthy
FROM mysql.stats_meta a
LEFT JOIN INFORMATION_SCHEMA.TABLES b ON a.table_id = b.TIDB_TABLE_ID
WHERE b.TABLE_SCHEMA = ‘’
AND b.table_name = ‘’
ORDER BY table_id;