InfluxDB: Error: max-series-per-database limit (some data are not written)

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche

Error

"error":"partial write: max-series-per-database limit exceeded: (1000000) dropped=1"


Cause

The InfluxDB drops new series because the maximum number of series are exceed.


Solution

  • Change the InfluxDB data-settings max-series-per-database to 0 to allow unlimited series per database.

Example setting (influxdb.conf):

[data]
max-series-per-database = 0



Information about this setting:
The maximum number of series allowed per database before writes are dropped. The default setting is 1000000 (one million). Change the setting to 0 to allow an unlimited number of series per database. If a point causes the number of series in a database to exceed max-series-per-database, InfluxDB will not write the point, and it returns a 500 with the following error:

More information's: https://docs.influxdata.com/influxdb/v1.8/administration/config/#max-series-per-database-1000000


InfluxDB 2.0.4 an higher

This should not occur if you have InfluxDB 2.0.4 or higher installed.

Release Notes of 2.0.4

inmem index option removed
This release fully removes the inmem indexing option, along with the associated config options:

  • max-series-per-database
  • max-values-per-tag