Max number of collections

0 votes

Just wondering what the max number of collections allowed in a database is. For my design it would be simplest if it's one collection for each user and all that users session data is saved in that collection (each user can be part of multiple sessions simultaneously, maximum 12 let's say).

If that isn't a very good idea, I'll think of something else, just wanted to make sure because this way is the simplest for me to manage.

Thank you in advance for your help!

asked Sep 8, 2014 in App42 Cloud API-BaaS by ncorsale (10 points)

1 Answer

0 votes

It is not a good idea to have separate collection for each of your users, instead I would suggest to use single collection and dump all user info in it. You can apply query to fetch those info back in your app using username. Also, you cant procceed beyond few hundred collections if you are in our non enterprise pricing  plan. Please have a look here at our tutorial for saving user information in storage. 

Let me knwo if it helps.



answered Sep 9, 2014 by ajay123 (899 points)
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on