| От | Verena Ruff |
|---|---|
| Тема | Re: select count(*) and limit |
| Дата | |
| Msg-id | 446CA0AF.1000001@triosolutions.at обсуждение исходный текст |
| Ответ на | Re: select count(*) and limit (Sean Davis <sdavis2@mail.nih.gov>) |
| Ответы |
Re: select count(*) and limit
|
| Список | pgsql-novice |
Hi, Sean Davis schrieb: > It should still work just fine, again with the caveat that it is an > approximation and depends on the statistics available. Try comparing the > output a few times for your count(*) and using EXPLAIN. > sometimes the difference is to much to go this way. EXPLAIN extimates 71000 rows but there are 95000. 10% would have been accaptle. I did these tests on a freshly vacuumed database. regards, Verena
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера