Re:Why senior developers fail to communicate their expertise
by giancarlostoro on Tuesday May 12, 2026 @03:15PM
(#48113031)
MySQL doesnt eat up all 8GB of my system when I need to query a table with indexed values, MongoDB seems to eat it all up.
[ Parent
| on HN ]
Re:Why senior developers fail to communicate their expertise
by hilariously on Tuesday May 12, 2026 @04:11PM
(#48113812)
If the data is < ram size and if you read that data again and its off disk again its the slowest it can possibly be, there's a reason most databases implement a buffer cache (actually making writes insanely faster as well) but yeah, MySQL is generally not a very good operational database with all the ones I have tinkered with.
Re:Why senior developers fail to communicate their expertise
by vscode-rest on Tuesday May 12, 2026 @03:36PM
(#48113317)
You paid one hundred bucks for that eight gb of ram, do you really want it to just sit there unused?
Re:Why senior developers fail to communicate their expertise
by giancarlostoro on Tuesday May 12, 2026 @03:42PM
(#48113386)
No, but my manager was wondering why our website was slowing to a crawl.
Re:Why senior developers fail to communicate their expertise
by vscode-rest on Tuesday May 12, 2026 @03:43PM
(#48113404)
Is the DB on the same host as the web server?
Re:Why senior developers fail to communicate their expertise
by hilariously on Tuesday May 12, 2026 @04:11PM
(#48113820)
It is more likely they did not leave enough overhead for the host operating system, which is a classic issue.
Re:Why senior developers fail to communicate their expertise
by giancarlostoro on Tuesday May 12, 2026 @04:23PM
(#48114008)
I don't really remember, to be fair this was nearly 10 years ago now. Upon some googling now, I do see a way to limit just how much Mongo sucks up for data + index. I am curious if it would have been a smoother experience, if this configuration was even available then.