Re: Postgres not using indexes

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Harry Rossignol" <harrywr2(at)comcast(dot)net>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: Postgres not using indexes
Date: 2011-03-30 19:49:07
Message-ID: 4D9342E3020000250003BFAF@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Harry Rossignol <harrywr2(at)comcast(dot)net> wrote:

> I'm just a lowly end user. Bumping the default statistics target
> or using ALTER TABLE SET STATISTICS has made large differences in
> query performance on large tables.

The default has been bumped up in later versions, so that shouldn't
be as big a problem as it once was. In this particular case the
EXPLAIN ANALYZE showed the estimated row counts were quite accurate
compared to the actual, so this definitely wasn't the problem this
time.

-Kevin

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Kevin Grittner 2011-03-30 20:11:44 Re: Postgres not using indexes
Previous Message Harry Rossignol 2011-03-30 19:45:10 Re: Postgres not using indexes