Compose Database-as-a-Service Help and Documentation

Everything you need to know about Compose, Hosted or Enterprise, is here in our help system. Whether you run one database for your businesses' sole application or six different databases to support an entire corporation, we've got the information you need.

MongoDB Classic on Compose

MongoDB is a JSON-like document database store. It has a flexible schema, and comes with a built in potential to scale. It can be used for the primary database to back an application or to supplement performance of a SQL database. We've had customers use MongoDB for all types of roles in their technology stack.

Compose's auto-scaling deployments make using MongoDB a breeze. MongoDB works best with a reasonable ratio of RAM to data size and fast IO. Increasing database server capacity traditionally requires a change in server size, replacement of IO subsystems, and a coordinated operations process.

We have two deployment models of MongoDB on Compose. This section is for what we call MongoDB Classic; our older deployment model.

MongoDB has been superseded by our current MongoDB deployment model with more capabilities like SSL/TLS support and enhanced high availability. You can read about that in its own documentation section.

Data Center Availability

See Compose Datacenter Availability for current location availability.

How am I billed for my deployment?

Start at $18.00/mo for 2 nodes, 1GB of data and 102MB of RAM. After that, it's just $18/GB as your database grows. It's that simple.

What if I need more server resources at my data size (like RAM)?

Please send us a support request to reserve resources for your deployment. Though it's not yet a self-service feature, we can scale resources up to something larger than our auto-scaling algorithms would normally assign. This does increase the price of the service, however, since we bill based on the total resources assigned for a given deployment. For each "unit" that we increase your deployment you get 1GB of pre-allocated file system space, 0.1GB of RAM and an additional 30r/30w IOPS for $18.

Note: We will occasionally increase the RAM allotment on deployments to ease the work load on our operations group. We do not charge for the increases we put in place to help our operations group do a better job.

At the moment, upscaling can be done in two ways:

  • You can stay entirely within our automated system and simply insert random data into a temporary collection until your deployment is taking up enough space to provision the amount of RAM that you want. Then drop the collection and you're all good. Your deployment will scale back down in price and RAM allotment when you reduce data and then perform a resync on both members of your deployment (It's worth noting that db.repairDatabase() is not sufficient).

  • You can ask support@compose.io to scale the resources up through file pre-allocation. However if you do this, your deployment will not scale below that pre-allocation and you'll need to make an explicit request to support to scale you back down at some point in the future.

Sounds good. Where can I find more information about MongoDB?

We've got a ton of great content to check out... There is our main how-to content within the Help Files:

In addition, we produce a wide range of technical content for the databases we offer. Check out our curated list of MongoDB articles:


Still Need Help?

If this article didn't solve things, summon a human and get some help!

MongoDB Classic on Compose