Re: seqscan strikes again

Поиск
Список
Период
Сортировка
От Jim C. Nasby
Тема Re: seqscan strikes again
Дата
Msg-id 20041110170055.GJ46084@decibel.org
обсуждение исходный текст
Ответ на Re: seqscan strikes again  ("Joshua D. Drake" <jd@commandprompt.com>)
Список 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 по дате отправления:

Предыдущее
От: "Leeuw van der, Tim"
Дата:
Сообщение: Re: How to speed-up inserts with jdbc
Следующее
От: Rod Taylor
Дата:
Сообщение: Solaris 9 Tuning Tips requested