Re: Query not using index despite high statistics

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Query not using index despite high statistics
Дата
Msg-id 3615.1178294991@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Query not using index despite high statistics  (Henrik Zagerholm <henke@mac.se>)
Ответы Re: Query not using index despite high statistics  (Henrik Zagerholm <henke@mac.se>)
Список pgsql-general
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.

            regards, tom lane

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

Предыдущее
От: Kevin Murphy
Дата:
Сообщение: Re: Permission denied to create database
Следующее
От: "Mike Frysinger"
Дата:
Сообщение: Re: cant get pg_dump/pg_restore to behave