Re: pgbench: faster version of tpcb-like transaction

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgbench: faster version of tpcb-like transaction
Date: 2017-08-27 05:45:21
Message-ID: alpine.DEB.2.20.1708270736130.18068@lancre
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hello,

> If all the data is in memory and you have a system with fast fsyncs (or
> are running with fsync off, or unlogged tables, or synchronous_commit
> off), then the big bottleneck in pgbench is the amount of back and forth
> between the pgbench program and the backend.

Sure. The throughput of a benchmark depends on a bottleneck which may be
disk ios, cpu, network, load... depending on the test conditions.

I tested quite a few variants for my PgDay Paris 2017 talk, including PL
functions, see https://wiki.postgresql.org/wiki/PgDay_Paris_2017.

--
Fabien.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2017-08-27 06:09:22 Re: pgbench: faster version of tpcb-like transaction
Previous Message Tom Lane 2017-08-27 03:16:02 Re: pgbench: faster version of tpcb-like transaction