pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Jeffrey Baker <jwbaker@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-performance@postgresql.org
Subject: Re: 3-days-long vacuum of 20GB table
Date: Fri, 18 Apr 2008 14:24:22 -0400
Message-ID: <20080418182422.GA11081@alvh.no-ip.org> (raw)
In-Reply-To: <fd145f7d0804181054g6642d197n458f0b62edd79f6a@mail.gmail.com>
References: <fd145f7d0804180935w7d0052degf79a9660b043c084@mail.gmail.com>
	<3630.1208538238@sss.pgh.pa.us>
	<fd145f7d0804181032w5dd56caj608866297120984a@mail.gmail.com>
	<fd145f7d0804181034j50ffb420s4b4144636d886087@mail.gmail.com>
	<fd145f7d0804181054g6642d197n458f0b62edd79f6a@mail.gmail.com>

Jeffrey Baker escribió:

> That's rather more like it.  I guess I always imagined that VACUUM was
> a sort of linear process, not random, and that it should proceed at
> sequential scan speeds.

It's linear for the table, but there are passes for indexes which are
random in 8.1.  That code was rewritten by Heikki Linnakangas to do
linear passes for indexes in 8.2 AFAIR.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.



view thread (8+ messages)  latest in thread

Message-ID: <20080418182422.GA11081@alvh.no-ip.org>
Permalink:  ../20080418182422.GA11081@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20080418182422.GA11081@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: alvherre@commandprompt.com, jwbaker@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: 3-days-long vacuum of 20GB table
  In-Reply-To: <20080418182422.GA11081@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox