Re: Proposal for background vacuum full/cluster

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Paul Tillotson <pntil(at)shentel(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Proposal for background vacuum full/cluster
Date: 2005-04-22 03:15:16
Message-ID: 20050422031516.GB24057@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Apr 21, 2005 at 08:53:33PM -0400, Paul Tillotson wrote:

> 1) Does an update always go to the FSM to find out where to put the new
> tuple, or does it first try to put it in the current page, and only read
> the FSM if the current page is already full?

The latter.

> 2) Is it possible to write a where clause that can efficiently hit only
> the tuples in the end of the table? If there is a way, then I could
> test the idea without writing any code at all.

Not sure, but you could try using the ctid column.

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"Las cosas son buenas o malas segun las hace nuestra opinión" (Lisias)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-04-22 03:17:18 Re: Postgres: pg_hba.conf, md5, pg_shadow, encrypted passwords
Previous Message Greg Stark 2005-04-22 03:03:41 Re: Postgres: pg_hba.conf, md5, pg_shadow, encrypted passwords