Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group