X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D73923A591D for ; Wed, 26 Jan 2005 01:07:54 +0000 (GMT) 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 40781-01 for ; Wed, 26 Jan 2005 01:07:49 +0000 (GMT) Received: from sraigw.sra.co.jp (sraigw.sra.co.jp [202.32.10.2]) by svr1.postgresql.org (Postfix) with ESMTP id D86973A5923 for ; Wed, 26 Jan 2005 01:07:50 +0000 (GMT) Received: from srascb.sra.co.jp (srascb [133.137.8.65]) by sraigw.sra.co.jp (Postfix) with ESMTP id 463C462C6A; Wed, 26 Jan 2005 10:07:50 +0900 (JST) Received: from srascb.sra.co.jp (localhost [127.0.0.1]) by localhost.sra.co.jp (Postfix) with ESMTP id 2DB0810CD06; Wed, 26 Jan 2005 10:07:50 +0900 (JST) Received: from sranhm.sra.co.jp (sranhm [133.137.44.16]) by srascb.sra.co.jp (Postfix) with ESMTP id 0E5EB10CD04; Wed, 26 Jan 2005 10:07:50 +0900 (JST) Received: from localhost (IDENT:t-ishii@srapc2345.sra.co.jp [133.137.44.184]) by sranhm.sra.co.jp (8.9.3+3.2W/3.7W-srambox) with ESMTP id KAA31378; Wed, 26 Jan 2005 10:07:50 +0900 Date: Wed, 26 Jan 2005 10:09:04 +0900 (JST) Message-Id: <20050126.100904.35010011.t-ishii@sra.co.jp> To: josh@agliodbs.com Cc: pgsql-performance@postgresql.org, pdarley@kinesis-cem.com, gnari@simnet.is, mitani@sraw.co.jp Subject: Re: PgPool changes WAS: PostgreSQL clustering VS MySQL From: Tatsuo Ishii In-Reply-To: <200501250858.37157.josh@agliodbs.com> References: <200501250858.37157.josh@agliodbs.com> X-Mailer: Mew version 2.3 on Emacs 20.7 / Mule 4.1 =?iso-2022-jp?B?KBskQjAqGyhCKQ==?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.019 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/488 X-Sequence-Number: 10178 > Peter, Ragnar, > > > > Are there ones that you use which might use several different connections > > > to send a series of queries from a single web-user, less than 5 seconds > > > apart? > > > > Using Apache/Perl I often have a situation where we're sending several > > queries from the same user (web client) within seconds, or even > > simultaneously, that use different connections. > > So from the sound of it, the connection methods I've been using are the > exception rather than the rule. Darn, it worked well for us. :-( > > What this would point to is NOT being able to use Slony-I for database server > pooling for most web applications. Yes? Users should look to pgCluster and > C-JDBC instead. Yup. That's the limitaion of async replication solutions. > BTW, Tatsuo, what's the code relationship between pgPool and pgCluster, if > any? PGCluster consists of three kind of servers, "load balance server", "cluster server"(modified PostgreSQL backend) and "replication server". I believe some of codes of pgpool are used in the load balance server to avoid "re-invent a wheel". This is a beauty of open source software project. -- Tatsuo Ishii