Re: When to use PARTITION BY HASH?

Поиск
Список
Период
Сортировка
От Ron
Тема Re: When to use PARTITION BY HASH?
Дата
Msg-id 0592c44a-cd2b-da4b-4dea-2017ae41507a@gmail.com
обсуждение исходный текст
Ответ на Re: When to use PARTITION BY HASH?  (Oleksandr Shulgin <oleksandr.shulgin@zalando.de>)
Ответы Re: When to use PARTITION BY HASH?  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-general
On 6/8/20 3:40 AM, Oleksandr Shulgin wrote:
[snip]
It says:

"Hash partitioning is useful when you want to partition a growing data
set evenly.  This can be useful to keep table sizes reasonable, which
makes maintenance operations such as VACUUM faster, or to enable
partition-wise join."

How does hashed (meaning "randomly?) distribution of records make partition-wise joins more efficient?

Or -- since I interpret that as having to do with "locality of data" -- am I misunderstanding the meaning of "partition-wise joins"?

--
Angular momentum makes the world go 'round.

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

Предыдущее
От: Laura Smith
Дата:
Сообщение: "INSERT ON CONFLICT UPDATE" - Use of indexes ?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: "INSERT ON CONFLICT UPDATE" - Use of indexes ?