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

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

Version vom 31. August 2020, 11:27 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

Example setting:

[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