Re: seqscan strikes again - Mailing list pgsql-performance

From Jim C. Nasby
Subject Re: seqscan strikes again
Date
Msg-id 20041110170055.GJ46084@decibel.org
Whole thread Raw
In response to Re: seqscan strikes again  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-performance
Which column would you recommend? Did something stick out at you?

On Tue, Nov 09, 2004 at 03:14:36PM -0800, Joshua D. Drake wrote:
>
> >opensims=#
> >
> >I'd really like to avoid putting a 'set enable_seqscan=false' in my
> >code, especially since this query only has a problem if it's run on a
> >large date/time window, which normally doesn't happen.
>
> Try increasing your statistics target for the column and then rerunning
> analyze.
>
> Sincerely,
>
> Joshua D. Drake

--
Jim C. Nasby, Database Consultant               decibel@decibel.org
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

pgsql-performance by date:

Previous
From: "Leeuw van der, Tim"
Date:
Subject: Re: How to speed-up inserts with jdbc
Next
From: Rod Taylor
Date:
Subject: Solaris 9 Tuning Tips requested