Re: how to avoid deadlock on masive update with multiples delete

Поиск
Список
Период
Сортировка
От Igor Neyman
Тема Re: how to avoid deadlock on masive update with multiples delete
Дата
Msg-id A76B25F2823E954C9E45E32FA49D70EC08EB763C@mail.corp.perceptron.com
обсуждение исходный текст
Ответ на how to avoid deadlock on masive update with multiples delete  ("Anibal David Acosta" <aa@devshock.com>)
Список pgsql-performance
From: Anibal David Acosta [mailto:aa@devshock.com]
Sent: Thursday, October 04, 2012 10:01 AM
To: pgsql-performance@postgresql.org
Subject: how to avoid deadlock on masive update with multiples delete

.....
.....
.....

The other situation could be that update process while blocking rows scale to block page and the try to scale to lock
tablewhile the delete process as some locked rows. 

Thanks!


This (lock escalation from row -> to page -> to table) is MS SQL Server "feature", pretty sure Postgres does not do it.

Regards,
Igor Neyman


В списке pgsql-performance по дате отправления:

Предыдущее
От: Colin Taylor
Дата:
Сообщение: Re: A Tale of 2 algorithms
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: how to avoid deadlock on masive update with multiples delete