tsbs icon indicating copy to clipboard operation
tsbs copied to clipboard

tsbs_load_clickhouse: Import 100 devices but the tags table has 10,000 rows.

Open cocobond opened this issue 7 months ago • 0 comments

Test steps:

./tsbs_generate_data --use-case="cpu-only"
--format="clickhouse"
--log-interval="10s"
--scale=100
--timestamp-start="2024-01-01T00:00:00Z"
--timestamp-end="2024-02-01T00:00:00Z"
--file="ck_cpu_data_100_devices.csv"

生成100devices的预备导入数据 Image

After the import is complete, the tags table has 10,000 device IDs, of which the first 9,900 rows are imported incorrectly, and only the last 100 are valid device IDs (referring to the corresponding tags_id in the cpu table) Image

cocobond avatar May 18 '25 15:05 cocobond