On Thu, Dec 5, 2013 at 2:54 PM, Claudio Freire <klaussfre...@gmail.com> wrote: > That's a bad idea in the current state of affairs. MM files haven't > been designed for that usage, and getting stable performance out of > that will be way too difficult.
I'm talking about long-term goals here. Either of these two routes would require whole new kernel interfaces to work effectively. Without those new kernel interfaces our current approach is possibly the best we can get. I think the way to use mmap would be to mmap very large chunks, possibly whole tables. We would need some way to control page flushes that doesn't involve splitting mappings and can be efficiently controlled without having the kernel storing arbitrarily large tags on page tables or searching through all the page tables to mark pages flushable. -- greg -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers