[SERVER-12755] Mongodb Storage Requirement Created: 17/Feb/14  Updated: 10/Dec/14  Resolved: 30/May/14

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Question Priority: Major - P3
Reporter: Prateek [X] Assignee: Ramon Fernandez Marina
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

I have mongodb(2.4.5) deployed in production environment on RHEL. I have 64GB of total available space for '/data'. My existing usage is as below:
datasize: 2.5 GB
storageSize: 2.9 GB
fileSize: 20GB
As file is pre-allocated space by Mongo, 26 GB of server space is occupied for around 3 GB of actual data. Now we have requirement of using the same server for another around 7 GB of data.
Considering current disk space utilisation:
1. How much would be the disk space usage?
2. Do I need to ramp up disk space for '/data'?
3. Is there anyway for me to restrict file size occupying disk space 7-8x times of actual data size?

I appreciate your response..

Thanks,
Prateek



 Comments   
Comment by Ramon Fernandez Marina [ 30/May/14 ]

Thanks for your report. The SERVER project is for reporting bugs or feature suggestions for the MongoDB server. For MongoDB-related support discussion please post on the mongodb-users group (http://groups.google.com/group/mongodb-user) or Stack Overflow with the mongodb tag. A question like this involving more discussion would be best posted on the mongodb-users group.

Comment by Prateek [X] [ 18/Feb/14 ]

Please find below the stats of db.

"db" : "<dbname>",
"collections" : 19,
"objects" : 6027798,
"avgObjSize" : 456.22084084436807,
"dataSize" : 2750007072,
"storageSize" : 3154542576,
"numExtents" : 108,
"indexes" : 57,
"indexSize" : 1274867328,
"fileSize" : 21984444416,
"nsSizeMB" : 16,
"dataFileVersion" :

{ "major" : 4, "minor" : 5 }

,
"ok" : 1

I'd appreciate if I get quick insight. I need to decide for the implementation of new feature.

Generated at Thu Feb 08 03:29:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.