Re: AW: pg_index.indislossy

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: AW: pg_index.indislossy
Дата
Msg-id 29539.994786593@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: AW: pg_index.indislossy  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: AW: pg_index.indislossy  (ncm@zembu.com (Nathan Myers))
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> But why is this called lossy?  Shouldn't it be called "exceedy"?

Good point ;-).  "lossy" does sound like the index might "lose" tuples,
which is exactly what it's not allowed to do; it must find all the
tuples that match the query.

The terminology is correct by analogy to "lossy compression" --- the
index loses information, in the sense that its result isn't quite the
result you wanted.  But I can see where it'd confuse the unwary.
Perhaps we should consult the literature and see if there is another
term for this concept.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: AW: pg_index.indislossy
Следующее
От: Tom Lane
Дата:
Сообщение: SOMAXCONN (was Re: Solaris source code)