Re: index not used again

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Jan Kesten <jan(dot)kesten(at)web(dot)de>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: index not used again
Date: 2006-04-02 19:46:55
Message-ID: 20060402124047.X46838@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Sun, 2 Apr 2006, Jan Kesten wrote:

> Stephan Szabo schrieb:
>
> > Did you reset the table contents between these two (remember that
> > explain analyze actually runs the query)? The second appears to be
> > changing no rows from the output.
>
> I for myself did not, but as there are runnig automatic jobs
> periodically I can't tell, if one ran in the time while I was testing
> (but I guess not). At starting my tests all rows contained a zero for
> all tokens and there should be no ones at all.

The reason I asked is that the explain analyze output for the first query
on fak6 (using a seqscan) seemed to imply 24k rows actually matched the
condition and were updated, so comparisons to the later times may be
skewed.

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Niklas Johansson 2006-04-02 21:08:44 Re: Trigger vs Rule
Previous Message Jan Kesten 2006-04-02 16:20:16 Re: index not used again