Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WX9sR-0000s9-Fm for pgsql-performance@arkaria.postgresql.org; Mon, 07 Apr 2014 13:46:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WX9sQ-0002jg-7h for pgsql-performance@arkaria.postgresql.org; Mon, 07 Apr 2014 13:46:18 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WX9sO-0002jS-UC for pgsql-performance@postgresql.org; Mon, 07 Apr 2014 13:46:17 +0000 Received: from sraihb2.sra.co.jp ([202.32.10.6]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WX9sL-0004f3-Nq for pgsql-performance@postgresql.org; Mon, 07 Apr 2014 13:46:16 +0000 Received: from srasce.sra.co.jp (srasce [133.137.8.74]) by sraihb2.sra.co.jp (Postfix) with ESMTP id 22BCB2A15F3 for ; Mon, 7 Apr 2014 22:46:12 +0900 (JST) Received: from srascb.sra.co.jp (unknown [133.137.8.65]) by srasce.sra.co.jp with smtp id 6c49_170b_1dceecf1_ada0_4dda_8864_c63adc64eafe; Mon, 07 Apr 2014 22:46:11 +0900 Received: from sranhm.sra.co.jp (osspc25 [133.137.176.97]) by srascb.sra.co.jp (Postfix) with ESMTP id 06194110C72 for ; Mon, 7 Apr 2014 22:46:12 +0900 (JST) Received: from localhost (sraihb-hub.sra.co.jp [133.137.8.6]) by sranhm.sra.co.jp (Postfix) with ESMTP id C8A70A0C73; Mon, 7 Apr 2014 22:46:11 +0900 (JST) Date: Mon, 07 Apr 2014 22:46:10 +0900 (JST) Message-Id: <20140407.224610.2291121243020563456.t-ishii@sraoss.co.jp> To: machengcheng001@hotmail.com Cc: pgsql-performance@postgresql.org Subject: Re: performance degradation after launching postgres cluster using pgpool-II From: Tatsuo Ishii In-Reply-To: <1396254699987-5797953.post@n5.nabble.com> References: <1396254699987-5797953.post@n5.nabble.com> X-Mailer: Mew version 6.3 on Emacs 23.3 / Mule 6.0 =?iso-2022-jp?B?KBskQjJWOzZOJBsoQik=?= Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org > Before starting the cluster, one bulk updates through java code would cost > about 1 hour to finish, but then it would take twice amount of time. pgpool-II is not very good at handling extended protocol (mostly used in Java). If you need to execute large updates, you'd better to connect to PostgreSQL directly. Note that there's no problem that some sessions connect via pgpool-II, while others directly connect PostgreSQL. Best regards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance