Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7194497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:23:03+00:00 2026-05-28T20:23:03+00:00

I am newly starting on mongodb. I know that by default, mongodb pre allocated

  • 0

I am newly starting on mongodb. I know that by default, mongodb pre allocated data files in the order of 64MB, 128MB, 256MB, ….2GB, 2GB, 2GB….etc

Now let us supposed i have a mongo instance that is preallocated with
64MB and 128MB for each of the different collections.
Now I would like to know the below

  • How to check the available free space in the 128MB file of each collections?
  • How to check the total size of all the collections, data bases?
  • How to check the total available free space out of allocated?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T20:23:04+00:00Added an answer on May 28, 2026 at 8:23 pm

    Checking free space in the internal storage files of mongo is not something you normally (or at all) do.

    Mongo provides a number of functions which you can use to check the size of collections and some helpful scripts demonstrating how to run the functions on each database on the server.

    You can also wrap such functions in a script to make reading easier, such as this script which lists the size and counts for all collections in a database.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do I append a string to all the files in a directory that
Symptoms I have newly created setup package (MSI) that installs a new version of
SVN won't download newly added files but will update existing. Developer B adds 3
I am trying to use : http://code.google.com/p/jspf/ within a GWT framework. I know that
the standard upstart script that comes with mongodb works fine: # Ubuntu upstart file
So I'm newly in charge of projects at my company (We're still only 2
I've newly started to open my eyes for ASP.Net MVC, but on the site
I am newly started using WAMP server. I am unable to deploy my java
I have a newly configured Windows Server 2003 VM. One of the issues with
I'm newly using CODE::BLOCKS+mingw compiler If I don't type return 0 at the end

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.