Re: Slow concurrent processing - Mailing list pgsql-performance

From Jeff Janes
Subject Re: Slow concurrent processing
Date
Msg-id CAMkU=1zune_RMF=2k46b_QwJ6C=E73deNzixSmEfdyd7ORGa3A@mail.gmail.com
Whole thread Raw
In response to Re: Slow concurrent processing  (Misa Simic <misa.simic@gmail.com>)
Responses Re: Slow concurrent processing  (Misa Simic <misa.simic@gmail.com>)
List pgsql-performance
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: Steve Crawford
Date:
Subject: Re: Slow concurrent processing
Next
From: Misa Simic
Date:
Subject: Re: Slow concurrent processing