Re: (solved) R: Very strange problem on index

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Job <Job(at)colliniconsulting(dot)it>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: (solved) R: Very strange problem on index
Date: 2017-02-02 13:47:05
Message-ID: 8f9adb09-0d8d-1df4-20dd-536b3e5c9f38@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/02/17 12:53, Job wrote:
>
> I create a table copy, with indexes, and it worked perfecly.
> Then i dropped the original table and recreated it back by a copy of the newest.
>
> Same problems, lack during searches and indexes not used.

I didn't see your original message so may have missed this, but did you
run ANALYZE on the table after creating it? - Depending on how you
created the table, the statistics needed by the planner may or may not
have been up to date.

Ray.

--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Job 2017-02-02 13:57:28 R: (solved) R: Very strange problem on index
Previous Message Job 2017-02-02 12:53:58 (solved) R: Very strange problem on index