Received: from www.vgkk.com ([64.56.164.18]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5L2ILa59707 for ; Wed, 20 Jun 2001 22:18:21 -0400 (EDT) (envelope-from rmager@vgkk.com) Received: from [61.202.206.130] (helo=rmagervm) by www.vgkk.com with smtp (Exim 3.22 #7) id 15Cu2y-0000m2-00; Thu, 21 Jun 2001 11:18:16 +0900 From: "Rainer Mager" To: "Tom Lane" Cc: "PostgreSQL Admin" Subject: RE: High memory usage Date: Thu, 21 Jun 2001 11:17:13 +0900 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <11566.993088550@sss.pgh.pa.us> Importance: Normal X-Archive-Number: 200106/143 X-Sequence-Number: 1710 This looks very promising. I'll have to look over it and try a few things out but I think it puts me on the right track. Thanks! --Rainer > -----Original Message----- > From: Tom Lane [mailto:tgl@sss.pgh.pa.us] > Sent: Thursday, June 21, 2001 10:56 AM > To: Rainer Mager > Cc: PostgreSQL Admin > Subject: Re: [ADMIN] High memory usage > > > "Rainer Mager" 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/explic > it-joins.html > > regards, tom lane