| От | Tom Lane |
|---|---|
| Тема | Re: bug in join? |
| Дата | |
| Msg-id | 7787.1010011011@sss.pgh.pa.us обсуждение |
| Ответ на | Re: bug in join? (Laurette Cisneros <laurette@nextbus.com>) |
| Список | pgsql-hackers |
Laurette Cisneros <laurette@nextbus.com> writes:
> Will keep trying. I also noticed that several triggers were dropped when I
> dropped the table. I need to add these back and see if they make a
> difference.
No, join_selectivity isn't going to care about triggers. What's failing
is the estimation of the fraction of rows that will match on address
between the two tables (join_selectivity is rejecting the result as
obviously bogus, which it is). That doesn't depend on anything except
the ANALYZE statistics.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера