I’m trying to delete a large number of time series tables in batches using Apache IoTDB (version 1.2.2). My current approach involves calling the method void deleteTimeseries(List<String> paths)
. However, after deleting around 1 million time series and continuing deletion in batches of 500 each time, I encountered an issue.
The IoTDB server consistently throws warnings about insufficient memory for compaction tasks:
No enough memory for current compaction task
Additionally, the data write speed has significantly decreased.
Is there an efficient way to delete large numbers of time series tables in Apache IoTDB while avoiding these memory issues? Any recommendations or best practices would be greatly appreciated.
孤岛的鲸 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.