2 Star 0 Fork 0

mirrors_EnterpriseDB/benchmarking-postgres

Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
run_tests 1.06 KB
Copy Edit Raw Blame History
Kuntal Ghosh authored 2020-02-04 15:42 +08:00 . HammerDB Test details
#!/bin/bash
#set postgres and hammerdb paths
export PGINST=/usr/pgsql-10/
export HDBINST=/mnt/data-ssd2/kuntal.ghosh/HammerDB-3.2/
# Template to run hammaer db tests
# You can add postgresql parameters here
read -r -d '' VAR << EOM
# Add postgresql parameters here
shared_buffers = 100GB
max_connections = 1000
min_wal_size = 20GB
max_wal_size = 100GB
checkpoint_timeout = 900
maintenance_work_mem = 1GB
checkpoint_completion_target = 0.9
effective_io_concurrency = 200
synchronous_commit = on
log_checkpoints = on
wal_compression = on
EOM
export PG_OPTIONS=$VAR
cd HammerDB
./run_hammerdb
cd ..
# Template to run pgbench tests
# You can add postgresql parameters here
read -r -d '' VAR << EOM
# Add postgresql parameters here
shared_buffers = 100GB
max_connections = 1000
min_wal_size = 20GB
max_wal_size = 100GB
checkpoint_timeout = 900
maintenance_work_mem = 1GB
checkpoint_completion_target = 0.9
effective_io_concurrency = 200
synchronous_commit = on
log_checkpoints = on
wal_compression = on
EOM
export PG_OPTIONS=$VAR
cd PGBench
#./run_pgbench
cd ..
#Add more tests here
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_EnterpriseDB/benchmarking-postgres.git
git@gitee.com:mirrors_EnterpriseDB/benchmarking-postgres.git
mirrors_EnterpriseDB
benchmarking-postgres
benchmarking-postgres
master

Search