Re: Synchronized scans - Mailing list pgsql-patches

From Tom Lane
Subject Re: Synchronized scans
Date
Msg-id 20559.1181525998@sss.pgh.pa.us
Whole thread Raw
In response to Re: Synchronized scans  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Synchronized scans
List pgsql-patches
Jeff Davis <pgsql@j-davis.com> writes:
> I'm sure this has been brought up before, does someone have a pointer to
> a discussion about doing VACUUM-like work in a sequential scan?

Yeah, it's been discussed before; try looking for "incremental vacuum"
and such phrases.

The main stumbling block is cleaning out index entries for the
known-dead heap tuple.  The current VACUUM design amortizes that cost
across as many dead heap tuples as it can manage; doing it retail seems
inevitably to be a lot more expensive.

            regards, tom lane

pgsql-patches by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Synchronized scans
Next
From: Alvaro Herrera
Date:
Subject: Re: Synchronized scans