Re: Query not using index despite high statistics

Поиск
Список
Период
Сортировка
От Henrik Zagerholm
Тема Re: Query not using index despite high statistics
Дата
Msg-id D750EFBB-5A8E-47F9-878B-4D33B4D1FDD0@mac.se
обсуждение исходный текст
Ответ на Re: Query not using index despite high statistics  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
4 maj 2007 kl. 18:09 skrev Tom Lane:

> Henrik Zagerholm <henke@mac.se> writes:
>> I have a SELECT  query that uses Seq scans instead of index scan
>> despite that the index scan is faster.
>
> Try 8.2, it's a bit smarter about the costs of repeated indexscans
> on the inside of a nestloop.
>
Ahh sorry for forgetting the db version.
We are actually using 8.2.3.

Cheers, henrik

В списке pgsql-general по дате отправления:

Предыдущее
От: "Paolo Saudin"
Дата:
Сообщение: R: R: Postgres 8.3-dev
Следующее
От: Tom Lane
Дата:
Сообщение: Re: query not using index