MHN

Ask HN: Are any databases implementing own memory paging (swapping)?

10 points by kuriozeetee·843 days ago·Show in HN

The question is - Are (any or all?) database systems engines implementing own memory paging (memory swaping mechanisms) beside just what Operating System is providing so they can still work even when memory available trough OS virtual memory is exhausted? Or in other words - so they could work on data sets far exceeding size of memory that virtual memory can provide? Can you provide examples of database engines that do have such functionality implemented?

Add a comment on Hacker News →
1 of 4 comments
  1. 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.