Re: large inserts and fsync - Mailing list pgsql-general

From Alan Hodgson
Subject Re: large inserts and fsync
Date
Msg-id 200809050839.08705@hal.medialogik.com
Whole thread Raw
In response to Re: large inserts and fsync  (Sam Mason <sam@samason.me.uk>)
List pgsql-general
> > > Have you tried bundling all the INSERT statements into a single
> > > transaction?
> >
> > Yes, the developer already made sure of that and I verified.

I would verify that again, because fsync shouldn't make much of a difference
in that circumstance. I might not do all 16 million in one transaction, but
if you're doing 10 or 100 thousand at a time, it should be pretty fast.

A language-level auto-commit remains to be disabled, perhaps?


--
Alan

pgsql-general by date:

Previous
From: Sam Mason
Date:
Subject: Re: large inserts and fsync
Next
From: Tom Lane
Date:
Subject: Re: large inserts and fsync