| От | Gregory Stark |
|---|---|
| Тема | Re: [PGSQL v8.2.5] Similar queries behave differently |
| Дата | |
| Msg-id | 87tzoflbzf.fsf@oxford.xeocode.com обсуждение |
| Ответ на | [PGSQL v8.2.5] Similar queries behave differently (Reg Me Please <regmeplease@gmail.com>) |
| Ответы |
Re: [PGSQL v8.2.5] Similar queries behave differently
|
| Список | pgsql-general |
"Reg Me Please" <regmeplease@gmail.com> writes: > -> Seq Scan on tt_elem (cost=0.00..29.40 rows=1940 width=8) > (actual time=0.012..0.013 rows=1 loops=1) The discrepancy etween the estimated rows and actual rows makes me think you've not analyzed this table in a long time. It's probably best to analyze the whole database to have a consistent set of statistics and to catch any other old table stats. There could be other misestimations based due to Postgres limitations but first fix the out of date stats and re-post both plans. -- Gregory Stark EnterpriseDB http://www.enterprisedb.com
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера