From: Jeremy Haile <jhaile@fastmail.fm>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Ed L. <pgsql@bluepolka.net>
Cc: Csaba Nagy <nagy@ecircle-ag.com>
Cc: Postgres general mailing list <pgsql-general@postgresql.org>
Cc: Bill Moran <wmoran@collaborativefusion.com>
Cc: Alvaro Herrera <alvherre@commandprompt.com>
Subject: Re: Index bloat of 4x
Date: Fri, 19 Jan 2007 14:03:28 -0500
Message-ID: <1169233408.21922.1170154897@webmail.messagingengine.com> (raw)
In-Reply-To: <17158.1169228703@sss.pgh.pa.us>
References: <20070117093223.bcdb302e.wmoran@collaborativefusion.com>
<200701181842.00696.pgsql@bluepolka.net>
<1169197877.11526.10.camel@coppola.muc.ecircle.de>
<200701191019.52768.pgsql@bluepolka.net>
<17158.1169228703@sss.pgh.pa.us>
Is it feasible to add a "reindex concurrently" that doesn't lock the
table for the rebuild, then locks the table when doing a second pass to
pickup rows that were changed after the first pass? Or something like
that....
On Fri, 19 Jan 2007 12:45:03 -0500, "Tom Lane" <tgl@sss.pgh.pa.us> said:
> "Ed L." <pgsql@bluepolka.net> writes:
> > Online index creation definitely helps us toward 24x7. But
> > wouldn't we still have to drop the old index, thus blocking
> > production queries?
>
> Yes, but only for a very short period.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
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: jhaile@fastmail.fm, tgl@sss.pgh.pa.us, pgsql@bluepolka.net, nagy@ecircle-ag.com, wmoran@collaborativefusion.com, alvherre@commandprompt.com
Subject: Re: Index bloat of 4x
In-Reply-To: <1169233408.21922.1170154897@webmail.messagingengine.com>
* 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