Mysql high memory usage
Hi, is there a way to reduce the standby memory usage of the mysql service or maybe to configure mysql on my own?
This is currently resulting in unnecessary costs as the service is not really used most of the time
Solution:Jump to solution
I have seen a lot of screenshots of mysql's memory metrics and 430ish mb is perfectly normal for mysql, that's just how it is.
I'd recommend giving my mariadb template a try, it should be a drop in replacement for mysql in a lot of cases, and it would use roughly half the idle memory.
https://railway.app/template/Onvy0F...
13 Replies
Project ID:
aad8507c-66a2-4923-9502-c21c1762f332
aad8507c-66a2-4923-9502-c21c1762f332
Solution
I have seen a lot of screenshots of mysql's memory metrics and 430ish mb is perfectly normal for mysql, that's just how it is.
I'd recommend giving my mariadb template a try, it should be a drop in replacement for mysql in a lot of cases, and it would use roughly half the idle memory.
https://railway.app/template/Onvy0F
Thank you very much, I'll test that. Yes 430 isn't that high but for idling still generating unnecessary costs
unfortunately thats just how mysql is
Yep, Unfortunately it is...
so yeah, give mariadb a try
specifically the template i linked
Let me check
Yes indeed, that works and is propably the better solution as using postgre. I am now at 220mb memory.
Thank you very much for this tip!
Really appreciate it
no problem!
how to deploy your template to an existing project?
or move service to antoher project?
open your project > + new > template > mariadb, dont deploy the one that doesnt say
image deploy
Thank you. i can add maria db now. I confused because i usually deploy new service with right click (no template option when right click) i think its better to add "Template" 😄
yeah ideally template should be in that context menu