I'm having some trouble to shard our database using OrientDB. 

I've got an N servers cluster (for example N=3), and I want to distribute 
our users database evenly on the 3 servers using the user_id. As far as I 
understand, the data gets inserted locally on the server that receives the 
INSERT, but it doesn't get sharded if all the inserts are going to the same 
server. Is there a way to workaround this and distribute the data evenly 
using some kind of modulus? (%3)

Assuming that I can do that, if I end up needing to duplicate the number of 
servers (N=6), how can I rebalance the data? do I need to dump it and 
insert it again?

Sorry if that are basic questions, but I couldn't find the answer on the 
documentation.

-- 

--- 
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.

Reply via email to