Re: vacuum, performance, and MVCC - Mailing list pgsql-hackers

From Csaba Nagy
Subject Re: vacuum, performance, and MVCC
Date
Msg-id 1150985358.3309.90.camel@coppola.muc.ecircle.de
Whole thread Raw
In response to Re: vacuum, performance, and MVCC  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: vacuum, performance, and MVCC  (Mario Weilguni <mweilguni@sime.com>)
List pgsql-hackers
> > [...]
> > There has to be a more linear way of handling this scenario.
> 
> So vacuum the table often.

Good advice, except if the table is huge :-)

Here we have for example some tables which are frequently updated but
contain >100 million rows. Vacuuming that takes hours. And the dead row
candidates are the ones which are updated again and again and looked up
frequently...

A good solution would be a new type of vacuum which does not need to do
a full table scan but can clean the pending dead rows without that... I
guess then I could vacuum really frequently those tables.

Cheers,
Csaba.




pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: vacuum, performance, and MVCC
Next
From: Tom Lane
Date:
Subject: Re: Problem to "current-status information in shared memory" patch