Re: Selectivity of "=" (Re: [HACKERS] Index not used on simple se lect)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Selectivity of "=" (Re: [HACKERS] Index not used on simple se lect)
Дата
Msg-id 199907281607.MAA11812@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Selectivity of "=" (Re: [HACKERS] Index not used on simple se lect)  (Zeugswetter Andreas IZ5 <Andreas.Zeugswetter@telecom.at>)
Список pgsql-hackers
> Example assuming int index column:
> from    to    nrow_estimate
> 1    100    10005
> 101    20000    9997
> 20001    100000    10014
> 
> badly scewed values (excluded in above table):
> val        nrow_estimate
> 1        100000
> 5        1000000
> 
> But imho this is an overkill, and seldom useful.

Yes, some commerical databases do this, though it is of questionable value.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: "D'Arcy" "J.M." Cain
Дата:
Сообщение: Re: [HACKERS] Checking if a system is ELF
Следующее
От: Oleg Bartunov
Дата:
Сообщение: SYSLOGD facility