TDengine
TDengine copied to clipboard
feat: add async insertion batching support
We implemented asynchronous insertion batching in taosc. When user submit an insert statement to taos_query_ra, the statement will be buffered asynchronously instead of executing it immediately. If the number of the buffered statements reach batchSize, all the buffered statements will be merged and sent to vnodes.
This feature will significantly improve the async insertion performance of small sql statement.