Re: parse partition strategy string in gram.y

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: parse partition strategy string in gram.y
Дата
Msg-id 3930526.1666659024@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: parse partition strategy string in gram.y  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: parse partition strategy string in gram.y
Re: parse partition strategy string in gram.y
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On 2022-Oct-24, Finnerty, Jim wrote:
>> The advantage of hash partition bounds is that they are not
>> domain-specific, as they are for ordinary RANGE partitions, but they
>> are more flexible than MODULUS/REMAINDER partition bounds.

I'm more than a bit skeptical of that claim.  Under what
circumstances (other than a really awful hash function,
perhaps) would it make sense to not use equi-sized hash
partitions?  If you can predict that more stuff is going
to go into one partition than another, then you need to
fix your hash function, not invent more complication for
the core partitioning logic.

            regards, tom lane



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Crash after a call to pg_backup_start()
Следующее
От: Julien Rouhaud
Дата:
Сообщение: Re: [PATCHES] Post-special page storage TDE support