Re: poor performance involving a small table

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Colton A Smith <smith(at)cs(dot)utk(dot)edu>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: poor performance involving a small table
Date: 2005-05-31 01:52:26
Message-ID: 429BC35A.7060904@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Tobias Brox 2005-05-31 02:06:25 Re: timestamp indexing
Previous Message Mark Kirkwood 2005-05-30 22:41:59 Re: tuning