Josh Berkus <josh@agliodbs.com> writes:
> Can we break down everything that happens during a checkpoint so that we
> can see where this huge cost is coming from? Checkpointing should be
> limited to fsyncing to disk and marking WAL files as recyclable, but there
> seems to be something more.
I already asked you to measure the thing I think is the likely candidate
(to wit, dumping full page images into WAL).
regards, tom lane