Add --sampling-rate option to pgbench.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/pgbench/pgbench.c | modified | +43 −11 |
| doc/src/sgml/pgbench.sgml | modified | +24 −0 |