Re: index not used again

From: Jan Kesten <jan(dot)kesten(at)web(dot)de>
To: pgsql-performance(at)postgresql(dot)org
Subject: Re: index not used again
Date: 2006-04-02 16:20:16
Message-ID: 442FF9C0.2070702@web.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

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.

In my case rows with token set to one are really rare, about one of a
thousand rows. I looked for fast way to find therse rows.

I'll try again after a successful run - not resetting the token (not
using analyse this time).

Cheers,
Jan

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Stephan Szabo 2006-04-02 19:46:55 Re: index not used again
Previous Message Qingqing Zhou 2006-04-02 14:45:34 Re: Logging SQL queries to optimize them ?