| От | Jeff Davis |
|---|---|
| Тема | Re: Incorrect assumptions with low LIMITs |
| Дата | |
| Msg-id | 1331933968.5271.127.camel@sussancws0025 обсуждение исходный текст |
| Ответ на | Incorrect assumptions with low LIMITs (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: Incorrect assumptions with low LIMITs
|
| Список | pgsql-hackers |
On Fri, 2012-03-16 at 18:25 +0000, Simon Riggs wrote: > Any time we apply a LIMIT clause to a plan with a SeqScan or > unqualified IndexScan, we shouldn't assume the scan will do less than > say 10% of the table. It might, but its an unsafe assumption because > as the selectivity decreases so does the safety of the assumption that > rows are uniformly distributed. Just trying to follow along. You mean "as the selectivity _increases_ the safety of the assumption that the rows are uniformly distributed decreases", right? Regards,Jeff Davis
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера