Re: index does not improve performance

Поиск
Список
Период
Сортировка
От Milos Prudek
Тема Re: index does not improve performance
Дата
Msg-id 3C5BFF9D.884C72D8@tiscali.cz
обсуждение исходный текст
Ответ на index does not improve performance  (Milos Prudek <milos.prudek@tiscali.cz>)
Ответы Re: index does not improve performance
Список pgsql-general
> 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