Skip to content

Custom Benchmark for TimescaleDB

License

Notifications You must be signed in to change notification settings

mogarg/timescale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages