MySQL Memory Usage
Hey there, we just migrated to Railway and in the last 24h I saw that the memory usage is consistently at 500mb, without much traffic.
Is that normal? / Do we have to expect at least 5$ sub + 10$ memory usage each month?
Solution:Jump to solution
That is unfortunately completely normal memory usage for a MySQL deployment, MySQL is a memory hog, I'd recommend Brody's MariaDB Template though, it's basically a drop in replacement for MySQL and should be a lot more memory effecient
7 Replies
Project ID:
67b87d30-5a04-4dbe-884b-731cf1b4167c
67b87d30-5a04-4dbe-884b-731cf1b4167c
Solution
That is unfortunately completely normal memory usage for a MySQL deployment, MySQL is a memory hog, I'd recommend Brody's MariaDB Template though, it's basically a drop in replacement for MySQL and should be a lot more memory effecient
Thanks for the info!
https://discord.com/channels/713503345364697088/1218222143192694784/1218352437182726264
you can also try adding that parameter to the end of the start command as stated by brody
@DaFelix
but it wont do any miracles lol
friendship ended with medim, now fragly and grid are my best friends
i can confirm that swapping in mariadb saves about 100-150mb of memory overhead