Re: [GENERAL] (solved) R: Very strange problem on index - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: [GENERAL] (solved) R: Very strange problem on index
Date
Msg-id 8f9adb09-0d8d-1df4-20dd-536b3e5c9f38@iol.ie
Whole thread Raw
In response to [GENERAL] (solved) R: Very strange problem on index  (Job <Job@colliniconsulting.it>)
Responses R: [GENERAL] (solved) R: Very strange problem on index  (Job <Job@colliniconsulting.it>)
List 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@iol.ie


pgsql-general by date:

Previous
From: Job
Date:
Subject: [GENERAL] (solved) R: Very strange problem on index
Next
From: Job
Date:
Subject: R: [GENERAL] (solved) R: Very strange problem on index