R
Railway8mo ago
DaFelix

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:
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
Jump to solution
7 Replies
Percy
Percy8mo ago
Project ID: 67b87d30-5a04-4dbe-884b-731cf1b4167c
DaFelix
DaFelixOP8mo ago
67b87d30-5a04-4dbe-884b-731cf1b4167c
Solution
Fragly
Fragly8mo ago
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
DaFelix
DaFelixOP8mo ago
Thanks for the info!
Medim
Medim8mo ago
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
Brody
Brody8mo ago
friendship ended with medim, now fragly and grid are my best friends
gridonyx
gridonyx8mo ago
i can confirm that swapping in mariadb saves about 100-150mb of memory overhead
Want results from more Discord servers?
Add your server