Re: Why the difference in plans ?

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Why the difference in plans ?
Дата
Msg-id 200803060926.38708.josh@agliodbs.com
обсуждение исходный текст
Ответ на Why the difference in plans ?  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: Why the difference in plans ?  (Dave Cramer <pg@fastcrypt.com>)
Re: Why the difference in plans ?  (Dave Cramer <pg@fastcrypt.com>)
Список pgsql-performance
Dave,

> Below I have two almost identical queries.  Strangely enough the one
> that uses the index is slower ???

My first guess would be that records are highly correlated by DOB and not at
all by name.  However, it would help if you supplied both the index
definitions and what changed between the two queries to cause the index to be
used.

--
Josh Berkus
PostgreSQL @ Sun
San Francisco

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Performance of aggregates over set-returning functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: count * performance issue