Re: pgbench stats per script & other stuff - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pgbench stats per script & other stuff
Date
Msg-id CA+TgmoYQi7sPG+b_19Y4bn2wUPUujsSZ_qOF8nWZTrC1Pbqivg@mail.gmail.com
Whole thread Raw
In response to Re: pgbench stats per script & other stuff  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: pgbench stats per script & other stuff
List pgsql-hackers
On Tue, Jul 21, 2015 at 10:42 AM, Fabien COELHO <coelho@cri.ensmp.fr> wrote:
>>>   sh> ./pgbench -T 3 -B -N -w 2 -S -w 7 --per-script-stats
>>
>> That is a truly horrifying abuse of command-line arguments.  -1 from
>> me, or minus more than one if I've got that many chits to burn.
>
> Are you against the -w, or against saying that pgbench execute scripts,
> whether internal or from files?

I'm against the idea that we accept multiple arguments for scripts,
and that a subsequent -w modifies the meaning of the
script-specifiying argument already read.  That strikes me as a very
unintuitive interface.  I'm not sure exactly what would be better at
the moment, but I think we need something better.

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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: TABLESAMPLE patch is really in pretty sad shape
Next
From: Heikki Linnakangas
Date:
Subject: Re: Fillfactor for GIN indexes