This repo fork from influxdata/influx-stress. Change to stress test on influxdb and mysql/postgress, and do some comparision.
Building dbstress
requires the Golang toolchain. If you do not have the Golang toolchain installed
please follow the instructions golang.org/doc/install
go get -v github.com/deltacat/dbstress/...
try --help
Before first launch, please rename sample configure file (dbstress.sample.toml) to dbstress.toml, then make some necessary change according to your environment setting.
Runs forever
dbstress insert
Runs forever writing as fast as possible
dbstress insert -f
Runs for 1 minute writing as fast as possible
dbstress insert -r 1m -f
Writing an example series key with 20,000 series
dbstress insert -s 20000