1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-10 14:22:35 +03:00
Files
postgres/src/include
Greg Stark f8c183a1ac Speed up CREATE DATABASE by deferring the fsyncs until after copying
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.
2010-02-15 00:50:57 +00:00
..
2010-01-02 16:58:17 +00:00
2010-01-02 16:58:17 +00:00
2010-01-02 16:58:17 +00:00
2010-01-15 09:19:10 +00:00
2010-01-02 16:58:17 +00:00
2010-01-02 16:58:17 +00:00
2010-01-31 17:35:46 +00:00
2010-01-02 16:58:17 +00:00