Best practices for writing data

This page documents an earlier version of InfluxDB. InfluxDB v2.7 is the latest stable version. View this page in the v2.7 documentation.

The following articles provide recommendations and best practices for writing data to InfluxDB.

Optimize writes to InfluxDB

Simple tips to optimize performance and system overhead when writing data to InfluxDB.

Handle duplicate data points

InfluxDB identifies unique data points by their measurement, tag set, and timestamp. This article discusses methods for preserving data from two points with a common measurement, tag set, and timestamp but a different field set.

InfluxDB schema design

Design your schema for simpler and more performant queries.

Resolve high series cardinality

Reduce high series cardinality in InfluxDB. If reads and writes to InfluxDB have started to slow down, you may have high cardinality. Find the source of high cardinality and adjust your schema to resolve high cardinality issues.