Re: [HACKERS] minor bug...

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [HACKERS] minor bug...
Дата
Msg-id 38A2A3D9.96879708@tm.ee
обсуждение исходный текст
Ответ на minor bug...  (Don Baccus <dhogaza@pacifier.com>)
Список pgsql-hackers
Thomas Lockhart wrote:
> 
> > > ... there's no real reason not to support indexes on booleans, is
> > > there?
> 
> afaict the only case where this would be a win is if there is a *very*
> skewed distribution of boolean values, and you *only* want the
> uncommon one. Otherwise, looking up half the rows in a table via index
> has got to be worse than just scanning the table.

One (maybe only) case I can see use for it is for a multi-field index 
containing many booleans (say an index over 16 boolean fields).

------------
Hannu


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

Предыдущее
От: Richa Singh
Дата:
Сообщение: Jdbc and Postfresql-6.5.3 on RedHat 6.1
Следующее
От: Chris
Дата:
Сообщение: libpq