2016-09-25 38 views

回答

2

這是不可能的InfluxDB - 請參閱ticket

您可以通過在測量點插入具有相同timestamp and tag set覆蓋其他一些價值點:

A point is uniquely identified by the measurement name, tag set, and timestamp. If you submit a new point with the same measurement, tag set, and timestamp as an existing point, the field set becomes the union of the old field set and the new field set, where any ties go to the new field set. This is the intended behavior.

既然你not supposed to insert nulls,你可能會想從以前的重複值點(一個或多個)。

您不妨考慮一下插入點相同的時間戳,以及標籤中的一個設置一個唯一的值,然後運行刪除針對標籤:

DELETE FROM measurement WHERE some_existing_tag='deleteme' 

這雖然不會工作。最後會得到兩個具有相同時間戳的點,其中一個具有deleteme標記。

相關問題