Re: pgbench with partitioned tables

Поиск
Список
Период
Сортировка
От Sami Imseih
Тема Re: pgbench with partitioned tables
Дата
Msg-id CAA5RZ0uqt8=W1ruVZ1Cx8oKa7L8BB-bepN2u5_iVd=aO38z0-Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgbench with partitioned tables  (Melanie Plageman <melanieplageman@gmail.com>)
Список pgsql-hackers
> > IMO, If there is a good reason to allow the other pgbench
> > tables to be partitioned, that may be better to think
> > about. I am not sure there is though.
>
> see this thread [1] proposing partitioning pgbench_history last year.
>
> [1]
https://www.postgresql.org/message-id/flat/CAAKRu_Zo8ST-Qk8VQ4KFkbMQcqJsQQz5r%2BYRRbecS3avgkoZhw%40mail.gmail.com#ca9397c201ed483cb02f07dcaaa2773c

I don't see the partitioning history being beneficial for the
built-in workloads, but it may make sense to partition the
history table if you intend to run a custom benchmark that
includes reading specific accounts from the history table.
Partitioning by date range as you suggest [1] makes sense as well.

Maybe It will be good to provide more flexibility around which
tables to partition and the partition key(s) for the pgbench schema so
to benchmark different partition strategies.

[1] https://www.postgresql.org/message-id/CAAKRu_Zo8ST-Qk8VQ4KFkbMQcqJsQQz5r%2BYRRbecS3avgkoZhw%40mail.gmail.com

Regards,

Sami



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