Re: Left join error - Mailing list pgsql-sql

From Josh Berkus
Subject Re: Left join error
Date
Msg-id web-499892@davinci.ethosmedia.com
Whole thread Raw
In response to Left join error  ("Ligia Pimentel" <lmpimentel@yahoo.com>)
List pgsql-sql
Ligia,

> Anyhow,... I found that if I write more restrictions on the same
> query, like
> another where, the query responds as I expect. Maybe I was writing
> something
> wrong.

Then it's definitely symptomatic of a memory config problem.  I'd say
that when queries get very large, pgsql is trying to use memory that
doesn't exist.  Possibilites: you've set shared_buffers or sort_mem much
too high; your machine is chronically low on memory; you have some kind
of kernel config problem; you have a bad RAM card.

Good luck on figuring out which.

-Josh


______AGLIO DATABASE SOLUTIONS___________________________                                      Josh Berkus Complete
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


pgsql-sql by date:

Previous
From: "Jon Obuchowski"
Date:
Subject: trouble using FOR ... IN EXECUTE query LOOPs in PL/pgSQL
Next
From: Tom Lane
Date:
Subject: Re: Left join error