pgbench - extend initialization phase control
Fabien COELHO <coelho@cri.ensmp.fr>
From: Fabien COELHO <coelho@cri.ensmp.fr>
To: PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2019-04-06T16:31:11Z
Lists: pgsql-hackers
Attachments
- pgbench-init-extended-1.patch (text/x-diff) patch
Hello devs, the attached patch adds some more control on the initialization phase. In particular, ( and ) allow to begin/commit explicitely, and G generates the data server-side instead of client side, which might be a good idea depending on the available bandwidth. Together with the previously submitted patch about getting stats on the initialization phase, the idea is to possibly improve this phase, or use it as a benchmark tool in itself. -- Fabien.
Commits
-
Add query cancellation capabilities in pgbench init phase
- 1d468b9ad81b 13.0 landed
-
Add "G" (server-side data generation) as an initialization step in pgbench.
- a386942bd29b 13.0 landed