Re: View based upon function won't use index on joins - Mailing list pgsql-performance

From Віталій Тимчишин
Subject Re: View based upon function won't use index on joins
Date
Msg-id 331e40660911200834g375a9673w20e6afcd3114c90e@mail.gmail.com
Whole thread Raw
In response to Re: View based upon function won't use index on joins  (Jonathan Foy <thefoy@gmail.com>)
Responses Re: View based upon function won't use index on joins
List pgsql-performance


20 листопада 2009 р. 17:01 Jonathan Foy <thefoy@gmail.com> написав:
This seems to result in the same problem; should I attempt to pull for a specific id_nbr/id_qfr, postgres uses the index without a problem. If I try to join the two tables/views however, it insists on doing a sequential scan (actually two in this case) and will not use the index.  Any other ideas/explanations?

Have you tried to do same (join) when not using the viewes or converting columns into records? May be the problem is not in conversion, but in something simplier, like statistics or index bloat?

Best regards, Vitalii Tymchyshyn

pgsql-performance by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Postgres query completion status?
Next
From: Hrishikesh Mehendale
Date:
Subject: Re: Partitions and max_locks_per_transaction