Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A04479FB1FB for ; Tue, 13 Mar 2007 18:07:55 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 09217-04 for ; Tue, 13 Mar 2007 18:07:48 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 579499FA589 for ; Tue, 13 Mar 2007 18:07:50 -0300 (ADT) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Tue, 13 Mar 2007 21:07:44 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 13 Mar 2007 16:07:44 -0500 Subject: Re: postgres configuration From: Scott Marlowe To: Sumeet Cc: Andrej Ricnik-Bay , PostgreSQL In-Reply-To: <7539aebb0703131348m4d139387ob3db342b22170021@mail.gmail.com> References: <7539aebb0703131014y2512853fw9ced1bd3bb5f5e77@mail.gmail.com> <7539aebb0703131348m4d139387ob3db342b22170021@mail.gmail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1173820064.12681.14.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 13 Mar 2007 16:07:44 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/180 X-Sequence-Number: 27818 On Tue, 2007-03-13 at 15:48, Sumeet wrote: > On 3/13/07, Andrej Ricnik-Bay wrote: > On 3/14/07, Sumeet wrote: > > Hi All, > Hi, > > > Sorry if this is the wrong list to ask this question. > General woould have been better :) > > > My Vacuum's are running very very slow and expecially when > vacuuming indexes > > in large tables of size in 5-10 gigabytes, > > can some one help me determine the parameters for > postgres.conf which will > > help me vacuum fast. I'm running postgres on a server with > 32 gigs of ram > > and 8 processors. > And the disk subsystem is .... ? > > The only info i have is > > Apple xRaid drive array with 14 400GB drives for a total of 5 TB > storage > I have around 10-15 indexes for each tables. does the number of > indexes slow down the vacuum process? > indexes are compund indexes on multiple fields. Yes, indexes have to be vacuumed, and compound fields tend to get larger at a geomtric rate as you add columns. Apple XRaids have gotten some pretty "meh" reviews in the past. Does this one have battery backed caching? (a good thing) Is it configured as RAID-5 (a not so good thing) If so, can you reconfigure it as RAID1+0 or do you need every terabyte of storage you can get?