pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: g.vanluffelen@qipc.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8573: int4range memory consumption
Date: Fri, 01 Nov 2013 10:38:28 +0000
Message-ID: <E1VcC7Y-0006Tl-He@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      8573
Logged by:          Godfried Vanluffelen
Email address:      g.vanluffelen@qipc.com
PostgreSQL version: 9.3.1
Operating system:   Windows 7 64 bit
Description:        

int4range ( and any other range function) consumes much memory when used in
a select statement on a big table.


steps to reproduce:
-generate or use a table with 10M+ rows with 2 columns that are usable to
create a range. For example 1 column with negative numbers, and one with
positive numbers.


-invoke a simple select statement where you create a range of 2 columns. For
example select int4range(col1,col2) from table.


-memory builds up until the query is finished, or when out of memory error
occurs.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (12+ messages)  latest in thread

Message-ID: <E1VcC7Y-0006Tl-He@wrigleys.postgresql.org>
Permalink:  ../E1VcC7Y-0006Tl-He@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1VcC7Y-0006Tl-He@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: g.vanluffelen@qipc.com
  Subject: Re: BUG #8573: int4range memory consumption
  In-Reply-To: <E1VcC7Y-0006Tl-He@wrigleys.postgresql.org>
  References: <E1VcC7Y-0006Tl-He@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox