Re: Is it possible to specify minimum number of rows planner should consider?
В списке pgsql-performance по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Is it possible to specify minimum number of rows planner should consider? |
| Дата | |
| Msg-id | 408272.1601327211@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Is it possible to specify minimum number of rows planner should consider? (Timothy Garnett <tgarnett@panjiva.com>) |
| Ответы |
Re: Is it possible to specify minimum number of rows planner should consider?
|
| Список | pgsql-performance |
Timothy Garnett <tgarnett@panjiva.com> writes:
> Is there some way to tell the planner that unless it's guaranteed by a
> constraint or some such it shouldn't guess that the selectivity of a
> filter/anti-join is 1 row (e.g. minimum to consider is 2 rows unless it's
> guaranteed to be 1 row) or somehow otherwise make it more conservative
> around the worst case possibilities.
There's been some discussion in that area, but it's a hard problem
to solve in general, and especially so if you'd like to not break
a ton of queries that work nicely today.
regards, tom lane
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера