X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9A84FD1D92C for ; Mon, 1 Dec 2003 22:37:58 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 03971-10 for ; Mon, 1 Dec 2003 18:37:32 -0400 (AST) Received: from candle.pha.pa.us (unknown [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 99B49D1DA62 for ; Mon, 1 Dec 2003 18:37:28 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id hB1MbVF23686; Mon, 1 Dec 2003 17:37:31 -0500 (EST) From: Bruce Momjian Message-Id: <200312012237.hB1MbVF23686@candle.pha.pa.us> Subject: Re: Is clustering possible to enhance the performance? In-Reply-To: <6b5ba36baf6d.6baf6d6b5ba3@jhmimail.jhmi.edu> To: LIANHE SHAO Date: Mon, 1 Dec 2003 17:37:31 -0500 (EST) Cc: pgsql-performance X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/20 X-Sequence-Number: 4880 LIANHE SHAO wrote: > Hello, > I am wondering if it is possible to use several > machine as cluster to boost the slow queries. Is > that possible? Anybody have tried that before? > > Initially, I was thinking to use dual CPUS instead > of one. but it is not correct because pgsql is not > multi-threaded. Dual cpu's allow multiple backends to use different cpu's, but a single session can't use more than one cpu. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073