What are the limitations of CockroachDB when it horizontally scales? #141804
-
I would like to know what are the limitations of the horizontal scalability of CockroachDB. I ask this because the NoSQL databases I know have such limitations. For example, in MongoDB, new limitations arise when it horizontally scales:
so I was wondering if that was the case too for CockroachDB, are there limitations that I will face when CockroachDB scales?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
MongoDB is a document database, while this is a relational database. The ACID characteristics of relational databases are generally better than those of document databases. |
Beta Was this translation helpful? Give feedback.
-
Yes, uniqueness property will be enforced even if a table is split into multiple ranges (i.e. shards).
If a transaction touches multiple ranges, regardless of whether those ranges are for the same table or not, the performance could be worse than if the transaction touched only a single range. However, this will be highly dependent on the nature of the transaction, so it's hard to provide any more specific answer. |
Beta Was this translation helpful? Give feedback.
Yes, uniqueness property will be enforced even if a table is split into multiple ranges (i.e. shards).
If a transaction touches multiple ranges, regardless of whether those ranges are for the same table or not, the performance could be worse than if the transaction touched only a single range. However, this will be highly dependent on the nature of the transaction, so it's hard to provide any more specific answer.