Tom Lane wrote:
>
> Don Baccus <dhogaza@pacifier.com> writes:
> > While I don't doubt your analysis is correct for the case you've
> > uncovered, it doesn't explain why surrounding a bunch of selects
> > with a begin/end block greatly descreases disk activity for tables
> > that don't change.
>
> Hmm, I'm not sure why that should be, either. Anyone?
pg_log fsync for read-only xactions...
And more of that, commit fsyncs ALL dirty buffers
in pool, even dirtied not by xaction being committed!
Vadim