pgsql: Add --sampling-rate option to pgbench. - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Add --sampling-rate option to pgbench.
Date
Msg-id E1TJOOL-0007hB-EX@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Return the number of rows processed when COPY is executed throug
Next
From: Alvaro Herrera
Date:
Subject: pgsql: REASSIGN OWNED: consider grants on tablespaces, too