Re: Incorrect index being used

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Jesse Long *EXTERN*" <jpl(at)unknown(dot)za(dot)net>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Incorrect index being used
Date: 2013-10-09 13:20:44
Message-ID: A737B7A37273E048B164557ADEF4A58B17C28C7E@ntex2010a.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Jesse Long wrote:
> There is no problem with row visibility, there is only one connection to
> the database - the connection I am using to do these selects.

No idea why the plans cannot be used.

It might be helpful to see the table and index definitions.

> Thanks you for the advise regarding ANALYZE. I ran ANALYZE on both
> tables concerned, but not much changed:

Did you try increasing default_statistics_target before ANALYZE?

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message janek12 2013-10-09 13:25:03 Re: pg_similarity
Previous Message Jov 2013-10-09 12:42:11 Re: no syntax error on limit1