Re: query planner not using the correct index - Mailing list pgsql-performance

From Joshua Shanks
Subject Re: query planner not using the correct index
Date
Msg-id 84f0acdb0808080728m1807f4dahe369500bbc04c248@mail.gmail.com
Whole thread Raw
In response to Re: query planner not using the correct index  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
Just for closure I ended up doing

ALTER TABLE bars ALTER COLUMN bars_id SET STATISTICS 500;

On Thu, Aug 7, 2008 at 7:11 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Joshua Shanks" <jjshanks@gmail.com> writes:
>> How do I increase the stats target for just one column?
>
> Look under ALTER TABLE.
>
>                        regards, tom lane
>

pgsql-performance by date:

Previous
From: Henrik
Date:
Subject: Filesystem benchmarking for pg 8.3.3 server
Next
From: "Luke Lonergan"
Date:
Subject: Re: Filesystem benchmarking for pg 8.3.3 server