mirror of
https://github.com/postgres/postgres.git
synced 2025-12-09 02:08:45 +03:00
all the data and using posix_fadvise to nudge the OS into flushing it earlier. This also hopefully makes CREATE DATABASE avoid spamming the cache. Tests show a big speedup on Linux at least on some filesystems. Idea and patch from Andres Freund.