Closed mail2hjain closed 3 years ago
@mail2hjain
First of all, I'm going to assume that you mean Couchbase, not CouchDB. They are two completely different products. That said, let me see if I can answer your questions.
Thanks @brantburnett for the explanation. Yes I meant Couchbase itself. I will update the description. I get your point about having a well known schema. This works good with RDBMS as the schema is known at database level which is not the case with NoSQL where schema is known only by Application. This would mean that any change in the schema or introducing a new business entity would force a change in the persistence layer as well. This is where I am looking to find some best practices to handle such scenarios. TIA.
I'd be happy to discuss it further, but it's a bit tricky because your application architecture is a big factor in how you approach it. For example, a monolith vs microservices may have different approaches.
The best place for this discussion is probably on the couchbase forums at https://forums.couchbase.com/. So I'm going to close this issue, and if you want to start a discussion there in the .NET forum I'll watch out for it.
I must admit being a newbie for Couchbase. While trying to use where predicates with query APIs, an exception is thrown indicating no Index found for the KeySpace... In this regard, I have below questions -