Discussion:
[influxdb] How to update record in Influxdb 0.9
s***@redblink.com
2015-09-28 14:15:04 UTC
Permalink
Hi ,

I was trying to play with latest version after a year.

Just wondering , how we can update data points?

I fired below commnads and it just worked fine
INSERT cpu,host=serverB,region=us_west sequence_number=11111,value=0.73,browser="IE" 1443447407236000000
INSERT cpu,host=serverB,region=us_west sequence_number=11111,value=0.73,browser="FF" 1443447407236000000
But when i remobed one of the tag, it created new records. I was expecting it to just update record without touching host tag.
INSERT cpu,host=serverB,region=us_west sequence_number=11111,value=0.73,browser="IE" 1443447407236000000
INSERT cpu,region=us_west sequence_number=11111,value=0.73,browser="FF" 1443447407236000000
Also i don't find any reference to sequence_number in v.9 documentation?
--
Remember to include the InfluxDB version number with all issue reports
---
You received this message because you are subscribed to the Google Groups "InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at http://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/ea55f27c-c9c2-4305-bd6e-936a12205ca4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
d***@gmail.com
2018-01-03 02:17:49 UTC
Permalink
Just to clarify, you CAN update points in 0.9+ by writing a point with the same measurement names, tag set, and timestamp. Correct?
The behaviour you are seeing is by design -- you can't currently update points in the 0.9 version. Sequence numbers have also been removed and are not present in the 0.9 version.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/f2a92827-d08f-4581-9c12-b2d92179999c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...