Saving the query in a hashmap and then every 10 minutes it is saved in the database for future reference. Uses different version of mongosniff