Re: What is wrong with hashed index usage?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: What is wrong with hashed index usage?
Дата
Msg-id 200204260225.g3Q2P6011728@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: What is wrong with hashed index usage?  (Neil Conway <nconway@klamath.dyndns.org>)
Ответы Re: What is wrong with hashed index usage?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Neil Conway wrote:
> On Thu, 25 Apr 2002 16:38:00 -0400 (EDT)
> "Bruce Momjian" <pgman@candle.pha.pa.us> wrote:
> > 
> > Nice report.  I think we should start thinking of hiding the hash option
> > from users, or warn them more forcefully, rather than hold it out as a
> > possible option for them.
> 
> Why not do something Peter E. suggested earlier: if the functionality of
> hash indexes is a subset of that offered by btrees, it might be good to
> remove the hash index code and treat USING 'hash' as an alias for
> USING 'btree'?

I hate to do that because it makes people think something special is
happening for hash, but it isn't.  We could throw an elog(NOTICE)
stating that hash is not recommended and btree is faster, or something
like that.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Vote totals for SET in aborted transaction
Следующее
От: Curt Sampson
Дата:
Сообщение: Re: Sequential Scan Read-Ahead