时间:2017-11-22 | 栏目:im下载 | 点击:次
slave_parallel_mode=optimistic
slave_parallel_threads=6
set global innodb_flush_log_at_trx_commit=0; --追不上把这个也开了
MariaDB [(none)]> show processlist;
+----+-------------+-----------+------+---------+------+----------------------------------+------------------+----------+
| Id | User | Host | db | Command | Time | State | Info | Progress |
+----+-------------+-----------+------+---------+------+----------------------------------+------------------+----------+
| 5 | root | localhost | NULL | Query | 0 | init | show processlist | 0.000 |
| 23 | system user | | NULL | Connect | 1197 | Waiting for master to send event | NULL | 0.000 |
| 24 | system user | | NULL | Connect | 1197 | Waiting for work from SQL thread | NULL | 0.000 |
| 25 | system user | | NULL | Connect | 1197 | Waiting for work from SQL thread | NULL | 0.000 |
| 26 | system user | | NULL | Connect | 1197 | Waiting for work from SQL thread | NULL | 0.000 |
| 27 | system user | | NULL | Connect | 1197 | Waiting for work from SQL thread | NULL | 0.000 |
| 28 | system user | | NULL | Connect | 1197 | Waiting for work from SQL thread | NULL | 0.000 |
| 29 | system user | | NULL | Connect | 1197 | Waiting for work from SQL thread | NULL | 0.000 |
| 30 | system user | | NULL | Connect | 0 | apply log event | NULL | 0.000 |
+----+-------------+-----------+------+---------+------+----------------------------------+------------------+----------+
9 rows in set (0.00 sec)
|