Re: [PATCH]-hash index improving

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: [PATCH]-hash index improving
Дата
Msg-id 1216796852.3894.530.camel@ebony.2ndQuadrant
обсуждение исходный текст
Ответ на Re: [PATCH]-hash index improving  ("Xiao Meng" <mx.cogito@gmail.com>)
Список pgsql-hackers
On Wed, 2008-07-23 at 10:57 +0800, Xiao Meng wrote:
> Well, I'll do it after I finish my second patch.
> Hash index should be more efficient than btree when N is big enough.
> It seems meaningful to find how big N is in an experiment way.

Agreed.

We should also examine the basic thinking of the index.

My understanding is that it dynamically resizes hash as the index grows.
If we already believe the only benefit would come when the index is
large, having special handling for small tables seems like a waste of
time because we will never use it in those contexts. 

So starting the hash at a fairly large size makes more sense than it
might otherwise seem to.

-- Simon Riggs           www.2ndQuadrant.comPostgreSQL Training, Services and Support



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

Предыдущее
От: Markus Wanner
Дата:
Сообщение: Re: Transaction-controlled robustness for replication
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [PATCHES] odd output in restore mode