| От | Anne Rosset |
|---|---|
| Тема | Re: Need to increase performance of a query |
| Дата | |
| Msg-id | 4C11463B.7080608@collab.net обсуждение исходный текст |
| Ответ на | Re: Need to increase performance of a query (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>) |
| Ответы |
Re: Need to increase performance of a query
|
| Список | pgsql-performance |
Heikki Linnakangas wrote: > On 10/06/10 22:47, Craig James wrote: >> Postgres normally doesn't index NULL values even if the column is >> indexed, so it has to do a table scan when your query includes an IS >> NULL condition. > > That was addressed in version 8.3. 8.3 and upwards can use an index > for IS NULL. > > I believe the NULLs were stored in the index in earlier releases too, > they just couldn't be searched for. > I am using postgres 8.3.6. So why doesn't it use my index? Thanks, Anne
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера