InfluxDB: Error: max-series-per-database limit (some data are not written): Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) K |
Admin (Diskussion | Beiträge) |
||
Zeile 4: | Zeile 4: | ||
== Cause == | == Cause == | ||
− | ''The InfluxDB drops new series because the maximum number of series are exceed'' | + | ''The InfluxDB drops new series because the maximum number of series are exceed.'' |
== Solution == | == Solution == | ||
− | *Change the InfluxDB configuration '''max-series-per-database''' to '''0''' to allow unlimited series per database <br> | + | *Change the InfluxDB configuration '''max-series-per-database''' to '''0''' to allow unlimited series per database <br><br> |
'''Information about this setting:'''<br> | '''Information about this setting:'''<br> | ||
''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. | ''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:'' | + | 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: | More information's: |
Version vom 31. August 2020, 11:22 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 configuration max-series-per-database to 0 to allow unlimited series per database
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