summaryrefslogtreecommitdiff
path: root/contrib/pgbench/README.pgbench
Commit message (Collapse)AuthorAgeFilesLines
* Apply patches from Neil Conway.Tatsuo Ishii2002-07-201-6/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > Hi Tatsuo, > > I've attached a patch for the version of pgbench in CVS. It includes the > following changes: > > - fix some spelling mistakes, indentation stuff, etc. > > - minor code cleanup -- (void) args instead of (), etc. > > - allocate the state array dynamically, so that it is only as > large as needed. This reduces the memory consumption of pgbench > slightly, and makes a larger MAXCLIENTS setting possible > > - (the only controversial change) add an option "-l" to log > transaction latencies to a file. The "transaction latency" > is the time between when the BEGIN is issued and the transaction > commits. This is written to a file, along with the client # > and the transaction #. The data in the file can then be used > for things like: > > - consistency analysis: is the TPS the same through the > entire run of pgbench, or does it change? > > - more detailed stats: what is the average latency, worse-case > latency, best-case latency? > > - graphs: feed the data to gnuplot, graph latency versus. time > > - etc. > > I was going to store this data in memory and write it to disk > at the end of the pgbench run, but that isn't feasible because > the data can be very large: for example, ~70MB if benchmarking > 128 clients doing 100,000 transactions each. > > Cheers, > > Neil
* Update docs about new -N optionTatsuo Ishii2002-05-201-8/+1
|
* Add -N option which disables updation of branches and tellers tables.Tatsuo Ishii2002-02-241-1/+8
| | | | | So there would be less contention with -N, that might be more realistic test.
* "time" is now a reserved keyword(changed to "mtime").Tatsuo Ishii2001-10-241-2/+5
|
* Add -U, -P, -C options. See README.pgbench for more details.Tatsuo Ishii2001-09-091-1/+18
|
* Update README's install instructions to agree with current reality.Tom Lane2001-02-161-9/+10
|
* Add missing /contrib filesBruce Momjian2000-06-191-0/+149