Hi, It seems to me clusters and classes are very interesting concepts and make OrientDB unique, yet even reading the docs about them, the best practice of using them smartly and strategically alludes me some. Well, let's say I am uncertain. :-)
I understand clusters are part of the distribution of data or rather, they can be used for this. They are containers for records/ documents/ vertices/ edges. So, should the locality of the data be the deciding strategy for creating clusters? I also think I understand that each class or subclass gets its own cluster automatically. Classes can also have any number of clusters. And classes should also follow my data model. For instance, our data model will have record types. These translate to child-objects of a master object. So, we could have the master class and use sub-classes for each data record type. Would that strategy make sense for classes? But, now we might have one of the record types (one of the sub-classes) getting hit with largest data growth and we will need to scale it out. So we'd need to add clusters to that (sub-)class. We could then "subdivide" that particular data type down once more, to some logical clustering strategy, like grouping by years, if the data is time based (which almost all data is in some fashion, isn't it?) or grouping by data locality, like I mentioned earlier. Is this all correct? When would be the right time to consider the clustering strategy? Would the cluster strategy be actually better based on data retrieval needs only, knowing searching for data in a single cluster will be faster? What if I know I need to search for both locality and time? Can a data set be evenly distributed among new clusters automatically? Or would I need to move data around manually to the new clusters? (i.e. I want a round robin system, but need to balance out the data to the new clusters at first). I have a feeling, the answer about best strategies will always come down to "it depends". But, there must be some "best ways to go about it". Any help on this would be greatly appreciated. Scott -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
