What will happen if i insert too many fields to solve tag cardinality in influxdb?

Viewed 8

Tags should not contain highly variable information.

insert measurement1,method=startLevel count=100
insert measurement2,method=passLevel count=200
insert measurement2,method=otherMethod count=300
...

If method have too many distinct value, memory pressure would occur. if we put tag's value into many fields like this:

insert measurement2 startLevel=100,passLevel=200,otherMethod=300...

What problems will cause?

0 Answers
Related