Re: Join Bad Performance on different data types - Mailing list pgsql-general

From Sameer Kumar
Subject Re: Join Bad Performance on different data types
Date
Msg-id CADp-Sm5B8CV4uhBYsa6t+rjnEFDH4bcLk9=VpOgpwWgHTos+1Q@mail.gmail.com
Whole thread Raw
In response to Join Bad Performance on different data types  (Adarsh Sharma <eddy.adarsh@gmail.com>)
Responses Re: Join Bad Performance on different data types  (Adarsh Sharma <eddy.adarsh@gmail.com>)
List pgsql-general

On Tue, Mar 4, 2014 at 2:57 PM, Adarsh Sharma <eddy.adarsh@gmail.com> wrote:
I tried creating simple and gin indexes on the column(t_ids) but still not helping. Anyone has any idea or faced this before. Postgresql version is 9.2.

have you done a vacuum analyze or analyze after this step?

You might have to disable sequential scans
set enable_seqscan=off;

And then fire the query.


Best Regards,

Sameer Kumar | Database Consultant

ASHNIK PTE. LTD.

101 Cecil Street, #11-11 Tong Eng Building, Singapore 069533

M: +65 8110 0350  T: +65 6438 3504 | www.ashnik.com

icons

 

Email patch

 

This email may contain confidential, privileged or copyright material and is solely for the use of the intended recipient(s).

Attachment

pgsql-general by date:

Previous
From: Adarsh Sharma
Date:
Subject: Join Bad Performance on different data types
Next
From: Pavel Stehule
Date:
Subject: Re: Join Bad Performance on different data types