Difference between revisions of "InfluxDB"
Jump to navigation
Jump to search
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Linux installation: | Linux installation: | ||
− | * <code>apt install influxdb</code> | + | * <code>[[apt install influxdb]]</code> |
* <code>apt install influxdb-client</code>, provide <code>[[influx]]</code> client binary | * <code>apt install influxdb-client</code>, provide <code>[[influx]]</code> client binary | ||
Line 10: | Line 10: | ||
Configuration: | Configuration: | ||
* <code>[[/etc/influxdb/influxdb.conf]]</code> | * <code>[[/etc/influxdb/influxdb.conf]]</code> | ||
+ | * <code>[[~/brew/Cellar/influxdb/2.7.5/config.yml]]</code> | ||
Status: | Status: | ||
Line 23: | Line 24: | ||
== Retention policy == | == 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. | + | 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. ([[/etc/influxdb/influxdb.conf]]) |
== Related terms == | == Related terms == | ||
Line 35: | Line 36: | ||
== See also == | == See also == | ||
+ | * {{influx}} | ||
* {{InfluxDB}} | * {{InfluxDB}} | ||
* {{TSDB}} | * {{TSDB}} |
Latest revision as of 09:48, 14 March 2024
wikipedia:InfluxDB (2013, go) open source TSDB. InfluxDB has no external dependencies and provides an SQL-like language, listening on port 8086.
Linux installation:
apt install influxdb
apt install influxdb-client
, provideinflux
client binary
MacOS installation:
Configuration:
Status:
systemctl status influxdb
systemctl stop influxdb
Help:
Line protocol[edit]
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[edit]
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. (/etc/influxdb/influxdb.conf)
Related terms[edit]
See also[edit]
influx [ ping | --help ]
- 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: