pgsql: Add --sampling-rate option to pgbench.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add --sampling-rate option to pgbench.
Date: 2012-10-03 12:49:33
Message-ID: E1TJOOL-0007hB-EX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2012-10-03 15:42:40 pgsql: REASSIGN OWNED: consider grants on tablespaces, too
Previous Message Heikki Linnakangas 2012-10-03 11:38:44 pgsql: Return the number of rows processed when COPY is executed throug