Working through my automated process of copying Oracle tables to buckets, I’ve now discovered that there’s a limit of 10 buckets in a cluster. How can I override this limit?
The sizes of my tables that I’m copying vary widely. Most of them are quite small. Some of them are quite big (relatively). I know that I don’t have to have a 1-1 relation from tables to buckets, but doing so makes my transfer process very convenient. It will be more complicated to combine multiple tables into a single bucket.
I think your not going to get the performance your looking if you have a 1 to 1 ratio of Tables to Buckets
Here is a Youtube video of a Couchbase customer, Brant Burnett - Software Developer at CenterEdge, talking about RDBMS to Couchbase migrations they did.
I’m sure you’re right, if this was a conventional Couchbase application. In this case, Couchbase is only being used to bulk load into a set of maps in memory once a night. The process will read every document in one bucket, then go on to the next bucket. That’s all it does. There aren’t even any relations between documents in different buckets. Yes, it’s an embarrassing use case for Couchbase, but the platform architecture I have to work with only has NoSQL persistence, so I have to jam my use case into Couchbase.
In RDBMS, it’s normal to have hundreds or thousands of tables in a database.
Where there are ways to increase the number of buckets in Couchbase, that’s not the recommended approach.
As @househippo suggested, you should design your document keys and queries so you can use a single bucket. We have customers with billions of documents in a single bucket.
I’ve written a bit of commentary on this in a blog: