Re: Indexing a Boolean or Null column?

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Indexing a Boolean or Null column?
Дата
Msg-id 3FF7BEDD.7050208@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Indexing a Boolean or Null column?  ("D. Dante Lorenso" <dante@lorenso.com>)
Список pgsql-performance
> In this case, it WILL pay off to have the index on a boolean
> column, yes?  Will I win my debate with my collegue? ;-)
>
> I think Tom Lanes suggestion of partial indexes is what I need to
> look into.

Yes, given that it will be highly skewed towards false entries, Tom's
suggestion is perfect.

Chris


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

Предыдущее
От: "D. Dante Lorenso"
Дата:
Сообщение: Re: Indexing a Boolean or Null column?
Следующее
От: Christopher Kings-Lynne
Дата:
Сообщение: Re: Indexing a Boolean or Null column?