Re: pgbench with partitioned tables

From: Sami Imseih <samimseih(at)gmail(dot)com>
To: Sergey Tatarintsev <s(dot)tatarintsev(at)postgrespro(dot)ru>
Cc: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgbench with partitioned tables
Date: 2025-01-31 19:27:14
Message-ID: CAA5RZ0sONj-M5Skp=UCj2ZH6OPGSFpvU34Rmjpzy0YAnh51f=Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

pgbench_accounts is the only table that should grow to
the point where partitioning can benefit the tpcb-like
benchmark.

It looks like you have customized the pgbench
schema that partitions the other pgbench tables, so
you can use a custom script to initialize the data.

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.

Regards,

Sami
Amazon Web Services (AWS)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Antonin Houska 2025-01-31 20:02:47 Re: why there is not VACUUM FULL CONCURRENTLY?
Previous Message Tom Lane 2025-01-31 19:00:49 Re: Increase of maintenance_work_mem limit in 64-bit Windows