shinken-monitoring/mod-retention-mongodb — pull request #5 by andrewmcgilvray (2014-05-13 07:08:44+00:00)
Title: Reduce mongodb queries to 2

Make two mongodb queries, one for all services and one for all hosts.
Then find the hosts and services that we are interested in.
This massively reduces the time taken for environments with 10000+ services/hosts and mongodb servers that have a significant network latency