Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WX7LE-00042t-GO for pgsql-performance@arkaria.postgresql.org; Mon, 07 Apr 2014 11:03:52 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WX7LD-0006jv-HG for pgsql-performance@arkaria.postgresql.org; Mon, 07 Apr 2014 11:03:51 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUXdA-0007s6-41 for pgsql-performance@postgresql.org; Mon, 31 Mar 2014 08:31:44 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WUXd7-0002Gj-8k for pgsql-performance@postgresql.org; Mon, 31 Mar 2014 08:31:43 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1WUXd6-00063P-06 for pgsql-performance@postgresql.org; Mon, 31 Mar 2014 01:31:40 -0700 Date: Mon, 31 Mar 2014 01:31:39 -0700 (PDT) From: Cora Ma To: pgsql-performance@postgresql.org Message-ID: <1396254699987-5797953.post@n5.nabble.com> Subject: performance degradation after launching postgres cluster using pgpool-II MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: 0.1 (/) 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 Hi, I am a freshman to postgresql, also pgpool-II. I have some performance issues once I bring in the pgpool-II to build the pg cluster. Here I post some system info and the configurations of postgresql and pgpool, hopping you can help me to solve this problem. BTW, I am using the postgres 9.2.4 installed on the Amazon AWS with debian OS(64bits), and the version of pgpool is 3.2.7. There are two nodes in the cluster, working in master/slave mode and replicating data using the streaming replication feature. Mem info: cora@apollo:~$ free total used free shared buffers cached Mem: 31446876 7625428 23821448 0 9468 6312080 -/+ buffers/cache: 1303880 30142996 Swap: 0 0 0 Linux info: cora@apollo:~$ cat /proc/version Linux version 2.6.32-5-xen-amd64 (Debian 2.6.32-48squeeze1) (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Feb 25 02:51:39 UTC 2013 The settings of postgresql(only showing the non-default parameters) listen_addresses =3D '*' port =3D 9797=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 max_connections =3D 750 ssl_renegotiation_limit =3D 0 shared_buffers =3D 15GB=20=20 temp_buffers =3D 32MB work_mem =3D 64MB=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20 maintenance_work_mem =3D 128MB=20=20=20=20=20=20=20=20=20=20=20=20 effective_io_concurrency =3D 1000 wal_level =3D hot_standby checkpoint_segments =3D 32=20 archive_mode =3D on archive_command =3D 'rsync -a %p apollo:/var/lib/postgresql/9.2/archive/%f