Re: [HACKERS] pgbench: faster version of tpcb-like transaction - Mailing list pgsql-hackers

From Fabien COELHO
Subject Re: [HACKERS] pgbench: faster version of tpcb-like transaction
Date
Msg-id alpine.DEB.2.20.1708270736130.18068@lancre
Whole thread Raw
In response to [HACKERS] pgbench: faster version of tpcb-like transaction  (Jeff Janes <jeff.janes@gmail.com>)
List 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.



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] pgbench: faster version of tpcb-like transaction
Next
From: Fabien COELHO
Date:
Subject: Re: [HACKERS] pgbench: faster version of tpcb-like transaction