I have a question regarding Data Stores and entities.Let us assume I have a few

I have a question regarding Data Stores and entities.Let us assume I have a few CDTs which are being used by my app.One is a main CDT, few other CDTs are its members. (single level nesting).
While creating a Data Store, I have two options:
1.          Add all entities i.e. CDTs used by my app to a single Data Store
2.          Create a separate Data Store for each entity i.e. each Data Store will have a single entity.

Either way works, but I wish to know which is the best one. Are there any use-cases where one option can be preferred over other?

OriginalPostID-143261

OriginalPostID-143261

  Discussion posts and replies are publicly visible

Parents
  • If the CDTs are nested then they must be entities in the same data store as the parent, which may limit you to a single data store in a number of cases. It's often worth using multiple data stores when you have multiple applications for which you want be able to publish / deploy data entities separately; a single data store per CDT would seem excessive but that's not to say that it hasn't been done.
Reply
  • If the CDTs are nested then they must be entities in the same data store as the parent, which may limit you to a single data store in a number of cases. It's often worth using multiple data stores when you have multiple applications for which you want be able to publish / deploy data entities separately; a single data store per CDT would seem excessive but that's not to say that it hasn't been done.
Children
No Data