Last active
August 18, 2021 07:14
-
-
Save kovid-r/1be0984ac96ae0f7403e2688a6e8737d to your computer and use it in GitHub Desktop.
Install TSBS, QuestDB (Docker), and TimescaleDB (Docker) for TSBS Benchmarking.
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
# TSBS - create a temporary directory for the Go binaries | |
mkdir -p ~/tmp/go/src/github.com/timescale/ | |
cd ~/tmp/go/src/github.com/timescale/ | |
# Clone the TSBS repository, build test and install Go binaries: | |
git clone git@github.com:questdb/tsbs.git | |
cd ~/tmp/go/src/github.com/timescale/tsbs/ && git checkout questdb-tsbs-load-new | |
GOPATH=~/tmp/go go build -v ./... | |
GOPATH=~/tmp/go go test -v github.com/timescale/tsbs/cmd/tsbs_load_questdb | |
GOPATH=~/tmp/go go install -v ./... | |
# Start QuestDB in Docker | |
docker run -p 9000:9000 -p 9009:9009 questdb/questdb:6.0.4 | |
# Start TimescaleDB in Docker | |
docker run -d --name timescaledb -p 5432:5432 -e POSTGRES_PASSWORD=password timescale/timescaledb:latest-pg12 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment