I was wondering that for a given set of data, the MongoDB datafiles in /data/db are larger than the data set inserted into the database .Why such happening in mongoDB ? can someone clear me on this.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
MongoDB preallocates disk space, so the actual storage on disk will always be larger than the data set.