Re: query using incorrect index - Mailing list pgsql-performance

From Kevin Grittner
Subject Re: query using incorrect index
Date
Msg-id 501A98FD020000250004935D@gw.wicourts.gov
Whole thread Raw
In response to query using incorrect index  (Russell Keane <Russell.Keane@inps.co.uk>)
Responses Re: query using incorrect index  (Russell Keane <Russell.Keane@inps.co.uk>)
List pgsql-performance
Russell Keane <Russell.Keane@inps.co.uk> wrote:

> Clearly the statistics are off somehow but I really don't know
> where to start.
>
> Any help you can give me would be very much appreciated.

It would help to know your more about your hardware and PostgreSQL
configuration.  The latter can probably best be communicated by
copy/paste of the results of the query on this page:

http://wiki.postgresql.org/wiki/Server_Configuration

Can you also post the EXPLAIN ANALYZE output for the slow query with
both indexes present but without the LIMIT clause?

-Kevin

pgsql-performance by date:

Previous
From: Peter Geoghegan
Date:
Subject: [repost] Help me develop new commit_delay advice
Next
From: Robert Klemme
Date:
Subject: Re: query using incorrect index