projects:internetofthings:influxdb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:internetofthings:influxdb [2019/04/03 08:37] – [influxdb] scipioprojects:internetofthings:influxdb [2019/09/24 11:07] (current) – [influxdb] scipio
Line 29: Line 29:
  
  
 +</code>
 +
 +select
 +<code>
 +influx -database test -execute 'select * from "mctc.veicoli.get" order by time desc limit 10'
 </code> </code>
  
Line 51: Line 56:
 retention retention
 <code> <code>
-CREATE RETENTION POLICY "a_year" ON "test" DURATION 52w REPLICATION 1+CREATE RETENTION POLICY "a_year" ON "test" DURATION 52w REPLICATION 1 SHARD DURATION 168h 
 +CREATE RETENTION POLICY "a_week" ON "test" DURATION 168h REPLICATION 1 SHARD DURATION 24h DEFAULT
 </code> </code>
 ====== grafana ====== ====== grafana ======
  • projects/internetofthings/influxdb.1554273427.txt.gz
  • Last modified: 2019/04/03 08:37
  • by scipio