X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 185ACD7F97 for ; Wed, 12 Oct 2005 14:32:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 81360-01 for ; Wed, 12 Oct 2005 17:32:15 +0000 (GMT) Received: from mail.tecarta.com (66.238.115.135.ptr.us.xo.net [66.238.115.135]) by svr1.postgresql.org (Postfix) with ESMTP id 7D8E2D7F3E for ; Wed, 12 Oct 2005 14:32:15 -0300 (ADT) Received: from mail pickup service by mail.tecarta.com with Microsoft SMTPSVC; Wed, 12 Oct 2005 10:36:24 -0700 Received: from mail.tecarta.com ([192.168.160.1]) by mail.tecarta.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 12 Oct 2005 10:36:23 -0700 Received: from barracuda.tecarta.com ([192.168.160.200]) by mail.tecarta.com (SAVSMTP 3.1.0.29) with SMTP id M2005101210362303555 for ; Wed, 12 Oct 2005 10:36:23 -0700 X-ASG-Debug-ID: 1129138334-25686-6-0 X-Barracuda-URL: http://192.168.160.200:8000/cgi-bin/mark.cgi Received: from mail2 (mail2.hq.corp [192.168.160.6]) by barracuda.tecarta.com (Spam Firewall) with SMTP id 5D29D201798B for ; Wed, 12 Oct 2005 10:32:14 -0700 (PDT) Received: from amd64-gentoo-laptop ([63.206.203.145]) by mail.tecarta.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 12 Oct 2005 10:36:15 -0700 X-ASG-Orig-Subj: Re: [PERFORM] Help tuning postgres Subject: Re: Help tuning postgres From: Steve Poe To: Tom Lane Cc: pgsql-performance@postgresql.org, Csaba Nagy , emil@baymountain.com In-Reply-To: <2741.1129137684@sss.pgh.pa.us> References: <1129128315.2995.174.camel@coppola.muc.ecircle.de> <200510121112.11486.emil@baymountain.com> <1129130273.2995.177.camel@coppola.muc.ecircle.de> <200510121133.56955.emil@baymountain.com> <2741.1129137684@sss.pgh.pa.us> Content-Type: text/plain Date: Wed, 12 Oct 2005 10:32:05 -0700 Message-Id: <1129138325.26659.14.camel@amd64-gentoo-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Oct 2005 17:36:15.0430 (UTC) FILETIME=[7226AE60:01C5CF53] X-Virus-Scanned: by Barracuda Spam Firewall at tecarta.com X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=4.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=7.0 tests= X-Barracuda-Spam-Report: Code version 3.02, rules version 3.0.4502 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.201 required=5 tests=[AWL=0.151, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200510/215 X-Sequence-Number: 14983 Would it not be faster to do a dump/reload of the table than reindex or is it about the same? Steve Poe On Wed, 2005-10-12 at 13:21 -0400, Tom Lane wrote: > Emil Briggs writes: > >> Not yet, the db is in production use and I have to plan for a down-time > >> for that... or is it not impacting the activity on the table ? > > > It will cause some performance hit while you are doing it. > > It'll also lock out writes on the table until the index is rebuilt, > so he does need to schedule downtime. > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly