timescale / tsbs

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

Report "data file in invalid format" when loading data #122

Open sunshinerxu opened 4 years ago

sunshinerxu commented 4 years ago

The data load program load_timescaledb.sh reports error information , then the process stops.

Environment: CPU:Intel(R) Xeon(R) CPU E5-2650 v4 @ 2.20GHz2 Memory:128GB Disk: 200GB SSD, 4TB HDD Network Interface:Intel 82599ES 10-Gigabit2 Docker Image: timescaledb:1.6.1-pg11 from Docker Hub

Script: NUM_WORKERS=40 BATCH_SIZE=10000 BULK_DATA_DIR=./tsdata ./go/src/github.com/timescale/tsbs/scripts/load_timescaledb.sh

Output: Bulk loading file ./tsdata/timescaledb-data.gz

The data file timescaledb-data.gz is 3-days data generated by the following command : $HOME/go/bin/tsbs_generate_data --use-case="iot" --seed=123 --scale=4000 --times tamp-start="2016-01-01T00:00:00Z" --timestamp-end="2016-01-04T00:00:00Z" --log-interval="10s" --format="timescaledb" | gzip > $HOME/tsdata/timescaledb-data.gz

Does anyone know how to solve this problem?