| От | Justin Pryzby |
|---|---|
| Тема | Re: Optimising a two column OR check |
| Дата | |
| Msg-id | 20191012144336.GA4475@telsasoft.com обсуждение исходный текст |
| Ответ на | Optimising a two column OR check (Ivan Voras <ivoras@gmail.com>) |
| Ответы |
Re: Optimising a two column OR check
|
| Список | pgsql-performance |
On Sat, Oct 12, 2019 at 04:39:56PM +0200, Ivan Voras wrote: > With seqscan disabled, I get this plan on 9.6: > Bitmap Heap Scan on friend (cost=8.42..19.01 rows=14 width=8) ... > I expected to get an index-only scan in this situation, as that would be a > very common query. Is there a way to actually make this sort of query > resolvable with an index-only scan? Maybe a different table structure would > help? The v11 release notes have this relevant item: https://www.postgresql.org/docs/11/release-11.html |Allow bitmap scans to perform index-only scans when possible (Alexander Kuzmenkov) Justin
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера