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

MySQL custom configuration #9230

Open
akostadinov opened this issue Feb 13, 2025 · 2 comments
Open

MySQL custom configuration #9230

akostadinov opened this issue Feb 13, 2025 · 2 comments
Assignees

Comments

@akostadinov
Copy link

Missing Information

Need information how to apply custom MySQL server configuration to the cimg/mysql image.

My observation is that mysql takes 500+ MB of RAM for a mostly empty test database. This is too much and causes OOM in tests where also chrome, redis, memcached and manticore are run at the same time. And MySQL is the biggest memory user (except chrome).

I read that some options like table_definition_cache = 400 may help significantly reduce its footprint. So wanted to try. But I see no way to apply such options.

Already Looked

https://circleci.com/docs/databases/
https://circleci.com/developer/images/image/cimg/mysql#how-this-image-works

Potential Locations

both of the above

@rosieyohannan rosieyohannan self-assigned this Apr 2, 2025
@rosieyohannan
Copy link
Contributor

Hi @akostadinov thank you for flagging this up to us. I will see what I can find out to help 👍

@akostadinov
Copy link
Author

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