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

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
Zeile 10: Zeile 10:
 
*Change the InfluxDB ''[https://docs.influxdata.com/influxdb/v1.8/administration/config/#max-series-per-database-1000000 data-settings]'' '''max-series-per-database''' to '''0''' to allow unlimited series per database.  
 
*Change the InfluxDB ''[https://docs.influxdata.com/influxdb/v1.8/administration/config/#max-series-per-database-1000000 data-settings]'' '''max-series-per-database''' to '''0''' to allow unlimited series per database.  
  
Example setting:
+
Example setting (influxdb.conf):
 
  [data]
 
  [data]
 
  max-series-per-database = 0
 
  max-series-per-database = 0

Version vom 31. August 2020, 11:29 Uhr

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