influxdb icon indicating copy to clipboard operation
influxdb copied to clipboard

[0.9.6.1] (Windows) Duplicated data

Open sjimenezbenito opened this issue 10 years ago • 10 comments

I have a Windows Service reading data from some sensors every second, aggregating this data every ten minutes and inserting it on InfluxDB.

Select.txt

It's a single node instance of InfluxDB v.0.9.6.1 (tsm1) compiled with Go v.1.4.3 running on a machine with Windows Server 2012 R2 and 32GB of RAM.

sjimenezbenito avatar Dec 30 '15 09:12 sjimenezbenito

@ikrush Is it the two lines indicated below? Any more details on the error you are seeing?

> select * from "f8d50d30-9e5a-e411-829e-d8d38581bc5d.10m" order by time desc limit 20
name: f8d50d30-9e5a-e411-829e-d8d38581bc5d.10m
----------------------------------------------
time                    avg     count   first   last    max     min     squaresum       stdev   sum             variance
1451466600000000000     15.9925 117     8.1144  13.7592 29.2824 6.7032  167090.0761     4.7457  9603.7338       22.5216
1451466000000000000     15.6254 113     17.64   8.1144  29.6352 5.6448  159012.6939     4.5069  9396.1472       20.3125
1451465400000000000     16.5202 114     13.4064 17.64   30.6936 6.3504  175885.0223     4.3943  9944.2465       19.3102
1451464800000000000     17.644  115     10.2312 13.4064 36.6912 8.1144  203661.8494     5.206   10619.8493      27.1019
1451464200000000000     15.5489 117     25.0488 10.2312 28.224  6.7032  161511.5477     5.1692  9355.123        26.7205
1451463600000000000     17.9257 114     26.46   25.0488 31.3992 7.056   212447.3403     5.5489  10816.7705      30.7908
1451463000000000000     18.686  116     22.932  26.46   32.1048 9.5256  223306.698      4.7585  11223.8309      22.6431
1451462400000000000     16.469  117     15.1704 22.932  29.2824 5.6448  176143.1415     4.5082  9951.0263       20.3242
1451461800000000000     17.0873 113     18.6984 15.1704 30.3408 6.3504  192119.4372     5.1316  10314.7012      26.3329
-
1451461200000000000     15.5943 117     18.6984 18.6984 24.696  7.056   154864.714      3.5665  9438.0294       12.7197
1451461200000000000     15.5943 117     18.6984 18.6984 24.696  7.056   154864.714      3.5665  9438.0294       12.7197
-
1451460600000000000     14.6127 115     18.3456 18.6984 26.8128 7.4088  136467.6115     3.7334  8767.625        13.938
1451460000000000000     15.9732 116     22.2264 18.3456 26.1072 7.4088  163973.4192     4.2632  9583.9467       18.1748
1451459400000000000     14.7951 118     15.5232 22.2264 25.7544 8.82    137743.3617     3.2704  8877.0467       10.6958
1451458800000000000     15.1989 113     14.112  15.5232 25.7544 5.6448  147548.8077     3.8643  9119.3466       14.9327
1451458200000000000     12.0778 115     13.7592 14.112  20.4624 5.9976  93688.4595      3.2081  7246.6699       10.2917
1451457600000000000     13.8783 114     17.64   13.7592 23.6376 5.9976  122337.8335     3.3628  8326.966        11.3087
1451457000000000000     11.8698 114     13.7592 17.64   22.932  4.9392  93255.4043      3.8155  7121.8757       14.558
1451456400000000000     11.5193 116     10.2312 13.7592 23.2848 5.292   85788.9802      3.2102  6911.5533       10.3056
1451455800000000000     13.4945 114     10.9368 10.2312 25.4016 6.3504  120573.8307     4.3459  8096.688        18.8869

jackzampolin avatar Dec 30 '15 17:12 jackzampolin

Yes, I have two points with the same timestamp and values for the same metric. Is that possible? In theory I inserted only one point.

sjimenezbenito avatar Dec 30 '15 17:12 sjimenezbenito

@jwilder @pauldix is it possible to have duplicate points with tsm?

beckettsean avatar Dec 30 '15 20:12 beckettsean

@beckettsean shouldn't be, although there were some fixes in #5221, which would be in the latest nightly build.

@ikrush: What's the output if you do

SHOW SERIES from "f8d50d30-9e5a-e411-829e-d8d38581bc5d.10m"

pauldix avatar Dec 30 '15 20:12 pauldix

SHOW SERIES from "f8d50d30-9e5a-e411-829e-d8d38581bc5d.10m"

name: f8d50d30-9e5a-e411-829e-d8d38581bc5d.10m

_key f8d50d30-9e5a-e411-829e-d8d38581bc5d.10m

sjimenezbenito avatar Dec 30 '15 21:12 sjimenezbenito

I have loaded some historical data (10k million of points 650GB aprox.) three days ago before starting to insert realtime data. I got also a panic error #5244 on this instance. The system was pretty solid during the last week.

sjimenezbenito avatar Dec 30 '15 21:12 sjimenezbenito

TSM on Windows is not currently working. Even though it compiles, the tests suite fails so it will fail in various ways. I'd suggest running TSM on a linux based host for now.

jwilder avatar Jan 04 '16 16:01 jwilder

Thank you, in that case I will use BZ1 engine for now.

sjimenezbenito avatar Jan 08 '16 09:01 sjimenezbenito

Closing this since windows is not supported for TSM engine currently.

jwilder avatar Jan 08 '16 16:01 jwilder

Thank you. If you want help testing InfluxDB + TSM on Windows I could help you. I'm reading signals from +90.000 sensors on a Windows platform.

sjimenezbenito avatar Jan 14 '16 11:01 sjimenezbenito