Re: pgbench stats per script & other stuff

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pgbench stats per script & other stuff
Date: 2015-07-21 21:31:22
Message-ID: CA+TgmoZhBFjff7-uJ0aLxPbke82u8YyC5n_tVUfRpHctpVtbtg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Jul 21, 2015 at 12:29 PM, Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> wrote:
> Pgbench *currently* already accept multiple "-f ..." options, and this is a
> good thing to test realistic loads which may intermix several kind of
> transactions, say a lot of readonly and some update or insert, and very rare
> deletes...

Hmm, I didn't realize that. The code looks a bit inconsistent right
now - e.g. we do support multiple files, but pgbench's options-parsing
loop sets ttype to a value that depends only on the last of -f, -N,
and -S encountered.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2015-07-21 21:38:24 RFC: Allow materialized views to use unlogged data store
Previous Message Gavin Flower 2015-07-21 21:20:51 Re: Alpha2/Beta1