Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cloudant number of database limitation

I'm planing on having my database stored in Cloudant.

Our application is multi-tenant. We currently do the separation to tenants based on a value in some of our tables which will naturally translation to value in a document. Another way is to have database per tenant. We currently have around 100 tenants and hopefully will grow to 500-2000 in our best projections.

What is the pros and cons between all tenants in one db vs. db per tenant?

Is there limitation on the number of database we can create and work with concurrently?

like image 934
Ido Ran Avatar asked Aug 08 '13 11:08

Ido Ran


People also ask

What is the maximum number of databases can an IBM Cloudant cluster hold?

In the IBM Cloudant Dashboard, the size of the capacity increase is limited to 10 units (1000 reads per second, 500 writes per second, and 50 global queries per second) per change.

What provides limited access to IBM Cloudant documents?

You can access IBM Cloudant directly by using an HTTP client rather than an IBM Cloudant client library. However, you must handle exchanging and refreshing a time-limited access token by using an IAM API key with the IAM token service.

What is the maximum size for a Cloudant document JSON object?

The maximum size of an individual JSON document is 1 MB. There are some more metrics in this table in the Cloudant Documentation.

What type of database is IBM Cloudant?

What is IBM® Cloudant®? A fully managed, distributed database optimized for heavy workloads and fast-growing web and mobile apps, IBM Cloudant is available as an IBM Cloud® service with a 99.99% SLA.


1 Answers

This is a good and involved question. There are pros and cons to both models. The main advantage to one large database is that you can analyze (search, mapreduce, etc) across all users very easily. The main advantage of one-db-per-user is that every user has their own data "sandbox", which may be nice for your SLA. Additionally, that means that the amount of data in each user database can be relatively small.

If you can provide more details about the data you are storing, the relational modeling, and the queries you hope to be able to do, I can probably give you a more satisfying answer.

like image 58
Will Holley Avatar answered Sep 30 '22 08:09

Will Holley