Alexey Kopytov's excellent benchmarking tool compiled for PostgreSQL
349
Author: David Bennett - david . bennett at percona . com
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
Content type
Image
Digest
Size
203.4 MB
Last updated
almost 9 years ago
docker pull dbpercona/postgres_sysbench