Re: postgres 7.4 at 100%

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Chris Cheston <ccheston(at)gmail(dot)com>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: postgres 7.4 at 100%
Date: 2004-06-29 08:21:01
Message-ID: 40E1266D.3040607@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> live=# explain analyze SELECT id FROM calllogs WHERE from = 'you';
> QUERY PLAN
> ----------------------------------------------------------------------------------------------------------
> Seq Scan on calllogs (cost=0.00..136.11 rows=24 width=4) (actual
> time=0.30..574.72 rows=143485 loops=1)
> Filter: (from = 'you'::character varying)
> Total runtime: 676.24 msec
> (3 rows)

Have you got an index on calllogs(from)?

Have you vacuumed and analyzed that table recently?

Chris

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Chris Cheston 2004-06-29 08:37:30 Re: postgres 7.4 at 100%
Previous Message Chris Cheston 2004-06-29 08:00:10 Re: postgres 7.4 at 100%