Views/queries and optimal indexes usage (cf. planner) - Mailing list pgsql-sql

From Cédric Dufour
Subject Views/queries and optimal indexes usage (cf. planner)
Date
Msg-id NDBBIFNBODNADCAOFDOACELBCDAA.cedric.dufour@freesurf.ch
Whole thread Raw
List pgsql-sql
Hello,
 
Assuming I have some tables A, B, C, ... that I CROSS-/LEFT-JOIN in a query/view, what are the guidelines to make sure the planner will use existing indexes on these tables when issuing WHERE or ORDER BY clauses ? What if I use subviews/subquery ?
 
Is there any PostgreSQL documentation on the subject ? Or any other documentation relevant for PostgreSQL's planner ?
 
Cédric Dufour
 

pgsql-sql by date:

Previous
From: ta145@yahoo.com (Trey Ackerman)
Date:
Subject: looking to speed up SELECT ... LEFT JOIN query
Next
From: Jeff Eckermann
Date:
Subject: Re: control reaches end of trigger procedure without RETURN