Re: Inconsistent performance

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Joseph Bove <jbove(at)vetstar(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Inconsistent performance
Date: 2003-09-15 22:49:10
Message-ID: 20030915154131.I76677@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance


On Mon, 15 Sep 2003, Joseph Bove wrote:

> Stephan,
>
> Actually, it's inconsistent with the exact same command. I've now
> replicated the problem by doing the following command:
>
> select count (*) from table;
>
> The table in question has 88899 rows.
>
> The response time is anywhere from 1 second to 12 seconds. Different
> response times can occur in the same minute of testing!

Well, that's really only got one valid plan right now (seqscan and
aggregate). It'd be mildly interesting to see what explain analyze says in
slow and fast states, although I'd be willing to bet that it's just going
to effectively show that the seqscan is taking more or less time.

I think we're going to need to see the configuration settings for the
server and possibly some info on how big the table is (say relpages for
the pg_class row associated with the table after a vacuum full).

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Joseph Bove 2003-09-15 23:28:40 Re: Inconsistent performance
Previous Message Joseph Bove 2003-09-15 22:24:27 Re: Inconsistent performance