Sign inSign up

mattdevdba/pgbench

By mattdevdba

•Updated almost 4 years ago

pgbench

Image
0

2.6K

mattdevdba/pgbench repository overview

⁠Docker Container With pgBench

pgbench is a simple program for running benchmark tests on PostgreSQL.

https://www.postgresql.org/docs/10/pgbench.html⁠

⁠Build

docker build -t mattdevdba/pgbench .

⁠Vairables

See env.list and ensure the correct values are set for your database before running

⁠Initialize

docker run -it --env-file ./env.list mattdevdba/pgbench pgbench -i

⁠Run Example - 10k Transactions, 10 Clients, 10 Threads

docker run -it --env-file ./env.list mattdevdba/pgbench pgbench -c 10 -j 10 -t 10000

⁠Docker Hub

https://hub.docker.com/r/mattdevdba/pgbench⁠

Tag summary

Content type

Image

Digest

sha256:850d005a9…

Size

3.4 MB

Last updated

almost 4 years ago

docker pull mattdevdba/pgbench