Re: [HACKERS] [COMMITTERS] pgsql: In COPY, insert tuples to the heap in batches.

2011-11-09 Thread Heikki Linnakangas
On 09.11.2011 15:25, Simon Riggs wrote: On Wed, Nov 9, 2011 at 9:06 AM, Heikki Linnakangas wrote: In COPY, insert tuples to the heap in batches. This greatly reduces the WAL volume, especially when the table is narrow. The overhead of locking the heap page is also reduced. Reduced WAL traffic

Re: [HACKERS] [COMMITTERS] pgsql: In COPY, insert tuples to the heap in batches.

2011-11-09 Thread Simon Riggs
On Wed, Nov 9, 2011 at 9:06 AM, Heikki Linnakangas wrote: > In COPY, insert tuples to the heap in batches. > > This greatly reduces the WAL volume, especially when the table is narrow. > The overhead of locking the heap page is also reduced. Reduced WAL traffic > also makes it scale a lot better,