| От | சிவகுமார் மா |
|---|---|
| Тема | Re: Query too slow with "not in" condition [Resolved] |
| Дата | |
| Msg-id | 139e14f00811302321l4bf3f8efuef87dc8719c89b24@mail.gmail.com обсуждение |
| Список | pgsql-general |
"David Rowley" <dgrowley@gmail.com> writes:Indeed, work_mem is probably the problem. The critical difference
> I assume workmem, effective_cache_size and random_page_cost are all the same
> in the 2 postgresql.conf?
between the two plans seems to be that the first one is using a
"hashed subplan" and the second one isn't. Assuming the same datatypes in both databases, the only reason not to use a hashed subplan is if the hashtable is estimated not to fit in work_mem.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера