On 10/16/2012 04:59 AM, houmanb wrote:
> There is an Index on T.c. But would it help to partition the table by T.c?
You should really post EXPLAIN ANALYZE for questions like this. See
https://wiki.postgresql.org/wiki/Slow_Query_Questions
--
Craig Ringer