Re: [HACKERS] Not enough memory for complex join

From: Oleg Broytmann <phd(at)sun(dot)med(dot)ru>
To: Vadim Mikheev <vadim(at)krs(dot)ru>
Cc: Hannu Krosing <hannu(at)trust(dot)ee>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] Not enough memory for complex join
Date: 1999-03-05 09:50:49
Message-ID: Pine.SOL2.3.96.SK.990305124728.11849B-100000@sun.med.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi!

On Fri, 5 Mar 1999, Vadim Mikheev wrote:
> Oleg Broytmann wrote:
> >
> > Nested Loop (cost=0.00 size=1 width=18)
> > -> Nested Loop (cost=0.00 size=1 width=14)
> > -> Merge Join (cost=0.00 size=1 width=10)
> > -> Seq Scan (cost=0.00 size=0 width=0)
> > -> Sort (cost=0.00 size=0 width=0)
> > -> Seq Scan on districts d (cost=0.00 size=0 width=4)
> > -> Seq Scan (cost=0.00 size=0 width=0)
> > -> Sort (cost=0.00 size=0 width=0)
> > -> Seq Scan on shops sh (cost=0.00 size=0 width=6)
> > -> Seq Scan on central cn (cost=0.00 size=0 width=4)
> > -> Seq Scan on positions p (cost=0.00 size=0 width=4)
> ^^^^^^
> vacuum...

I didn't think it could be of any help. I have a copy of this database
on my local computer. I dump db on server and put it on local computer
every other day, so I thiink VACUUM is unneccessary here.
Anyway, I tried to VACUUM the db. No, the query didn't execute -
postgres ate all memory and died.

Any other idea, anyone?

> Vadim

Oleg.
----
Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/
Programmers don't die, they just GOSUB without RETURN.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 1999-03-05 09:59:48 Re: [HACKERS] for row in select loop question
Previous Message Zeugswetter Andreas IZ5 1999-03-05 08:26:34 Re: [HACKERS] PostgreSQL 6.4.2 on AIX 4.3.2: regression test comp ile error