Re: index does not improve performance

Поиск
Список
Период
Сортировка
Искать
От
Milos Prudek
Тема
Re: index does not improve performance
Дата
Msg-id
3C5BFF9D.884C72D8@tiscali.cz
Список
Дерево обсуждения
Re: index does not improve performance Milos Prudek <milos.prudek@tiscali.cz>
> BTW, have you VACUUM ANALYZE'd this table? What version of Pg are you

On your advice I did VACUUM ANALYZE, and it did help! From 5.5 seconds
I'm down to 3.4 seconds.

I'm using PostgreSQL 7.1.3, RPM binary.


> running? The output for 'explain' for these queries (with and without
> index) would be helpful.

With index:
Aggregate  (cost=11292.20..11292.20 rows=1 width=0)
  ->  Seq Scan on log  (cost=0.00..10679.25 rows=245182 width=0)

Without index:
Aggregate  (cost=11292.20..11292.20 rows=1 width=0)
  ->  Seq Scan on log  (cost=0.00..10679.25 rows=245182 width=0)


--
Milos Prudek

В списке pgsql-general по дате отправления
От: The Viracocha
Дата:
Сообщение: Server ???
От: Cees van de Griend
Дата:
Сообщение: Preformance
FAQ