I have mongodb for measurements that have a document for measurements. Each document is as follows:
{
timestamp : 123
value : 123
meta1 : something
meta2 : something
}
I get measurements from several sources every second, and so the db gets pretty big, fast. I am interested in storing information at the frequency at which it was read, but older data, I would like to periodically clean out the information in order to save space and make the bit a little faster.
1. What is the best approach in mango?
2.There is the best db there for this, given that the circuit is different for different measurements, and the fixed format will not work very well. RRD is also not an option, as I need dynamic query capabilities.
source
share