InfluxDB에서 필드 값이 아닌 WHERE tag='value'
조건을 기준으로 delete points을 사용할 수 있습니다. 이것은 가능하지InfluxDB 측정에서 원하지 않는 필드 값이있는 지점을 삭제합니다.
fields not supported in WHERE clause during deletion
InfluxDB에서 필드 값이 아닌 WHERE tag='value'
조건을 기준으로 delete points을 사용할 수 있습니다. 이것은 가능하지InfluxDB 측정에서 원하지 않는 필드 값이있는 지점을 삭제합니다.
fields not supported in WHERE clause during deletion
: 실수로 긍정적 인 수레 (예 : CPU 사용률)의 일련의 -1의 값을 측정을 저장 한 경우
예를 들어, DELETE FROM metrics WHERE cpu=-1
이 오류를 반환합니다 InfluxDB - ticket 참조.
같은 timestamp and tag set과 측정에 점을 삽입하여 다른 값으로 포인트를 덮어 쓸 수 있습니다 : 당신이 not supposed to insert nulls있어 이후
이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.
, 당신은 아마 이전의 값을 반복 할 것 전철기).
당신은 다음이 해당 태그에 대해 삭제를 실행, 같은 타임 스탬프 점을 삽입하고, 태그 중 하나에 고유 한 값을 설정하는 방법에 대한 생각는 :
DELETE FROM measurement WHERE some_existing_tag='deleteme'
하지만 이것은 작동하지 않습니다. 동일한 타임 스탬프를 사용하는 두 개의 포인트로 끝나고 그 중 하나는 deleteme
태그를가집니다.
InfluxDB가 2018 년 1 월 현재 이것을 지원하지 않는다고 생각하기가 어렵습니다. –