Re: Postgresql reindex hangs when table is being updated

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: "deep (dot)(dot)(dot)" <walter(dot)mitty(dot)esq(at)gmail(dot)com>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Postgresql reindex hangs when table is being updated
Date: 2006-09-27 18:57:00
Message-ID: 1159383420.26848.105.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2006-09-26 at 23:31, deep ... wrote:
> Hi all,
>
> I'm running a web application supported by postgresql 7.4 on an unix
> system. The management part of application requires reindexing of
> tables. I see that whenever reindexing runs with the while the table
> is getting updated/inserted into, reindexing hangs. I understand this
> is because reindexing requires an exclusive lock on the table.
>
>
> Is there a possible workaround? What else can I do other than stopping
> the insertion/update while reindex runs?

What problem are you trying to solve? Perhaps something other than
reindex might work.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Geoffrey 2006-09-27 18:57:09 continued segmentation fault
Previous Message Scott Marlowe 2006-09-27 18:55:44 Re: change the order of FROM selection to make query work