From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ragnar Kjørstad <postgres@ragnark.vestdata.no>
Cc: Robert.Farrugia@go.com.mt
Cc: pgsql-admin@postgresql.org
Subject: Re: Requirements for a database server
Date: Thu, 19 Jul 2001 14:08:05 -0400
Message-ID: <24507.995566085@sss.pgh.pa.us> (raw)
In-Reply-To: <20010719194500.B8237@vestdata.no>
References: <OF8EDC472B.7770A614-ONC1256A8E.001EC3FB@go.com.mt>
<20010719194500.B8237@vestdata.no>
=?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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, postgres@ragnark.vestdata.no, Robert.Farrugia@go.com.mt
Subject: Re: Requirements for a database server
In-Reply-To: <24507.995566085@sss.pgh.pa.us>
References: <OF8EDC472B.7770A614-ONC1256A8E.001EC3FB@go.com.mt> <20010719194500.B8237@vestdata.no> <24507.995566085@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox