Re: Requirements for a database server

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ragnar Kjørstad <postgres(at)ragnark(dot)vestdata(dot)no>
Cc: Robert(dot)Farrugia(at)go(dot)com(dot)mt, pgsql-admin(at)postgresql(dot)org
Subject: Re: Requirements for a database server
Date: 2001-07-19 18:08:05
Message-ID: 24507.995566085@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

=?iso-8859-1?Q?Ragnar_Kj=F8rstad?= <postgres(at)ragnark(dot)vestdata(dot)no> writes:
> On Thu, Jul 19, 2001 at 07:38:25AM +0200, Robert(dot)Farrugia(at)go(dot)com(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Alexey Rodriguez Yakushev 2001-07-20 00:45:05 High load
Previous Message Ragnar Kjørstad 2001-07-19 17:45:01 Re: Requirements for a database server