Created
June 3, 2013 09:01
-
-
Save happyrobots/5696990 to your computer and use it in GitHub Desktop.
pgbench: comparing postgres and postgres+pgbouncer
http://opensourcedbms.com/dbms/setup-pgbouncer-connection-pooling-for-postgresql-on-centosredhatfedora/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
createdb pgbouncer_bench | |
pgbench -i -s 10 pgbouncer_bench | |
pgbench -c 10 -C -T 60 pgbouncer_bench | |
pgbench -c 80 -C -T 60 pgbouncer_bench | |
pgbench -c 10 -C -T 60 -p 6432 pgbouncer_bench | |
pgbench -c 80 -C -T 60 -p 6432 pgbouncer_bench |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment