Forrest logo
back to context overview

pgbench

List of commands for pgbench:

  • pgbench:tldr:79286 pgbench: Initialize a database with a scale factor of 50 times the default size.
    $ pgbench --initialize --scale=${50} ${database_name}
    try on your machine
    explain this command
  • pgbench:tldr:cfc33 pgbench: Benchmark a database with 10 clients, 2 worker threads, and 10,000 transactions per client.
    $ pgbench --client=${10} --jobs=${2} --transactions=${10000} ${database_name}
    try on your machine
    explain this command
back to context overview