Re: INET datatype and '<<' operator results in bad row estimate
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: INET datatype and '<<' operator results in bad row estimate |
| Дата | |
| Msg-id | 8218.1405449836@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | INET datatype and '<<' operator results in bad row estimate (Mike Porter <mike@udel.edu>) |
| Список | pgsql-bugs |
Mike Porter <mike@udel.edu> writes: > Postgres version: 9.3.4 > Note: This behavior appears to have been fixed in 9.4-beta1. I am > reporting it in case it can be fixed in 9.3.x. Perhaps it should be > mentioned in the 9.4.x release notes (or did I miss it?) Before 9.4, inet<<inet had no selectivity estimator at all, so you got a default selectivity estimate of 0.5. In 9.4 there is an estimator function, but it's only a stub returning a constant estimate of 0.001; so that makes this example better but only by luck. There's some work in progress to replace the stub with real selectivity estimation, but it won't appear in any release before 9.5: http://www.postgresql.org/message-id/flat/CAE2gYzwNBfGe9+1RP4UU6be9q2_m7Bfe6T18JgBSV4qJrkmxEQ@mail.gmail.com If you're interested, please help test that patch. regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера