USING HASH considered harmful?

Поиск
Список
Период
Сортировка
От Stephen Robert Norris
Тема USING HASH considered harmful?
Дата
Msg-id 20010817092313.B28987@ws12.commsecure.com.au
обсуждение исходный текст
Ответы Re: USING HASH considered harmful?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: USING HASH considered harmful?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
We've just discovered a rather nasty feature of hashes, namely that
simultaneous reads & writes to a single row will deadlock if there
is a hash index on the table.

I guess this is because PG really has to lock the hash table entry in
both cases. It does, however, make HASH indices completely useless for
any table that you might want to update.

Is this a known feature?

    Stephen

Вложения

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

Предыдущее
От: Andrew Gould
Дата:
Сообщение: Re: Killing inactive connections
Следующее
От: newsreader@mediaone.net
Дата:
Сообщение: Re: why sequential scan