Re: Crash in PostgreSQL-8.2.4 while executing query

From: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>
To: "rupesh bajaj" <rupesh(dot)bajaj(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, haritsa(at)dsl(dot)serc(dot)iisc(dot)ernet(dot)in, rupesh(at)dsl(dot)serc(dot)iisc(dot)ernet(dot)in, "sharath kumar" <k(dot)sharat(at)gmail(dot)com>
Subject: Re: Crash in PostgreSQL-8.2.4 while executing query
Date: 2007-07-07 21:25:09
Message-ID: dcc563d10707071425y3ba4a520xe60ba2d9a85f9d65@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/7/07, rupesh bajaj <rupesh(dot)bajaj(at)gmail(dot)com> wrote:
> Hi,
> When I run the following query Postmaster crashes. For your reference I have
> attached information regarding the query (query plan, table , index, server
> log).
> My observation is that when Postmaster starts taking lot of memory because
> of which system runs out of memory and OS kills the process. System specs
> are as: SUSE 10.1, 2GB RAM , P- IV.

Formatting your queries makes it much easier for people reading it to
try and help you.

This query looks like an unconstrained join. Judging by the query
plan that explain returns, I'd sau that is the case.

What, exactly, are you trying to do here? I'd think that a union of
two queries with those where exists clauses as where clauses and a
proper join on the semtable might work beyyer.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Naz Gassiep 2007-07-07 22:15:41 Changing DB Encodings
Previous Message Tom Lane 2007-07-07 21:12:38 Re: Crash in PostgreSQL-8.2.4 while executing query