Re: Requirements for a database server - Mailing list pgsql-admin

From Tom Lane
Subject Re: Requirements for a database server
Date
Msg-id 24507.995566085@sss.pgh.pa.us
Whole thread Raw
In response to Re: Requirements for a database server  (Ragnar Kjørstad <postgres@ragnark.vestdata.no>)
List pgsql-admin
=?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

pgsql-admin by date:

Previous
From: Ragnar Kjørstad
Date:
Subject: Re: Requirements for a database server
Next
From: Robert.Farrugia@go.com.mt
Date:
Subject: Re: Requirements for a database server