| От | Tom Lane |
|---|---|
| Тема | Re: Use merge-based matching for MCVs in eqjoinsel |
| Дата | |
| Msg-id | 843059.1763405073@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Use merge-based matching for MCVs in eqjoinsel (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Use merge-based matching for MCVs in eqjoinsel
|
| Список | pgsql-hackers |
I wrote:
> Actually, after sleeping on it it seems like the obvious thing is
> to test "sslot1.nvalues * sslot2.nvalues", since the work we are
> thinking about saving scales as that product. But I'm not sure
> what threshold value to use if we do that. Maybe around 10000?
Or maybe better, since we are considering an O(m*n) algorithm
versus an O(m+n) one, we could check whether
sslot1.nvalues * sslot2.nvalues - (sslot1.nvalues + sslot2.nvalues)
exceeds some threshold. But that doesn't offer any insight into
just what the threshold should be, either.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера