Last active
August 17, 2021 11:35
-
-
Save kovid-r/d8ce5d300c8fa94dcb3c80a5e67f2b41 to your computer and use it in GitHub Desktop.
Load a day's worth of data for 9 metrics collected over 200 devices. Use 8 parallel workers to load data.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Go to the following directory | |
cd ~/tmp/go/bin | |
# Create the a config file | |
./tsbs_load config --target=timescaledb --data-source=FILE | |
# Edit the config.yaml file | |
# 1. Change the source file name to /tmp/timescaledb-data | |
# 2. Change the password for TimescaleDB to password | |
# 3. Change the number of workers to 8 | |
./tsbs_load load timescaledb --config=./config.yaml | |
# Load data into QuestDB | |
./tsbs_load_questdb --file /tmp/questdb-data --workers 8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment