Received: from sss.pgh.pa.us ([192.204.191.242]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6JI8ga33140 for ; Thu, 19 Jul 2001 14:08:42 -0400 (EDT) (envelope-from tgl@sss.pgh.pa.us) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id f6JI86C24511; Thu, 19 Jul 2001 14:08:06 -0400 (EDT) To: =?iso-8859-1?Q?Ragnar_Kj=F8rstad?= cc: Robert.Farrugia@go.com.mt, pgsql-admin@postgresql.org Subject: Re: Requirements for a database server In-reply-to: <20010719194500.B8237@vestdata.no> References: <20010719194500.B8237@vestdata.no> Comments: In-reply-to =?iso-8859-1?Q?Ragnar_Kj=F8rstad?= message dated "Thu, 19 Jul 2001 19:45:01 +0200" Date: Thu, 19 Jul 2001 14:08:05 -0400 Message-ID: <24507.995566085@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200107/105 X-Sequence-Number: 1863 =?iso-8859-1?Q?Ragnar_Kj=F8rstad?= 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