Re:A Postgres Perspective on MongoDB
by threeseed on Monday July 18, 2016 @09:48AM
(#12114983)
Time series data is actually a great fit for MongoDB.
You create a collection for each measurement, JSON document for each day and then preallocate the fields for each hour/minute/second. With batching you can update 100K documents a second pretty easily off one node. For example:
https://blog.serverdensity.com/using-mongodb-as-a-time-serie...
You create a collection for each measurement, JSON document for each day and then preallocate the fields for each hour/minute/second. With batching you can update 100K documents a second pretty easily off one node. For example: https://blog.serverdensity.com/using-mongodb-as-a-time-serie...