O'Reilly logo

PostgreSQL 9.0 High Performance by Gregory Smith

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Graphing results with pgbench-tools

Running a full, thorough pgbench evaluation of a server takes several days of system runtime. Starting with PostgreSQL 8.3, the pgbench-tools program available from http://git.postgresql.org/gitweb?p=pgbench-tools.git, allows for automating multiple runs of pgbench, including production of graphs showing the results. Earlier PostgreSQL versions did not save all of the needed information to allow for graphing results over time.

On a system that supports running the git version control software, you can retrieve the source code like this:

$ git clone git://git.postgresql.org/git/pgbench-tools.git
$ cd pgbench-tools/

If you're on a database server that doesn't support running git, you may need to run the above on ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required