通过多线程统计另一个线程
MySQL version 5.6 and later allows you to execute replicated events using parallel threads. This feature is called Multi-Threaded Slave (MTS), and to enable it you need to modify theslave_parallel_workers variable to a value greater than 1.
MySQL 5.6和更高版本允许您使用并行线程执行复制的事件。 此功能称为多线程从站(MTS),要启用此功能,您需要将theslave_parallel_workers变量修改为大于1的值。
Recently, a few customers asked about the meaning of some new statistics printed in their error log files when they enable MTS. These error messages look similar to the example stated below:
最近,一些客户询问启用MTS时错误日志文件中打印的一些新统计信息的含义。 这些错误消息看起来类似于以下示例:
The MySQL reference manual doesn’t show information about these statistics. I’ve filled a bug report asking Oracle to add information about these statistics in the MySQL documentation. I reported this bug as #85747.
MySQL参考手册没有显示有关这些统计信息的信息。 我填写了一个错误报告,要求Oracle在MySQL文档中添加有关这些统计信息的信息。 我将此错误报告为#85747 。
Before they update the documentat