pgo_benchmark

pgo benchmark

Perform a pgBench benchmark against clusters

Synopsis

Benchmark run pgBench against PostgreSQL clusters, for example:

pgo benchmark mycluster

pgo benchmark [flags]

Options

  -b, --benchmark-opts string   The extra flags passed to pgBench during the benchmark.
  -c, --clients int             The number of clients to be used in the benchmark. (default 1)
  -d, --database string         The database where the benchmark should be run. (default "postgres")
  -h, --help                    help for benchmark
  -i, --init-opts string        The extra flags passed to pgBench during the initialization of the benchmark.
  -j, --jobs int                The number of worker threads to use for the benchmark. (default 1)
  -p, --policy string           The name of the policy specifying custom transaction SQL for advanced benchmarking.
      --scale int               The number to scale the amount of rows generated for the benchmark. (default 1)
  -s, --selector string         The selector to use for cluster filtering.
  -t, --transactions int        The number of transaction each client should run in the benchmark. (default 1)

Options inherited from parent commands

      --apiserver-url string     The URL for the PostgreSQL Operator apiserver.
      --debug                    Enable debugging when true.
  -n, --namespace string         The namespace to use for pgo requests.
      --pgo-ca-cert string       The CA Certificate file path for authenticating to the PostgreSQL Operator apiserver.
      --pgo-client-cert string   The Client Certificate file path for authenticating to the PostgreSQL Operator apiserver.
      --pgo-client-key string    The Client Key file path for authenticating to the PostgreSQL Operator apiserver.

SEE ALSO

  • pgo - The pgo command line interface.
Auto generated by spf13/cobra on 3-Jun-2019