Re: poor performance involving a small table

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: poor performance involving a small table
Дата
Msg-id 429BC35A.7060904@familyhealth.com.au
обсуждение исходный текст
Ответ на poor performance involving a small table  (Colton A Smith <smith@cs.utk.edu>)
Список pgsql-performance
>  Seq Scan on sensor  (cost=0.00..1.25 rows=1 width=6) (actual
> time=0.055..0.068 rows=1 loops=1)
>    Filter: (sensor_id = 12)
>  Total runtime: 801641.333 ms
> (3 rows)
>
> Can anybody help me out?  Thanks so much!

Does your table have millions of dead rows?  Do you vacuum once an hour?
  Run VACUUM FULL ANALYE sensor;

Chris


В списке pgsql-performance по дате отправления:

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: tuning
Следующее
От: Tobias Brox
Дата:
Сообщение: Re: timestamp indexing