Sign inSign up

dbpercona/postgres_sysbench

By dbpercona

•Updated almost 9 years ago

Alexey Kopytov's excellent benchmarking tool compiled for PostgreSQL

Image
0

349

dbpercona/postgres_sysbench repository overview

⁠Sysbench compiled for PostgreSQL

Author: David Bennett - david . bennett at percona . com

⁠Quickstart

Run a postgres instance:


docker run -d -it \
  --name postgres \
  -e POSTGRES_PASSWORD=password postgres

Run sysbench oltp_read_write with 4 threads for 60 seconds:


docker run -ti \
  --net=container:postgres \
  --name postgres_sysbench \
  -e PGPASSWORD=password \
  -e SYSBENCH_THREADS=4 \
  -e SYSBENCH_TIME=60 \
  dbpercona/postgres_sysbench:latest ./run_sysbench.sh

Take a look at run_sysbench.sh for other variables you can pass.

You can also download the Dockerfile⁠ from github

Tag summary

Content type

Image

Digest

Size

203.4 MB

Last updated

almost 9 years ago

docker pull dbpercona/postgres_sysbench