Re: High memory usage - Mailing list pgsql-admin

From Tom Lane
Subject Re: High memory usage
Date
Msg-id 11566.993088550@sss.pgh.pa.us
Whole thread Raw
In response to RE: High memory usage  ("Rainer Mager" <rmager@vgkk.com>)
Responses RE: High memory usage  ("Rainer Mager" <rmager@vgkk.com>)
List pgsql-admin
"Rainer Mager" <rmager@vgkk.com> writes:
> First, this type of query seems to use exponential amounts of memory.

Hmm.  What does EXPLAIN show as the plan for the query?  How long does
it take to do the EXPLAIN?  If the EXPLAIN alone takes a lot of time/
space, then you need to reduce the size of the planner's search space
with an explicit JOIN --- see
http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/explicit-joins.html

            regards, tom lane

pgsql-admin by date:

Previous
From: "Rainer Mager"
Date:
Subject: RE: High memory usage
Next
From: Bruce Momjian
Date:
Subject: Re: High memory usage [PATCH]