pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ed L. <pgsql@bluepolka.net>
To: Csaba Nagy <nagy@ecircle-ag.com>
Cc: Postgres general mailing list <pgsql-general@postgresql.org>
Cc: Bill Moran <wmoran@collaborativefusion.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Subject: Re: Index bloat of 4x
Date: Fri, 19 Jan 2007 10:19:52 -0700
Message-ID: <200701191019.52768.pgsql@bluepolka.net> (raw)
In-Reply-To: <1169197877.11526.10.camel@coppola.muc.ecircle.de>
References: <20070117093223.bcdb302e.wmoran@collaborativefusion.com>
	<200701181842.00696.pgsql@bluepolka.net>
	<1169197877.11526.10.camel@coppola.muc.ecircle.de>

On Friday January 19 2007 2:11 am, Csaba Nagy wrote:
>
> > I afraid I don't see how any of the answers I saw discussed
> > fit a 24x7 operation.  Reindex, drop index, vacuum full, ...
> > they all block production queries of one sort or another for
> > significant periods of time (minutes) on large (multi/tens
> > of GB) tables, and thus are infeasible for true 24x7
> > operations.[snip]
>
> This is not completely true, as of 8.2 there is an online
> index build, and if that could be used in a background thread
> to rebuild the index and replace the bloated one once it's
> finished, that would be a non-blocking operation which could
> be done in 24x7 situations.

Online index creation definitely helps us toward 24x7.  But 
wouldn't we still have to drop the old index, thus blocking 
production queries?

Ed



view thread (25+ messages)  latest in thread

Message-ID: <200701191019.52768.pgsql@bluepolka.net>
Permalink:  ../200701191019.52768.pgsql@bluepolka.net/
Also on:    postgresql.org/message-id/200701191019.52768.pgsql@bluepolka.net

 · 

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-general@postgresql.org
  Cc: pgsql@bluepolka.net, nagy@ecircle-ag.com, wmoran@collaborativefusion.com, tgl@sss.pgh.pa.us, alvherre@commandprompt.com
  Subject: Re: Index bloat of 4x
  In-Reply-To: <200701191019.52768.pgsql@bluepolka.net>

* 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