simnv

Results comments of simnv

Sorry for delay. Retention policies: ``` > SHOW RETENTION POLICIES name duration shardGroupDuration replicaN default ---- -------- ------------------ -------- ------- autogen 0s 168h0m0s 1 true sensors 35616h0m0s 168h0m0s 1 false...

I don't have any errors in influxd log, but look at the frequency of those cqs: ``` [user@db influxdb]$ grep cq_telegraf influxd.log | awk '{ print $2 }' | sort...

`SHOW STATS` and `SHOW DIAGNOSTICS`: https://gist.github.com/simnv/76326957cf19dd15c093e77f85215097

Increased `group by` to 5 minutes, didn't help much: ``` > SHOW CONTINUOUS QUERIES name: telegraf name query ---- ----- cq_telegraf_sensors CREATE CONTINUOUS QUERY cq_telegraf_sensors ON telegraf BEGIN SELECT mean(entSensorValue)...

Maybe this will help: I have another db and additional cqs on the same influxdb installation. Full `SHOW CONTINUOUS QUERIES`: ``` > SHOW CONTINUOUS QUERIES name: opentsdb name query ----...

``` [user@db influxdb]$ influx -database _internal -execute "select * from cq where time > now() - 10m" name: cq time hostname queryFail queryOk ---- -------- --------- ------- 1488822960000000000 db.local 3...

cq time stats: ``` [user@db influxdb]$ egrep ' finished .*continuous_querier$' influxd.log | awk '{ print $2, $6, $17 }' | tail -20 | column -t 2017-03-06T17:34:52Z cq_telegraf_sensors 43.516106ms 2017-03-06T17:34:52Z cq_telegraf_t_minus...

So cqs are executed sequentially? That's some news for me.

So if I would have some heavy continuous query that goes for an hour or two, all other CQs will be halted until that one is finished. That's quite inconvenient....

> I could not find a similar solution with telegraf, it might be in the same situation as loki: [influxdata/telegraf#4525](https://github.com/influxdata/telegraf/issues/4525) @Jacq Check [influxdata/telegraf#8000](https://github.com/influxdata/telegraf/pull/8000)