Re: Help with optimizing a sql statement - Mailing list pgsql-performance

From Rafael Martinez
Subject Re: Help with optimizing a sql statement
Date
Msg-id 1139525082.19758.6.camel@linux.site
Whole thread Raw
In response to Re: Help with optimizing a sql statement  ("Jim C. Nasby" <jnasby@pervasive.com>)
List pgsql-performance
On Thu, 2006-02-09 at 13:46 -0600, Jim C. Nasby wrote:
> I looked at the estimates for the table access methods and they all
> looked ok, so I think the statistics are pretty up-to-date; there just
> aren't enough of them for the planner to do a good job.
>

VACUUM ANALYZE runs 4 times every hour, so yes, statistics are
up-to-date. I will increase default_statistics_target tomorrow at work
and see what happens.

Thanks for your help.

--
Rafael Martinez, <r.m.guerrero@usit.uio.no>
Center for Information Technology Services
University of Oslo, Norway

PGP Public Key: http://folk.uio.no/rafael/


pgsql-performance by date:

Previous
From: Matthew Nuzum
Date:
Subject: Re: Large Database Design Help
Next
From: Jan Peterson
Date:
Subject: Re: Storing Digital Video