Re: help understanding pgbench results

From: Luca Ferrari <fluca1978(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: help understanding pgbench results
Date: 2019-07-15 06:30:21
Message-ID: CAKoxK+6mcRw3BAycEO9St5r_YsxxsEFkBAXrApm2F7qjbZtHWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jul 12, 2019 at 12:04 PM Luca Ferrari <fluca1978(at)gmail(dot)com> wrote:
> Since tables are unlogged, I was expecting no much difference in
> setting checkpoint_completion_target, but I got (average results):
> - checkpoint_completion_target = 0.1 ==> 755 tps
> - checkpoint_completation_target = 0.5 ==> 767 tps
> - checkpoint_completion_target = 0.9 ==> 681 tps
>

I've repeated the test with normal (logged) tables, same
configuration, and the results are:
- checkpoint_completion_target = 0.1 ==> 560 tps
- checkpoint_completion_target = 0.5 ==> 624 tps
- checkpoint_completion_target = 0.9 ==> 619 tps

so here forcing I/O on checkpoints reduces the tps, as I would be
expecting. However I'm still unable to get an interpretation of the
unlogged table results.
That also makes me think it could these tests have no meaning at all.

Luca

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dirk Mika 2019-07-15 07:45:13 Re: How to run a task continuously in the background
Previous Message Adrian Klaver 2019-07-15 04:14:48 Re: how to execute pgsql2shp exe in sql