Re: App very unresponsive while performing simple update
В списке pgsql-performance по дате отправления:
| От | Greg Stark |
|---|---|
| Тема | Re: App very unresponsive while performing simple update |
| Дата | |
| Msg-id | 87slmum3th.fsf@stark.xeocode.com обсуждение исходный текст |
| Ответ на | Re: App very unresponsive while performing simple update (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: App very unresponsive while performing simple update
|
| Список | pgsql-performance |
Tom Lane <tgl@sss.pgh.pa.us> writes: > Greg Stark <gsstark@mit.edu> writes: > > What queries are those two processes executing? And what foreign keys do you > > have on the product table or elsewhere referring to the product table? And > > what indexes do you have on those columns? > > And what PG version is this? Alvaro fixed the > foreign-keys-take-exclusive-locks problem in 8.1 ... Except I don't think this is taking an exclusive lock at all. The original post had the deadlock detection fire on a SharedLock. I think the other process is also an update and is holding an exclusive lock while also trying to acquire a SharedLock for a foreign key column. -- greg
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера