Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UM9Aw-0003RO-3s for pgsql-bugs@arkaria.postgresql.org; Sun, 31 Mar 2013 03:43:22 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UM9Au-0006rk-PH for pgsql-bugs@arkaria.postgresql.org; Sun, 31 Mar 2013 03:43:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UM9AE-0006Ii-47 for pgsql-bugs@postgresql.org; Sun, 31 Mar 2013 03:42:38 +0000 Received: from mta31.charter.net ([216.33.127.82]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UM9A7-0008Vy-LY for pgsql-bugs@postgresql.org; Sun, 31 Mar 2013 03:42:37 +0000 Received: from imp11 ([10.20.200.11]) by mta31.charter.net (InterMail vM.8.01.05.02 201-2260-151-103-20110920) with ESMTP id <20130331034229.OGYN24708.mta31.charter.net@imp11> for ; Sat, 30 Mar 2013 23:42:29 -0400 Received: from [97.84.205.150] ([97.84.205.150]) by imp11 with smtp.charter.net id J3iV1l00L3FD8ah053iVNf; Sat, 30 Mar 2013 23:42:29 -0400 X-Authority-Analysis: v=2.0 cv=dIr+A5lb c=1 sm=1 a=RuQPczxLm65Im2RRPdAvqw==:17 a=f5b0H3g8muEA:10 a=aGfi1RLSZ7IA:10 a=54YQO1RJ9MMA:10 a=IkcTkHD0fZMA:10 a=etUP3f2DAAAA:8 a=C5T2WSETjO0A:10 a=fGyPkHaTAAAA:8 a=j0O-QkHIAAAA:8 a=ok-p1vDxAAAA:8 a=C_IRinGWAAAA:8 a=2xkQNSnTzaXFuGWoFiEA:9 a=QEXdDO2ut3YA:10 a=xPlvXzpENhAA:10 a=_pjNtp8Mb-wA:10 a=B67KpWEofvYA:10 a=XhTQ_osrq44A:10 a=TnsoWnHsnQgA:10 a=si9q_4b84H0A:10 a=jPwI9dwOr3GWCFFm:21 a=NAwWRUUb8ddANcwI:21 a=RuQPczxLm65Im2RRPdAvqw==:117 Message-ID: <5157B0A5.6020708@michiganwxsystem.com> Date: Sat, 30 Mar 2013 23:42:29 -0400 From: Jeff Lake User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #8013: Memory leak References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed 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-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org memory leak with 500 Million rows ?? sounds like to big of a db ----------------------------------------------------- -Jeff Lake K8JSL MichiganWxSystem.com AllisonHouse.com TheWeatherCenter.net GRLevelXStuff.com On 3/30/2013 10:01, stiening@comcast.net wrote: > 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: > > The query: > SELECT pts_key,count(*) > FROM tm_tm_pairs GROUP BY pts_key HAVING count(*) !=1 ORDER BY > pts_key > > Which is executed as: > GroupAggregate (cost=108680937.80..119278286.60 rows=470993280 width=4) > Filter: (count(*) <> 1) > -> Sort (cost=108680937.80..109858421.00 rows=470993280 width=4) > Sort Key: pts_key > -> Seq Scan on tm_tm_pairs (cost=0.00..8634876.80 rows=470993280 > width=4) > > 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='-O3 -march=native' ./configure --with-segsize=128 > > > > -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs