Add --sampling-rate option to pgbench.
This allows logging only some fraction of transactions, greatly reducing
the amount of log generated.
Tomas Vondra, reviewed by Robert Haas and Jeff Janes.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/e1be1df51facd3c25317c809fd72ecac8b93b4e7
Modified Files
--------------
contrib/pgbench/pgbench.c | 54 +++++++++++++++++++++++++++++++++++---------
doc/src/sgml/pgbench.sgml | 24 ++++++++++++++++++++
2 files changed, 67 insertions(+), 11 deletions(-)