'MongoDB - Better to split collection into multiple collections?
I have a collection Sensors. Sensors contains sensor data from different sensors from different location IDs. I will be running some analytics on this sensor data. All the analytics will be run with respect to a single locationID only. Is it better to split the sensor collection into multiple sensor collections based on locationID, or is it better to run queries by grouping according to locationID from a single Sensor collection. PS: Am somewhat new to using NoSql DBs and new to data analytics
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
