Re: Why do we let autovacuum give up?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Why do we let autovacuum give up?
Дата
Msg-id CA+TgmoYVbzb-4VWRsnF1g0oMQp0BtdtnwZ5HfJU2=ytZSaLKLQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Why do we let autovacuum give up?  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
Ответы Re: Why do we let autovacuum give up?  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
Список pgsql-hackers
On Thu, Jan 23, 2014 at 4:03 PM, Mark Kirkwood
<mark.kirkwood@catalyst.net.nz> wrote:
> On 24/01/14 09:49, Tom Lane wrote:
>> 2. What have you got that is requesting exclusive lock on pg_attribute?
>> That seems like a pretty unfriendly behavior in itself. regards, tom lane
>
> I've seen this sort of problem where every db session was busily creating
> temporary tables. I never got to the find *why* they needed to make so many,
> but it seemed like a bad idea.

But... how does that result on a vacuum-incompatible lock request
against pg_attribute?

I see that it'll insert lots of rows into pg_attribute, and maybe
later delete them, but none of that blocks vacuum.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [bug fix] pg_ctl always uses the same event source
Следующее
От: Gregory Smith
Дата:
Сообщение: Re: [Lsf-pc] Linux kernel impact on PostgreSQL performance