Can someone answer the below question?
Is it possible that SELECT queries will cause a flow control issue for the Galera Cluster?
Can someone answer the below question?
Is it possible that SELECT queries will cause a flow control issue for the Galera Cluster?
Flow control manages write activity; nothing to do with read activity. SELECT’s are read-only and are local to a node. I don’t believe a SELECT query can cause flow control for these reasons.
Thanks @matthewb for the detailed information.
How can we find which write query is causing the flow control issue?
You could explore the pt-stalk tool, which can collect some details related to the database (processlist, engine status etc) and system once the defined --variable and --threshold conditions are met, like wsrep_flow_control_paused > 0 or wsrep_flow_control_active is active etc…
@Naresh9999,
I recommend you configure PMM for each node. This will allow you to track flow control (if that is indeed your issue, PMM will verify this) and correlate it to queries running in your system. Be sure to set long_query_time=0 to track all queries.
Thanks @matthewb and @Abhinav_Gupta
I’ll do my best to come up with a solution using your suggestions.
Unanswered | Unsolved | Solved
MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright © 2006 - 2024 Percona LLC. All rights reserved.