mogarg / timescale

Custom Benchmark for TimescaleDB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Benchmarking

A tool for benchmarking TimeScaleDB

Benchmarks takes the number of workers and a .csv file (.csv removed) with format "hostname, start_time, end_time" (header included) to generate and benchmark query run time. Queries are allotted to workers based on hostnames (no two workers share queries that touch the same hostnames).

Build and Usage

Set up PostgreSql server.

go get github.com/mogarg/timescale

./benchmark -numWorkers 10 -file query_params

Further Additions

  • Testing
  • Generating queries on the fly (currently uses a base query)
  • Balanced Scheduling: Alot next hostname to some worker with the least amount of pending queries to run (could be useful for bigger workloads.
  • More stats by percentiles.
  • Any architectural changes suggested.
  • Better errors handling if some queries fail.

About

Custom Benchmark for TimescaleDB

License:GNU General Public License v3.0


Languages

Language:Go 100.0%