Hi @Kraui,
the best performance for importing file you will achieve by using synchronous writes with batches. The following example shows how to do it: import_data_set_sync_batching.py .
You can also improve this example by:
- increase batch size to
5_000
: influxdb-client-python/import_data_set_sync_batching.py at 4f1e14e4a01200b1a927e2ca470b3662fcb376fd · influxdata/influxdb-client-python · GitHub - produce
Line Protocol
instead ofPoint
to avoid underlaying type conversion: influxdb-client-python/import_data_set_sync_batching.py at 4f1e14e4a01200b1a927e2ca470b3662fcb376fd · influxdata/influxdb-client-python · GitHub
Regards