| От | Tom Lane |
|---|---|
| Тема | Re: How to enable partial matching on a GIN index |
| Дата | |
| Msg-id | 28930.1452535081@sss.pgh.pa.us обсуждение |
| Ответ на | How to enable partial matching on a GIN index (Chris Spencer <chrisspen@gmail.com>) |
| Ответы |
Re: How to enable partial matching on a GIN index
|
| Список | pgsql-novice |
Chris Spencer <chrisspen@gmail.com> writes:
> I recently setup a GIN index on a large database, and it's performance is
> spectacular. However, I noticed by default it doesn't allow searching by
> partial matches.
What's your grounds for claiming that?
We recently fixed a bug whereby the planner overestimated the cost of
partial-match index scans, which might discourage it from choosing an
index scan versus other plans, but that's a lot different from "doesn't
allow". In any case, the bug only manifests if you've never vacuumed the
table since creating the index ...
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера