Quentin Smith
07/14/2026, 3:46 AMQuentin Smith
07/14/2026, 3:49 AMsudo -u influxdb2 influxd inspect export-lp --bucket-id 53a349a12da3bc3e --engine-path /var/lib/influxdb2/engine/ --output-path - | split -l 100000 -d -a 10 --filter='curl --fail-with-body -i --retry 3 -H @auth.header -X POST "<https://greptimedb.isz.wtf/v1/influxdb/write?db=profinet>" --data-binary @- && sleep .1'
This avoids any temporary files and directly invokes curl for each chunk. (I also reduced the sleep from 1s to 0.1s to slightly improve the speed.)Quentin Smith
07/14/2026, 3:51 AMQuentin Smith
07/14/2026, 3:52 AMQuentin Smith
07/14/2026, 3:56 AMmerge_mode.Quentin Smith
07/14/2026, 3:57 AMwatch -cd "cat \$(ls -t /var/lib/greptimedb/data/data/greptime/profinet/1052/1052_0000000000/manifest/*.checkpoint | head -1) | jq -C -c '[.checkpoint.files[] | [((.time_range[].value/1000000000) | todateiso8601), .level, .file_id, .num_rows]] | sort | .[]'"Quentin Smith
07/14/2026, 4:01 AMQuentin Smith
07/14/2026, 4:01 AMQuentin Smith
07/14/2026, 4:03 AMQuentin Smith
07/14/2026, 4:03 AMevenyag
07/14/2026, 5:07 AMQuentin Smith
07/14/2026, 5:38 AMexport-lp already exports the data chronologically, although it's grouped by ~week instead of by day.evenyag
07/14/2026, 8:12 AMQuery performance does seem to be a bit slower than InfluxDB 2.0. Equivalent queries on the same data seem to be anywhere from 25% to ~5x slower.For these queries, you can share the flux query, corresponding SQL and result of
explain analyze verbose in a discussion.
It’s possible to further improve the query performance if there are some obvious bottlenecks.
For other points, issues are also welcome.Quentin Smith
07/14/2026, 4:38 PMQuentin Smith
07/15/2026, 6:15 AM