[MDEV-19473] MariaDB Galera Cluster response longer than 1 second Created: 2019-05-14 Updated: 2019-12-12 Resolved: 2019-12-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Data Manipulation - Update |
| Affects Version/s: | 10.2.22 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | xiaolingfeng | Assignee: | Jan Lindström (Inactive) |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | galera | ||
| Environment: |
OS: Ubuntu 18.04 server 64bit |
||
| Attachments: |
|
| Description |
|
MariaDB Galera Cluster response longer than 1 second the collected slow log samples as follow: SET timestamp=1557759155;
|
| Comments |
| Comment by Geoff Montee (Inactive) [ 2019-05-15 ] | |||||
|
Your SHOW GLOBAL STATUS output shows that your cluster spends a lot of time in flow control:
Flow control can lead to longer response times, which appears to be exactly what you are having issues with. Usually, flow control can be avoided by better optimizing your cluster's configuration. The main parameter that you would want to set is gcs.fc_limit: http://galeracluster.com/documentation-webpages/galeraparameters.html#gcs-fc-limit I also see the following in your SHOW GLOBAL STATUS output:
So you may want to set gcs.fc_limit to 128, or even higher. I would also suggest reading through the following documentation pages: http://galeracluster.com/documentation-webpages/nodestates.html http://galeracluster.com/documentation-webpages/managingfc.html http://galeracluster.com/documentation-webpages/detectingaslownode.html | |||||
| Comment by Alexey [ 2019-05-15 ] | |||||
|
It may also help to | |||||
| Comment by Faustin Lammler [ 2019-10-10 ] | |||||
|
Hi xiaolingfeng please can you verify that the credentials from your slow.log attachment are not critical for you? Regards, | |||||
| Comment by Jan Lindström (Inactive) [ 2019-12-12 ] | |||||
|
No feedback provided. |