Re: wal_log_hints benchmarks

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Fabio Pardi <f(dot)pardi(at)portavita(dot)eu>
Cc: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: wal_log_hints benchmarks
Date: 2019-06-17 02:01:07
Message-ID: 20190617020107.GF3153@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Fri, Jun 14, 2019 at 03:46:30PM +0200, Fabio Pardi wrote:
> Maybe of some interest for the past, present and future community, I
> benchmarked the impact of wal_log_hints with and without wal_compression
> enabled.

pgbench data is rather compressible per the format of its attributes,
hence I am ready to bet that the compressibility would much much less
if you use random text data for example.

The amount of WAL generated also depends on the time it takes to run a
transactions, and on the checkpoint timing, so I think that would you
get better results by using a fixed number of transactions if you use
pgbench, but that won't compare as much as a given workload in one
session so as you can make sure that the same amount of WAL and full
pages get generated.
--
Michael

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Fabio Pardi 2019-06-17 07:53:13 Re: wal_log_hints benchmarks
Previous Message Stephen Frost 2019-06-14 16:16:52 Re: Fwd: upgrade to PG11 on secondary fails (no initdb was launched)