Open wangzihuacool opened 1 month ago
LGTM
When the modified table is a partition table, the execution time of the ANALYZE command will increase as the number of partitions increases. When the ANALYZE statement is synchronized to the replica, it may cause replication lag.
When the ANALYZE statement is synchronized to the replica, it may cause replication lag.
Maybe make this feature a optional flag then? What do you think @timvaillancourt ?
Related issue: #1418
Description: analyze ghost table before cutover to avoid table statistics not timely updated.