Re: extensible enum types

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
Re: extensible enum types
Дата
Msg-id
4C1F9322.3010600@dunslane.net
Ответ на
Список
Дерево обсуждения
Re: extensible enum types "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: extensible enum types Peter Geoghegan <peter.geoghegan86@gmail.com>
Re: extensible enum types "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: extensible enum types Simon Riggs <simon@2ndQuadrant.com>


Tom Lane wrote:
>> Adding cache 
>> lookups for the enum rows to the comarison routines made a REINDEX on a 
>> 1m row table where the index is on an enum column (the enum has 500 
>> randomly ordered labels) jump from around 10s to around 70s.
>>     
>
> Hmmm... that's bad, but I bet it's still less than the cost of comparing
> NUMERICs.  Also, did you make any attempt to avoid repetitive cache
> lookups by storing a pointer in fn_extra (cf array comparisons)?
>
> 			
>   

No. Will work on that. Thanks.

cheers

andrew

В списке pgsql-hackers по дате отправления
От: Robert Haas
Дата:
Сообщение: deprecating =>, take two
От: David E. Wheeler
Дата:
Сообщение: Re: deprecating =>, take two
FAQ