Skip site navigation (1) Skip section navigation (2)

Re: lock contention on parallel COPY ?

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: lock contention on parallel COPY ?
Date: 2008-09-26 17:53:03
Message-ID: 48DD217F.6040404@kaltenbrunner.cc (view raw or flat)
Thread:
Lists: pgsql-hackers
Tom Lane wrote:
> Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc> writes:
>> that one generates a huge amount of logs - output for ~60s into the load 
>> is available here:
>> http://www.kaltenbrunner.cc/files/lwstats.txt (21MB!)
> 
> Huh ... essentially all the contention is for OidGenLock.  I take it
> you're loading into a table that has OIDs?

hmm that particular database has its ancient roots on 7.3 (or 7.4) and 
indeed it seems that some tables in the dump are preceeded by a SET 
default_with_oids = true;

Will go and elimited those and try again.


Stefan

In response to

pgsql-hackers by date

Next:From: Simon RiggsDate: 2008-09-26 17:56:36
Subject: Re: lock contention on parallel COPY ?
Previous:From: Jonah H. HarrisDate: 2008-09-26 17:47:16
Subject: Re: PostgreSQL future ideas

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group