Reputation: 1
I'm currently using TDengine and Python to store time-series data.
I tried Python connector.
conn = taos.connect()
conn.execute(“…”)
It’s OK. However, the performance is not very good. Does TDengine Python connector support executemany
and binding parameters?
Or is there another way to improve performance?
Upvotes: 0
Views: 63
Reputation: 534
Article on improving the performance of data writing into TDengine.
Appears a combination of batch writes and multi-thread parallel writing with certain limits can improve speed but that will depend on your run environment.
Before you do anything I'd put some decent profiling in place so you know if you're getting improvements.
Edit: Also section from TDengine docs directly related to High Performance data writing.
Upvotes: 1