Re: Vacuum (table performance) - Mailing list pgsql-general

From Claudio Lapidus
Subject Re: Vacuum (table performance)
Date
Msg-id BAY7-F69ZYmINYhfBoE00022c1b@hotmail.com
Whole thread Raw
In response to Vacuum (table performance)  ("Claudio Lapidus" <clapidus@hotmail.com>)
List pgsql-general
> > An alternative suggested right there is to drop and recreate an index,
> > where -it says- CREATE INDEX would get a write lock on the table. Does
>this
> > mean that during the create index operation the whole table is
>unavailable
> > for write by other processes?
>
>An alternative approach would be to create a second index indentical to
>the one in place and drop the first one.
>

OK, but what's the difference in creating a second index and dropping the
original one first and recreate it? If I understood correctly the doc, I
think the table will be unavailable for write in either case, is this right?

cl.

_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*
http://join.msn.com/?page=features/virus


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Vacuum (table performance)
Next
From: MT
Date:
Subject: Re: selecting the record before the last one