Re: Does indexing help >= as well as = for integer columns?
В списке pgsql-general по дате отправления:
| От | Greg Stark |
|---|---|
| Тема | Re: Does indexing help >= as well as = for integer columns? |
| Дата | |
| Msg-id | 87r7jzo64m.fsf@stark.xeocode.com обсуждение исходный текст |
| Ответ на | Re: Does indexing help >= as well as = for integer columns? (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Does indexing help >= as well as = for integer columns?
|
| Список | pgsql-general |
> "TJ O'Donnell" <tjo@acm.org> writes:
>
> > -> Seq Scan on structure (cost=0.00..191619.56 rows=1765669 width=32) (actual
> > time=8050.437..42117.062 rows=1569 loops=1)
^^^^^^^^
And do you vacuum regularly? Have you done batch updates or deletes and then
never inserted enough records to reuse that dead space? You might have to
vacuum full (or alternatively use the cluster command) to reclaim this dead
space.
I don't recall what the original motivation to rewrite the analyze sampling
was, did having lots of dead tuples cause bad estimates in 7.4?
--
greg
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера