| От | Stephen Frost |
|---|---|
| Тема | Re: WTF with hash index? |
| Дата | |
| Msg-id | 20181116185415.GG3415@tamriel.snowman.net обсуждение |
| Ответ на | Re: WTF with hash index? (Олег Самойлов <splarv@ya.ru>) |
| Список | pgsql-general |
Greetings, * Олег Самойлов (splarv@ya.ru) wrote: > Ah, thanks. I am not a developer of PostgreSQL. I am a developer in PostgreSQL. :) And I see two hash indexes on the samedata and one of them 43 times bigger then other, this looked like something terribly wrong. Just free idea how to considerablyimprove your product. Ultimately, it might be less improvement overall and more of a regression though, in the common cases. This use-case isn't common for a hash index. If we changed all hash indexes to instead be gin indexes of jsonb values, we'd end up with the common hash index use-cases being much, much worse. In the end, this comes down to choosing the right index for your data and your queries, which is actually a rather difficult problem to handle in some kind of automated way as there are lots of different trade-offs to consider. Thanks! Stephen
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера