Difference between revisions of "InfluxDB"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 18: | Line 18: | ||
InfluxDB accepts data via HTTP, TCP, and UDP. It defines a line protocol backwards compatible with [[Graphite]] and takes the form: | InfluxDB accepts data via HTTP, TCP, and UDP. It defines a line protocol backwards compatible with [[Graphite]] and takes the form: | ||
:<code>measurement(,tag_key=tag_val)* field_key=field_val(,field_key_n=field_value_n)* (nanoseconds-timestamp)?</code> | :<code>measurement(,tag_key=tag_val)* field_key=field_val(,field_key_n=field_value_n)* (nanoseconds-timestamp)?</code> | ||
+ | |||
+ | == Retention policy == | ||
+ | When you create a database, InfluxDB creates a retention policy called <code>autogen</code> with an infinite duration, a [[replication]] factor set to one, and a [[shard group]] duration set to seven days. | ||
== Related terms == | == Related terms == |
Revision as of 07:22, 18 April 2021
wikipedia:InfluxDB (2013, go) open source TSDB. InfluxDB has no external dependencies[7] and provides an SQL-like language, listening on port 8086.
Installation:
apt install influxdb
apt install influxdb-client
, provideinflux
client binary
Configuration:
Status:
systemctl status influxdb
systemctl stop influxdb
Help:
Line protocol
InfluxDB accepts data via HTTP, TCP, and UDP. It defines a line protocol backwards compatible with Graphite and takes the form:
measurement(,tag_key=tag_val)* field_key=field_val(,field_key_n=field_value_n)* (nanoseconds-timestamp)?
Retention policy
When you create a database, InfluxDB creates a retention policy called autogen
with an infinite duration, a replication factor set to one, and a shard group duration set to seven days.
Related terms
See also
- InfluxDB,
/etc/influxdb/influxdb.conf
, DDL, DML,Influx
,influx --help
,/var/lib/influxdb/
,/etc/influxdb/influxdb.conf
- TSDB: Prometheus, InfluxDB, RRDtool, Graphite, Telegraf, OpenTSDB, TimescaleDB,
tsdbadmin
- Databases: Database management, SQL, NoSQL, Wide column, PostgreSQL, MariaDB, MySQL, Derby DB, MongoDB, Cassandra, SQLite, HSQL2, H2, RocksDB, Microsoft SQL Server, DB2, Oracle Database, Memcached, Berkeley DB, Collation, SingleStore, Amazon Aurora, Graph database, Amazon DynamoDB, PrestoDB, Cache hit ratio, ACID, WAL, ARIES, DBMS, OLTP, OLAP, Database Schema, CockroachDB, Tables, Views, Apache Druid, RDMS
Advertising: