Re: Problems with adding a is not null to a query.

From: Tim Uckun <timuckun(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Problems with adding a is not null to a query.
Date: 2011-01-15 20:43:11
Message-ID: AANLkTikFEyOOX2sWKB0vpCSeUKwaqo+vfTRJ_DMNTpcn@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

>
> Possibly the table's never been ANALYZEd ... do you have autovacuum
> enabled?  If it has been analyzed reasonably recently, then it might be
> necessary to crank up the statistics target to get a better estimate.
> It's difficult to give detailed advice when you haven't mentioned what
> PG version you're running.
>

I do have autovacuum enabled and I am running 8.4

autovacuum = on
vacuum_cost_limit = 150
log_autovacuum_min_duration = 0
autovacuum_max_workers = 4
autovacuum_naptime = 5min
autovacuum_vacuum_cost_delay = 30ms

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Julien Demoor 2011-01-16 12:55:43 Re: BUG #5835: PL/Python crashes
Previous Message pasman pasmański 2011-01-15 18:32:14 Re: Problems with adding a is not null to a query.