For bulk write operations (eg COPY IN), use a ring buffer of 16MB instead

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6382448cf96a9b88d418cbaf86027b63f465b5d8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-06-22T20:04:28Z
Releases: 8.4.0
For bulk write operations (eg COPY IN), use a ring buffer of 16MB instead
of the 256KB limit originally enforced by a patch committed 2008-11-06.
Per recent test results, the smaller size resulted in an undesirable decrease
in bulk data loading speed, due to COPY processing frequently getting blocked
for WAL flushing.  This area might need more tweaking later, but this setting
seems to be good enough for 8.4.

Files