Created
January 28, 2019 16:30
-
-
Save saurabhnanda/78e8523cf079ce7b78704acb1aa8d9fc to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
PGPASSWORD="benchmarking" pgbench \ | |
--initialize \ | |
--init-steps=dtgpf \ | |
--scale=2000 \ | |
--host=$IPADDRESS \ | |
--username=benchmarking | |
for script in tpcb-like; do | |
for client in 1 4 8 12 ; do | |
for i in 1 2 3; do | |
echo "====================================" >> output-$script-$client.txt | |
echo "run=$i | script=$script | client=$client" >> output-$script-$client.txt | |
PGPASSWORD="benchmarking" pgbench \ | |
--builtin=$script \ | |
--client=$client \ | |
--jobs=6 \ | |
--time=600 \ | |
--host=$IPADDRESS \ | |
--username=benchmarking >> output-$script-$client.txt | |
done | |
done | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment