I will try and do this. Will let you know how it went.
Regards
Robert
Tom Lane
<tgl@sss.pgh. To: Ragnar Kjørstad <postgres@ragnark.vestdata.no>
pa.us> cc: Robert.Farrugia@go.com.mt, pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Requirements for a database server
19/07/2001
20:08
=?iso-8859-1?Q?Ragnar_Kj=F8rstad?= <postgres@ragnark.vestdata.no> writes:
> On Thu, Jul 19, 2001 at 07:38:25AM +0200, Robert.Farrugia@go.com.mt
wrote:
>> Since I have a number of heavy inserts per day, dropping the indexes and
>> recreating them could be an option. Only problem I see is that to
>> recreate them they take alot of time, at which queries will be
tremendously
>> slow.
> What about first creating new indexes (with a different name), and then
> delete the old one? will that work?
Should work fine as far as read-only queries go. CREATE INDEX locks out
writes, however, so those will be blocked in any case...
regards, tom lane