Hacker News new | ask | show | jobs
by gabriel_dev 669 days ago
As far as I know the OS handles the low lever memory management. The ephemeral database uses the allocated from the OS ram. Depending on your OS configuration one may have or not have a swap. However for the database app (daemon, service) this may be transparent. Either there is some free ram to run or there's no ram available.

The other thing is that probably it's not a good idea to rely on swap memory. Not sure there's a point of going that path for performance reasons.