X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5279AD1B1B4 for ; Thu, 29 Jul 2004 21:47:24 -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 42458-01 for ; Fri, 30 Jul 2004 00:47:24 +0000 (GMT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id D8630D1B17B for ; Thu, 29 Jul 2004 21:47:20 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i6U0lJqb045252 for ; Fri, 30 Jul 2004 00:47:19 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i6U0J9CG042443 for pgsql-admin@postgresql.org; Fri, 30 Jul 2004 00:19:09 GMT From: Steve X-Newsgroups: comp.databases.postgresql.admin Subject: Re: please please please PLEASE help! Date: Fri, 30 Jul 2004 10:18:03 +1000 Organization: Hub.Org Networking Services Lines: 30 Message-ID: References: <4001DEAF7DF9BD498B58B45051FBEA6506D9F7@25exch1.vicorpower.vicr.com> <410914E1.3000808@musicrebellion.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en In-Reply-To: <410914E1.3000808@musicrebellion.com> To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/2 X-Sequence-Number: 14397 Kris Kiger wrote: > Steve, > > Are the three SCSI drives raided? If so, I would move the operating > database to that machine. From what I understand it can be a real > hassle to setup/maintain sym-linked tables. If you don't have the > option to move the database, I would explore one of these two routes: > Route one is replication. Slony1 was just released to the open > source community. Replicate the data to the new machine, then > distribute the database reads between the master and the slave. > Route two is symlink database logs/txlogs/etc to the new machine. It > takes extra write needs off of your main machine. Not as effective as > route 1, I would say, but it would definately lessen the load. > > Kris > Thanks for replying Kris. Yes, the SCSI drives are raided. I believe in that case I don't really need to do anything other than moving the database to that machine? I think the drives are striped every 12K or so, but I'm not sure. Moving it to the new machine has made it a lot faster than before. It has around 2GB RAM and is a dual processor 3.0 Ghz Intel xeon. I've also 'chattr -R +A /path/to/data/dir' the database and I think it has made a slight difference. I'll test it a bit more and see if I can do something else to improve the speed. Steve