Re: [BUGS] pgbench -C -M prepared gives an error - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject Re: [BUGS] pgbench -C -M prepared gives an error
Date
Msg-id 20160318.075225.389580264244338997.t-ishii@sraoss.co.jp
Whole thread Raw
In response to Re: [BUGS] pgbench -C -M prepared gives an error  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> It's certainly a bug that the combination of the switches doesn't work,
> and I already fixed it (47211af17a).  My question was more towards
> whether -C is a useful benchmarking option at all.  I cannot imagine
> a situation in which, if someone said "I'm doing only one transaction per
> session, and I have a performance problem", I would not answer "yes,
> and you just explained why".

You could use -f option to execute multiple transactions in a session
using a custom script file.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Improve error handling in pltcl
Next
From: Tomas Vondra
Date:
Subject: Re: checkpointer continuous flushing