Re: Slow concurrent processing

Поиск
Список
Период
Сортировка
От Misa Simic
Тема Re: Slow concurrent processing
Дата
Msg-id CAH3i69n6MKMLfskx2a3zzHo6mDansEaHm3wagCfQ8+wz_NeX1A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Slow concurrent processing  (Jeff Janes <jeff.janes@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Misa Simic
Дата:
Сообщение: Re: Slow concurrent processing
Следующее
От: "Emre Hasegeli"
Дата:
Сообщение: Re: PostgreSQL 9.2.3 performance problem caused Exclusive locks