Re: pgbench stats per script & other stuff
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Date: 2015-07-21T21:31:22Z
Lists: pgsql-hackers
On Tue, Jul 21, 2015 at 12:29 PM, Fabien COELHO <coelho@cri.ensmp.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
Commits
-
pgbench: Allow changing weights for scripts
- 7bafffea647e 9.6.0 landed