Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UM8tK-0002EG-AV for pgsql-bugs@arkaria.postgresql.org; Sun, 31 Mar 2013 03:25:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UM8tJ-0002Kp-Ib for pgsql-bugs@arkaria.postgresql.org; Sun, 31 Mar 2013 03:25:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ULwLh-0005D8-KT for pgsql-bugs@postgresql.org; Sat, 30 Mar 2013 14:01:37 +0000 Received: from mahout.postgresql.org ([2001:4800:7903:4::123]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ULwLd-0003tg-Mv for pgsql-bugs@postgresql.org; Sat, 30 Mar 2013 14:01:37 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ULwLc-0000aL-T7 for pgsql-bugs@postgresql.org; Sat, 30 Mar 2013 14:01:33 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1ULwLX-0007BV-Mz for pgsql-bugs@postgresql.org; Sat, 30 Mar 2013 14:01:27 +0000 Date: Sat, 30 Mar 2013 14:01:27 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #8013: Memory leak To: pgsql-bugs@postgresql.org From: stiening@comcast.net X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The following bug has been logged on the website: Bug reference: 8013 Logged by: Rae Stiening Email address: stiening@comcast.net PostgreSQL version: 9.2.3 Operating system: Suse Linux 9.3 Description:=20=20=20=20=20=20=20=20 The query: SELECT pts_key,count(*) FROM tm_tm_pairs GROUP BY pts_key HAVING count(*) !=3D1 ORDER BY pts_key Which is executed as: GroupAggregate (cost=3D108680937.80..119278286.60 rows=3D470993280 width= =3D4) Filter: (count(*) <> 1) -> Sort (cost=3D108680937.80..109858421.00 rows=3D470993280 width=3D4) Sort Key: pts_key -> Seq Scan on tm_tm_pairs (cost=3D0.00..8634876.80 rows=3D47099= 3280 width=3D4) uses all available memory (32GB). pts_key is an integer and the table contains about 500 million rows. PostgreSQL 9.2.3 on x86_64-unknown-linux-gnu, compiled by gcc (SUSE Linux) 4.7.2 20130108 [gcc-4_7-branch revision 195012], 64-bit ( compile options: env CFLAGS=3D'-O3 -march=3Dnative' ./configure --with-segsize=3D128 --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs