Company
Date Published
Author
Margo Schaedel
Word count
1962
Language
English
Hacker News points
None

Summary

InfluxDB is a time series database that uses shards, shard groups, and retention policies to manage its data. A shard group is a container for shards, which store the actual time series data. Retention policies determine how long data is stored in InfluxDB, with policies specifying an expiration date after which data is automatically dropped from the database. Shard groups are closely related to retention policies, as every data point must be associated with a database and retention policy. The open-source version of InfluxDB has a single node instance, making shard groups redundant, whereas the Enterprise version supports clustering and replication, allowing for multiple nodes and shards within shard groups. The replication factor determines how many copies of data are made, ensuring that data is evenly distributed across nodes in a cluster. Understanding these concepts can help simplify InfluxDB management and improve performance.