shards
shards copied to clipboard
Q: which sharding strategies are currently supported, exactly?
trafficstars
I can image out of the bat 3 ways to implement multi-tenant splits of databases:
- one db per tenant
- single db, every table with tenant data gets a 'tenant' column
- one single db, where each tenant gets a different sets of tables for his data, with a prefix added to the table name
It is not too clear to me if this bundle currently supports both 1 and 2, or not.
Also: it seems that most of the 'automagic' value would come from version 2 of this package, where integration with the ORM layer is done. Is there any code available for that, or is it still at 0%?
Thanks Gaetano
mmm, looks like this was merged into Doctrine. I am reading the official docs at the moment...