Re: Values larger than 1/3 of a buffer page cannot be indexed.
В списке pgsql-general по дате отправления:
| От | Craig Ringer |
|---|---|
| Тема | Re: Values larger than 1/3 of a buffer page cannot be indexed. |
| Дата | |
| Msg-id | 4D9143D9.8070707@postnewspapers.com.au обсуждение |
| Ответ на | Re: Values larger than 1/3 of a buffer page cannot be indexed. (Merlin Moncure <mmoncure@gmail.com>) |
| Ответы |
Re: Values larger than 1/3 of a buffer page cannot be indexed.
|
| Список | pgsql-general |
On 03/14/2011 09:25 PM, Merlin Moncure wrote: >> Unless the point is to guarantee uniqueness of the "long-long value"s. > > md5 will do that too: the main thing you lose going to hash indexing > is ordering. MD5 will *probably* guarantee the uniqueness of the values. Personally I'm not a big fan of betting on that, and tend to like to test for equality against the hash first and then, if the hashes are equal, against the values. I have several md5 collisions in one of my tables, so it's far from impossible. In fact, it's much more likely than you'd expect thanks to the birthday paradox. -- Craig Ringer
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера