Analysis of the MongoDB behavior