Received: from kaxxa.go.com.mt ([194.158.48.3]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6K5SIa56563 for ; Fri, 20 Jul 2001 01:28:19 -0400 (EDT) (envelope-from Robert.Farrugia@go.com.mt) Received: from jupiter.go.com.mt (jupiter [194.158.48.95]) by kaxxa.go.com.mt (8.9.3/8.8.7) with ESMTP id IAA00472; Fri, 20 Jul 2001 08:34:30 +0200 Subject: Re: Requirements for a database server To: Tom Lane Cc: pgsql-admin@postgresql.org, Ragnar =?iso-8859-1?Q?Kj=F8rstad?= X-Mailer: Lotus Notes Release 5.0.7 March 21, 2001 Message-ID: From: Robert.Farrugia@go.com.mt Date: Fri, 20 Jul 2001 07:26:43 +0200 X-MIMETrack: Serialize by Router on Jupiter/MobIsle(Release 5.0.7 |March 21, 2001) at 07/20/2001 07:27:35 AM MIME-Version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id f6K5SKa56568 X-Archive-Number: 200107/106 X-Sequence-Number: 1864 I will try and do this. Will let you know how it went. Regards Robert Tom Lane 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?= 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