How many databases can be created in a single mongodb cluster?

Hi good people :blush:,

I wanted to know is there any limit for creating databases in a single mongodb cluster ?

If so what is the maximum number of databases that are allowed ?

If the cluster can handle as many databases as I add, is there any issue for scalability with this design ?

Assuming I have 5000 databases and 50 collections on each database, can a cluster handle this setup efficiently or is it even possible?

Hello @Riad_Hossain!

I am not aware of a particular “limit” in database quantity … as for scalability and efficiency, a bigger concern would be what is in your collections, etc.

This post has a good breakdown of those concepts:

6 Likes

Hello @Justin_Jenkins,

Thanks for the resource. This will help.