Replies: 1 comment
-
hmmm....Looks like using "taos" command line and generated SQL is a 1000 times faster. unfortunately, I cannot execute many commands in a single execute call :( too bad the python "taos" module doesn't work as expected - but that's another story. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I found the subtable creation very slow.
I have to handle 500K devices, maximum 10 types of data (different sets of attributes) for each.
I created 10 stables, one per datatype.
Then I started using it (insert data), but it was very slow, especially when I inserted only one value per subtable (device)
I thought I had to create the subtables before starting the inserts, but the creation is equally slow: 1000 device, one datatype takes 44 sec. I need 500K and 10 types, so the projected time just to create the tables is 152 hours.
It cannot be valid, I guess, but what shall I do differently?
I use python and the "ws" module, my data is like:
attribute sets are the same in this phase of the tests
The creation process is like (dt is the data type id):
What shall I do differently? I cannot use the engine this way
Beta Was this translation helpful? Give feedback.
All reactions