Re: Slow concurrent processing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



:(

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@xxxxxxxxx>
On Tue, Mar 12, 2013 at 7:13 AM, Misa Simic <misa.simic@xxxxxxxxx> 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


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux