Views/queries and optimal indexes usage (cf. planner)

Поиск
Список
Период
Сортировка
От Cédric Dufour
Тема Views/queries and optimal indexes usage (cf. planner)
Дата
Msg-id NDBBIFNBODNADCAOFDOACELBCDAA.cedric.dufour@freesurf.ch
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: ta145@yahoo.com (Trey Ackerman)
Дата:
Сообщение: looking to speed up SELECT ... LEFT JOIN query
Следующее
От: Jeff Eckermann
Дата:
Сообщение: Re: control reaches end of trigger procedure without RETURN