From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rainer Mager <rmager@vgkk.com>
Cc: PostgreSQL Admin <pgsql-admin@postgresql.org>
Subject: Re: High memory usage
Date: Wed, 20 Jun 2001 21:55:50 -0400
Message-ID: <11566.993088550@sss.pgh.pa.us> (raw)
In-Reply-To: <NEBBJBCAFMMNIHGDLFKGEEGAEFAA.rmager@vgkk.com>
References: <NEBBJBCAFMMNIHGDLFKGEEGAEFAA.rmager@vgkk.com>
"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
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: tgl@sss.pgh.pa.us, rmager@vgkk.com
Subject: Re: High memory usage
In-Reply-To: <11566.993088550@sss.pgh.pa.us>
References: <NEBBJBCAFMMNIHGDLFKGEEGAEFAA.rmager@vgkk.com> <11566.993088550@sss.pgh.pa.us>
* 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