| От | Scara Maccai |
|---|---|
| Тема | Re: Nested Loop Left Join always shows rows=1 |
| Дата | |
| Msg-id | 220177.73018.qm@web28106.mail.ukl.yahoo.com обсуждение исходный текст |
| Ответ на | Nested Loop Left Join always shows rows=1 (Scara Maccai <m_lists@yahoo.it>) |
| Список | pgsql-general |
> Yeah, this is a bug: it's effectively double-counting the > selectivity of the index clause. The error isn't enormously critical, > since the join size estimate is right; but it could perhaps lead to > choosing a plain indexscan when a bitmap scan would be better. I've > applied a patch. Thank you. I'll try that. I was able to change the PgBackendStatus struct to hold a "percentage of completion" field, which shows up when calling thepg_stat_get_activity function. As I said in a previous mail, the progress indicator gives very good estimates for the simple queries I need. If I can comeup with something that is good in general I'll post it. I'm reading some papers about the argument (mostly the ones listedin http://wiki.postgresql.org/wiki/Query_progress_indication).
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера