Re: LOCK TABLE & speeding up mass data loads - Mailing list pgsql-performance

From Rod Taylor
Subject Re: LOCK TABLE & speeding up mass data loads
Date
Msg-id 1043521665.58142.135.camel@jester
Whole thread Raw
In response to LOCK TABLE & speeding up mass data loads  (Ron Johnson <ron.l.johnson@cox.net>)
Responses Re: LOCK TABLE & speeding up mass data loads
List pgsql-performance
On Sat, 2003-01-25 at 13:57, Ron Johnson wrote:
> Hi,
>
> Would LOCK TABLE ACCESS EXCLUSIVE MODE speed things up, when I have
> a script that loads data by setting transactions, and then committing
> works after every few thousand INSERTs?

If you're the only person working on the database, then no.  If you're
fighting for resources with a bunch of other people -- then possibly,
but the others won't get anything done during this timeframe (of
course).

Oh, and you're using COPY right?

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Attachment

pgsql-performance by date:

Previous
From: Ron Johnson
Date:
Subject: LOCK TABLE & speeding up mass data loads
Next
From: Ron Johnson
Date:
Subject: Re: LOCK TABLE & speeding up mass data loads