Re: Select query takes long to execute
От
Bruno Wolff III
Тема
Re: Select query takes long to execute
Дата
Msg-id
20030530121311.GB8920@wolff.to
Ответ на
Re: Select query takes long to execute (SZUCS Gábor)
Список
Дерево обсуждения
Re: Select query takes long to execute "Nikolaus Dilger" <nikolaus@dilger.cc>
On Fri, May 30, 2003 at 10:57:33 +0200, SZUCS Gábor wrote: > Nikolaus, > > I think that shouldn't be any more effective. As I experienced, it's > irrelevant how many cols an index has as long as you only use the first > column. And, after that, if you use another column, how could a missing > second column be any better? Because the index will be more compact and reside on less disk blocks. The planner also makes different guesses for the selectivity whne using the first column of a multicolumn index as opposed to a single column index.
В списке pgsql-performance по дате отправления