pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-general@postgresql.org
Subject: Re: Out of Memory
Date: Thu, 15 Jan 2015 16:19:52 -0800
Message-ID: <54B85928.6030401@hogranch.com> (raw)
In-Reply-To: <54B84A83.9020003@ymail.com>
References: <54B84A83.9020003@ymail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>

On 1/15/2015 3:17 PM, Enrico Bianchi wrote:
> When I launch a query (the principal field is JSONb), the database 
> return this:
>
> ERROR:  out of memory
> DETAIL:  Failed on request of size 110558. 

it looks like your query is trying to return 7 million rows, although 
you didn't do EXPLAIN ANALYZE, so your query plan statistics are all 
estimates.      without knowing your schema and table contents its hard 
to say more.



-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast



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



view thread (58+ messages)  latest in thread

Message-ID: <54B85928.6030401@hogranch.com>
Permalink:  ../54B85928.6030401@hogranch.com/
Also on:    postgresql.org/message-id/54B85928.6030401@hogranch.com

 · 

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-general@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: Out of Memory
  In-Reply-To: <54B85928.6030401@hogranch.com>
  References: <54B84A83.9020003@ymail.com> <54B85928.6030401@hogranch.com>

* 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