In a JAVA programming environment, you can use the to execute single or batch UPDATE statements.

    Update Single Timeseries

    Taking the power supply status of ln group wf02 plant wt02 device as an example, there exists such a usage scenario:

    After data access and analysis, it is found that the power supply status from 2017-11-01 15:54:00 to 2017-11-01 16:00:00 is true, but the actual power supply status is abnormal. You need to update the status to false during this period. The SQL statement for this operation is:

    When the updated path does not exist, IoTDB will give the corresponding error prompt as shown below:

    Data Deletion

    Users can delete data that meet the deletion condition in the specified timeseries by using the DELETE statement. When deleting data, users can select one or more timeseries paths, prefix paths, or paths with star to delete data before a certain time (version 0.8.2 does not support the deletion of data within a closed time interval).

    In a JAVA programming environment, you can use the to execute single or batch UPDATE statements.

    Delete Single Timeseries

    The wf02 plant’s wt02 device has many segments of errors in its power supply status before 2017-11-01 16:26:00, and the data cannot be analyzed correctly. The erroneous data affected the correlation analysis with other devices. At this point, the data before this time point needs to be deleted. The SQL statement for this operation is

    Delete Multiple Timeseries

    When both the power supply status and hardware version of the ln group wf02 plant wt02 device before 2017-11-01 16:26:00 need to be deleted, the prefix path with broader meaning or the path with star can be used to delete the data. The SQL statement for this operation is:

    or