pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ligia Pimentel <lmpimentel@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: Awful FATAL ERROR running query
Date: Mon, 14 May 2001 09:27:47 -0500
Message-ID: <9dotk9$15uu$1@news.tht.net> (raw)


I have a problem with postgres, I'm running a query that joins two tables,
one with 129000+ records, and the other with 1172 records, it's a very
simple join.  But postgres can't handle it!!! (Both tables have an index on
the  field "cuentacb").

I get the following error after 3 minutes...

migracion=# select * from cuentasequivalentes, equiv11mayo m
migracion-# where cuentasequivalentes.cuentacb = m.cuentacb
migracion-# and cuentasequivalentes.cuentabr <> m.cuentabr;
FATAL 1:  Memory exhausted in AllocSetAlloc()
pqReadData() -- backend closed the channel unexpectedly.
        This probably means the backend terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.

What can I do? I'm guessing that I could change a configuration parameter or
something like that, but I don't know.

Please help me, it's kind of urgent.


Ligia





Message-ID: <9dotk9$15uu$1@news.tht.net>
Permalink:  ../9dotk9$15uu$1@news.tht.net/
Also on:    postgresql.org/message-id/9dotk9$15uu$1@news.tht.net

 · 

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-admin@postgresql.org
  Cc: lmpimentel@yahoo.com
  Subject: Re: Awful FATAL ERROR running query
  In-Reply-To: <9dotk9$15uu$1@news.tht.net>
  References: <9dotk9$15uu$1@news.tht.net>

* 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