| От | Jim Finnerty |
|---|---|
| Тема | Re: Query Performance Issue |
| Дата | |
| Msg-id | 1546084805706-0.post@n3.nabble.com обсуждение исходный текст |
| Ответ на | Re: Query Performance Issue (Justin Pryzby <pryzby@telsasoft.com>) |
| Список | pgsql-performance |
Try a pg_hint_plan Rows hint to explore what would happen to the plan if you fixed the bad join cardinality estimate: /*+ rows(prm prc #2028) */ alternatively you could specify a HashJoin hint, but I think it's better to fix the cardinality estimate and then let the optimizer decide what the best plan is. I agree with Justin that it looks like the version and recommended_content_id columns are correlated and that's the likely root cause of the problem, but you don't need to upgrade to fix this one query. ----- Jim Finnerty, AWS, Amazon Aurora PostgreSQL -- Sent from: http://www.postgresql-archive.org/PostgreSQL-performance-f2050081.html
В списке pgsql-performance по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера