Re: Sharding DB: one database per user dynamically

2016-10-06 Thread Erik Cederstrand
> Den 6. okt. 2016 kl. 15.34 skrev Stefano Tranquillini > : > > Well, not really. > > I would like to shard the db, but probably i can just build a function to > write on DB1 or DB2 depending on the user id, this should be feasible, isn't > it? Yes, that

Re: Sharding DB: one database per user dynamically

2016-10-06 Thread Stefano Tranquillini
Well, not really. I would like to shard the db, but probably i can just build a function to write on DB1 or DB2 depending on the user id, this should be feasible, isn't it? then i'll check how to export based on user_id. that's a nice idea, i just have to figure out how to do with all the

Re: Sharding DB: one database per user dynamically

2016-10-06 Thread Erik Cederstrand
> Den 6. okt. 2016 kl. 09.54 skrev Stefano Tranquillini > : > > Hi all, > > I quickly skimmed into the group but i did not find an updated answer. > > what i want to do is to have a database for each user that register to my > service, the structure of the

Sharding DB: one database per user dynamically

2016-10-06 Thread Stefano Tranquillini
Hi all, I quickly skimmed into the group but i did not find an updated answer. what i want to do is to have a database for each user that register to my service, the structure of the databse is the same for all, the data are just separated. I want to do this for two reasons: - be able to move