Re: Online index builds

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Ragnar <gnari(at)hive(dot)is>, pgsql-general(at)postgresql(dot)org
Subject: Re: Online index builds
Date: 2006-12-07 23:51:40
Message-ID: 22074.1165535500@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-announce pgsql-general pgsql-www

Jeff Davis <pgsql(at)j-davis(dot)com> writes:
> After reading through the archives, it looks like Gregory Stark
> suggested a REINDEX CONCURRENTLY, which would certainly solve the
> awkwardness of maintenance on a primary key. I didn't see much
> objection, maybe it's worth consideration for 8.3?

That idea was bounced on the grounds that it requires a DROP INDEX to
occur somewhere, and that can't be concurrent, and you'd surely not like
to go through all the work of a CONCURRENTLY rebuild only to get a
deadlock failure at the very end.

regards, tom lane

In response to

Responses

Browse pgsql-announce by date

  From Date Subject
Next Message Ragnar 2006-12-08 00:05:02 Re: Online index builds
Previous Message Jeff Davis 2006-12-07 23:34:16 Re: Online index builds

Browse pgsql-general by date

  From Date Subject
Next Message Bricklen Anderson 2006-12-07 23:56:25 Re: porting time calcs to PG
Previous Message greg 2006-12-07 23:44:35 porting time calcs to PG

Browse pgsql-www by date

  From Date Subject
Next Message Ragnar 2006-12-08 00:05:02 Re: Online index builds
Previous Message Jeff Davis 2006-12-07 23:34:16 Re: Online index builds