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

Performance with large amount of databases is poor. #10

Closed
charrondev opened this issue Nov 10, 2017 · 3 comments
Closed

Performance with large amount of databases is poor. #10

charrondev opened this issue Nov 10, 2017 · 3 comments

Comments

@charrondev
Copy link
Contributor

While a small performance loss is acceptable for the benefits of using a container, all my sites seemed to crawl to a halt once I imported a ~4GB of data across multiple databases in the datastorage volume (3-6 second response times). This is not an issue with using MySQL outside of Docker on MacOS 10.12.

I'm guessing the slowdown is could be partially alleviated by tuning the MySQL configuration a little bit, but is likely due to the way the datastorage volume is mounts the filesystem. I'm not really sure though.

Possible Solutions:

  • Improve the docker setup/tune MySQL.
  • Allow using the docker container, but with a native MySQL instance.
@DaazKu
Copy link
Contributor

DaazKu commented Nov 15, 2017

This seems to be a High Sierra problem: docker/for-mac#1810 (comment)
I rested with the same dump and I was able to restore it in 28m and I saw absolutely no performance downgrade.

@DaazKu
Copy link
Contributor

DaazKu commented Jan 26, 2018

Seems to have improved. Still not perfect though.

@DaazKu
Copy link
Contributor

DaazKu commented Apr 26, 2018

Doesn't seem to be an issue for normal development usage.

@DaazKu DaazKu closed this as completed Apr 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants