View
103
Download
1
Category
Tags:
Preview:
Citation preview
Example from metrics:
10 hosts
100 measurements per host
8640 per day (once every 10s)
365 days
= 3,153,600,000 records per year
Let's summarize... 8 opensource time series DBs listed onWikipedia
6 built on top of Cassandra, HBase, etc.
Let's summarize... 8 opensource time series DBs listed onWikipedia
6 built on top of Cassandra, HBase, etc.
2 no longer maintained
Let's summarize... 8 opensource time series DBs listed onWikipedia
6 built on top of Cassandra, HBase, etc.
2 no longer maintained
0 built on top of SQLtype DBs
"Building an application with ananalytics component today is like
building a web application in 1998.
You spend months buildinginfrastructure before getting to the
actual thing you want to build."
--Paul Dix | InfluxDB CEO
Analytics and monitoring should beabout analyzing and interpretingdata, not the infrastructure to store
and process it.
InfluxDB time series database
no external dependencies
distributed & scalable
easy to install, use, & maintain
InfluxDB time series database
no external dependencies
distributed & scalable
easy to install, use, & maintain
open source (MIT license)
InfluxDB time series database
no external dependencies
distributed & scalable
easy to install, use, & maintain
open source (MIT license)
written in Go
influxd
country ='DEU'
region ='west'
+
series = measurement + unique tag set
OR
country ='DEU'
region ='east'
+
influxd
country ='DEU'
region ='east'
+
Points: values in a series
time value2015-04-22 5:00 PM2015-04-22 5:01 PM
10,020,0
country ='USA'
region ='east'
+time value2015-04-22 5:00 PM2015-04-22 5:01 PM
14,038,0
Continuous Queries downsample or aggregate on the fly
saved in the database
rerun periodically
great for expensive queries
Writing data{ "database": "mydb", "retentionPolicy": "default", "points": [ { "name": "cpu_load_short", "tags": { "host": "server01", "region": "us-west" }, "timestamp": "2009-11-10T23:00:00Z", "fields": { "value": 0.64 } } ]}
Querying
SELECT value FROM cpu_load_short WHERE region='us-west'
{ "results": [ { "series": [ { "name": "cpu_load_short", "tags": { "host": "server01", "region": "us-west" }, "columns": [ "time", "value" ], "values": [ [ "2015-01-29T21:51:28.968422294Z", 0.64 ] ] } ] } ]}
Recommended