[MDEV-15294] extremely slow insert using single thread on a single table when binlog_commit_wait_count > 0 Created: 2018-02-13 Updated: 2018-02-13 Resolved: 2018-02-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Replication |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | Michael Xu | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
A stand-alone server running mariadb 10.2.12.
10,000 records insert
According to the official manual, the system variable will only impact parallel replication, is that normal on a stand-alone server? |
| Comments |
| Comment by Sergei Golubchik [ 2018-02-13 ] |
|
This is expected behavior. binlog_commit_wait_count=10 means that at every commit, binlog will wait hoping to collect 10 commits and write them together. Because you insert in only one connection, this never happens, so practically every your commit is simply delayed by binlog_commit_wait_usec microseconds. |