Optimizer and Indexes with Joins

Поиск
Список
Период
Сортировка
От Hargis
Тема Optimizer and Indexes with Joins
Дата
Msg-id 00f601c1c402$cf52bfd0$0100a8c0@Flip
обсуждение исходный текст
Ответы Re: Optimizer and Indexes with Joins  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Optimizer and Indexes with Joins  (Frank Bax <fbax@sympatico.ca>)
Список pgsql-novice
I have a question regarding the optimizer and indexes.   Having a boss that is fluent in data flex but trying to understand postgresql, I am trying to find out if postgresql has a way to basically tell the optimizer which index to use.  The boss states that in data flex you "tell" it to use index 7 and it uses index 7. 
 
We utilize vacuum analyze and we also structure our where clauses to fit the specific indexes.  Further, we set the "enable sequence scan" to off and it did not improve any performace issues.  Most of our selects are "joins" though and that may be causing most of our performance issues.  Any advice out there? 
 
If I need to provide any further information, please advise....
 
TIA,
 
LA Hargis
(Trying to get better at postgres)
 

В списке pgsql-novice по дате отправления:

Предыдущее
От: Damon Fasching
Дата:
Сообщение: executemany with select
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Optimizer and Indexes with Joins