pg11 list partitions vs hash partitions

Поиск
Список
Период
Сортировка
От Mariel Cherkassky
Тема pg11 list partitions vs hash partitions
Дата
Msg-id CA+t6e1k+VuviGp23hBsyTcNrZABO+KmjvE3OQg8YegqgO+bKFg@mail.gmail.com
обсуждение исходный текст
Список pgsql-performance
Hey,
I'm trying to understand when using hash partitions can be better than using list partition when the partition column is bigint. I understand that If my partition column  has many distinct values then If I'll use a list partitions I might have a lot of partitions. On the other hand, with hash partitions on that column I can combine a few partition keys to the same partition.

I understand that maintenance on more partitions is harder but the performance with list partition should be faster because we will have less records in each table. Is there any reason hash partitions will be better than list partitions in aspect of peromance ?

Thanks ! 

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: UPGRADE TO PG11 CAUSED DEGREDATION IN PERFORMANCE
Следующее
От: Barbu Paul - Gheorghe
Дата:
Сообщение: Erratically behaving query needs optimization