I am monitoring the location of some bikes and using Grafana World Map Panel to locate these points on the map. It was working fine till today but then Influxdb stopped automatically. I started it again and found this in logs.
Here geohash is stored as tag, and is necessary to view locations on the worldmap panel. This warning is displayed again and again in the logs. But sometimes influxdb stops working.
What I am getting of this is that there might be a limit on the values of the tags which has been exceeded which is causing the influxdb to stop. Please explain this warning. If there is some limit on the values of these tags, can I change this limit OR can i remove this limit ? as I have to store these geohashes in large numbers.
Also, can I convert these tags into fields ? If yes, then how ?
I know that tags are those values on which we have to perform a query and fields are values which changes frequently and there are very few cases when we have to perform query on them(fields). Please tell me more differences between tags and fields.
@Luv This is a configuration setting. It does not cause the database to stop, it causes points to stop being written that have new tag values. Its important to understand the number of series being written.
The major difference between tags and fields is that tags are indexed and fields are not. I would suggest this article on line protocol as an introduction to our data model.
@jackzampolin Hey jack, I am getting this now in my logs.
[I] 2017-04-10T07:23:50Z Snapshot for path /var/lib/influxdb/data/_internal/monitor/15 written in 683.897491ms engine=tsm1 [I] 2017-04-10T07:24:05Z Snapshot for path /var/lib/influxdb/data/vehicleinfo/autogen/8 written in 4.759451815s engine=tsm1 [I] 2017-04-10T07:24:06Z beginning level 1 compaction of group 0, 2 TSM files engine=tsm1 [I] 2017-04-10T07:24:06Z compacting level 1 group (0) /var/lib/influxdb/data/vehicleinfo/autogen/8/000000005-000000001.tsm (#0) engine=tsm1 [I] 2017-04-10T07:24:06Z compacting level 1 group (0) /var/lib/influxdb/data/vehicleinfo/autogen/8/000000007-000000001.tsm (#1) engine=tsm1 fatal error: runtime: out of memory