Re: Does indexing help >= as well as = for integer columns?

Поиск
Список
Период
Сортировка
От 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?  (Manfred Koizar <mkoi-pg@aon.at>)
Список 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 по дате отправления:

Предыдущее
От: William Yu
Дата:
Сообщение: Re: Postgresql and Athlon64 ?
Следующее
От: Greg Stark
Дата:
Сообщение: Re: PL/PgSQL, Inheritance, Locks, and Deadlocks