timescale / tsbs

Time Series Benchmark Suite, a tool for comparing and evaluating databases for time series data
MIT License
1.26k stars 297 forks source link

SiriDB run_queries: Cannot find group or tag 'host_639'. #205

Closed km-134 closed 2 years ago

km-134 commented 2 years ago

Hi, I am trying to run the TSBS against SiriDB 2.0.44. When i tried to run the queries on the database i got the error: Cannot find group or tag 'host_639'. In the logs of SiriDB i got the errors: (CPROTO_ERR_QUERY) Cannot find group or tag 'host_249' (CPROTO_ERR_QUERY) Cannot find group or tag 'host_639' (CPROTO_ERR_QUERY) Cannot find group or tag 'host_435' (CPROTO_ERR_QUERY) Cannot find group or tag 'host_815'

This can be reproduced with the following commands:

./tsbs_generate_queries --queries 2000 --query-type single-groupby-1-1-1 --scale 1000 --seed 123 --timestamp-start 2022-01-01T00:00:00Z --timestamp-end 2022-01-02T00:00:00Z --use-case cpu-only --format siridb --file /tmp/queries ./tsbs_generate_data --initial-scale 1 --scale 10 --seed 123 --timestamp-start 2022-01-01T00:00:00Z --timestamp-end 2022-01-02T00:00:00Z --use-case cpu-only --format siridb --file /tmp/data ./tsbs_load_siridb --hosts 172.17.0.2:9000 --db-name benchmark --dbpass siri --dbuser iris --batch-size 1000 --do-abort-on-exist true --insert-intervals 1,2 --seed 123 --workers 2 --file /tmp/data ./tsbs_run_queries_siridb --hosts 172.17.0.2:9000 --db-name benchmark --dbpass siri --dbuser iris --burn-in 0 --print-interval 100 --workers 4 --file /tmp/queries

Any help on how to fix this would be appreciated. @antekresic @AnjaBruls

filipecosta90 commented 2 years ago

@km-134 you're generating data for 10 hosts, and queries form 1000 hosts. fixing the --scale arg should solve it

km-134 commented 2 years ago

Thank you for the fast reply, that solved my problem.