How can I check total database size?

Hi, I’m Lee

I wonder maximum size of database.

also, I want to ask you that I can increase maximum size (storage space).

Thank you.

Hey

If you want to check your database size you can use db.stats() command
the command returns storage statistics for a given database.
There is no maximum size for an individual MongoDB database, you can find MongoDB limits and thresholds
here

2 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.