pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add --sampling-rate option to pgbench.
Date: Wed, 03 Oct 2012 12:49:33 +0000
Message-ID: <E1TJOOL-0007hB-EX@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1TJOOL-0007hB-EX@gemulon.postgresql.org>
Permalink:  ../E1TJOOL-0007hB-EX@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1TJOOL-0007hB-EX@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Add --sampling-rate option to pgbench.
  In-Reply-To: <E1TJOOL-0007hB-EX@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox