Re: large inserts and fsync

From: Alan Hodgson <ahodgson(at)simkin(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: large inserts and fsync
Date: 2008-09-05 15:39:08
Message-ID: 200809050839.08705@hal.medialogik.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-09-05 15:47:48 Re: large inserts and fsync
Previous Message Sam Mason 2008-09-05 15:32:58 Re: large inserts and fsync