Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOAD ... TO RUNTIME should happen only after changes were made #46

Open
krzysztof-ksiazek opened this issue Aug 2, 2017 · 0 comments
Open
Assignees

Comments

@krzysztof-ksiazek
Copy link

  • ProxySQL Tools version: 3.10
  • Python version: n/a
  • Operating System: n/a

Description

As of now proxysql-tools executes reload_runtime() quite often when registering backends. This is not without an impact on ProxySQL and performance in general. All changes should be made in "MEMORY" and loaded to runtime only once per 'proxysql-tool galera register' execution. Additionally, if no changes happened (so mysql_servers after changes are the same as runtime_mysql_servers in ProxySQL), there's no need to load them up.

@otani88 otani88 self-assigned this Aug 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants