Re: Speeding up a query.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alberto Dalmaso <dalmaso(at)clesius(dot)it>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Speeding up a query.
Date: 2009-06-17 15:07:18
Message-ID: 26803.1245251238@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Alberto Dalmaso <dalmaso(at)clesius(dot)it> writes:
> P.S.: i'm trying with all enable_* to on and pumping to higher values
> from_collapse_limit and join_collapse_limit that I've put to 30.
> The result is that the query, after an hour of work, goes out of memory
> (SQL State 53200)...

Hmm, is that happening during planning (ie, do you get the same error
if you just try to EXPLAIN the query with those settings)? If not,
please show the EXPLAIN output.

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Alberto Dalmaso 2009-06-17 15:11:21 Re: performance with query
Previous Message Hartman, Matthew 2009-06-17 14:58:52 Re: Speeding up a query.