Re: Autovacuum deadlock - bug or not?
От | Mikael Carneholm |
---|---|
Тема | Re: Autovacuum deadlock - bug or not? |
Дата | |
Msg-id | 7F10D26ECFA1FB458B89C5B4B0D72C2B0A01E1@sesrv12.wirelesscar.com обсуждение исходный текст |
Ответ на | Autovacuum deadlock - bug or not? ("Mikael Carneholm" <Mikael.Carneholm@WirelessCar.com>) |
Ответы |
Re: Autovacuum deadlock - bug or not?
|
Список | pgsql-bugs |
variant: CLUSTER indexname ON tablename Maybe there should be something about this in the docs, so that users don't= get surprised when this happens and start sending stupid emails to the pgs= ql-bugs list :) /Mikael -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us] Sent: den 17 november 2005 15:51 To: Mikael Carneholm Cc: pgsql-bugs@postgresql.org Subject: Re: [BUGS] Autovacuum deadlock - bug or not?=20 "Mikael Carneholm" <Mikael.Carneholm@WirelessCar.com> writes: > Don't know if this is a bug or just undocumented, but it seems as you sho= uld turn off autovacuum before you run CLUSTER, otherwise you might run int= o a deadlock: Which variant of CLUSTER were you using? ISTR that some of them lock the index before the table, which is prone to deadlock against nearly all other operations on the table (not just vacuum). regards, tom lane
В списке pgsql-bugs по дате отправления: