Re: Fwd: How does the partitioned lock manager works?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fwd: How does the partitioned lock manager works?
Дата
Msg-id 9286.1177738286@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fwd: How does the partitioned lock manager works?  ("rancpine cui" <rancpine@gmail.com>)
Ответы Re: Fwd: How does the partitioned lock manager works?  ("Cui Shijun" <rancpine@gmail.com>)
Список pgsql-hackers
"rancpine cui" <rancpine@gmail.com> writes:
> So the method of calculating the bucket number can promise
> that all items in the bucket link list belong to ONE partition?

It's not that hard: the bucket number is some number of low-order bits
of the hash value, and the partition number is some smaller (or at most
equal) number of low-order bits of the hash value.
        regards, tom lane


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

Предыдущее
От: "rancpine cui"
Дата:
Сообщение: Re: Fwd: How does the partitioned lock manager works?
Следующее
От: "Cui Shijun"
Дата:
Сообщение: Re: Fwd: How does the partitioned lock manager works?