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: (view raw, whole thread or download thread mbox)
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:
>> (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.


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-2017 The PostgreSQL Global Development Group