| От | Bruno Wolff III |
|---|---|
| Тема | Re: Analyze not doing anything? |
| Дата | |
| Msg-id | 20040210130610.GA24722@wolff.to обсуждение исходный текст |
| Ответ на | Re: Analyze not doing anything? ("Jim C. Nasby" <jim@nasby.net>) |
| Список | pgsql-general |
On Mon, Feb 09, 2004 at 18:39:48 -0600, "Jim C. Nasby" <jim@nasby.net> wrote: > Hrm, I didn't realize that. Is it in the docs anywhere? I didn't see it > in Chapter 11... I'm particularly interested in why NULL/NOT NULL isn't > indexable. > > Are where clauses on indexes like > > email_contrib__team_id btree (team_id) WHERE (team_id IS NOT NULL) > > still valid/usefull? If I wanted to create the converse of that index, While IS NULL and IS NOT NULL are not indexable, they can be used as restrictions for partial indexes. If the matching clause is used in a where clause, then the partial index could potentially be used for executing the query.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера