Re: Slow concurrent processing - Mailing list pgsql-performance

From Misa Simic
Subject Re: Slow concurrent processing
Date
Msg-id CAH3i69n6MKMLfskx2a3zzHo6mDansEaHm3wagCfQ8+wz_NeX1A@mail.gmail.com
Whole thread Raw
In response to Re: Slow concurrent processing  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-performance
:(

Ah - 9.1.0 is postgres version on Ubuntu...

Thanks Jeff - you saved me some time - reorganising functions to work with different tables would take time... what potentially will not give us solution :(

Many thanks,

Misa


2013/3/12 Jeff Janes <jeff.janes@gmail.com>
On Tue, Mar 12, 2013 at 7:13 AM, Misa Simic <misa.simic@gmail.com> wrote:
Hi,

Researching deeply my problem with concurrent processing i have found:



"The more likely suspect is a foreign key conflict. 
Are both transactions inserting/updating rows that could reference 
the same row(s) in a master table?" - Tom Lane

This is exactly the case (in my case) - several connections tries to insert rows in the same table... but some columns are referenced to settings tables... and there is possibility that two rows what we want to insert reference the same row in settings table...

Unless you are running an ancient version of PostgreSQL (<8.1), this would no longer pose a problem.

Cheers,

Jeff

pgsql-performance by date:

Previous
From: Misa Simic
Date:
Subject: Re: Slow concurrent processing
Next
From: "Emre Hasegeli"
Date:
Subject: Re: PostgreSQL 9.2.3 performance problem caused Exclusive locks