shards icon indicating copy to clipboard operation
shards copied to clipboard

Q: which sharding strategies are currently supported, exactly?

Open gggeek opened this issue 10 years ago • 1 comments
trafficstars

I can image out of the bat 3 ways to implement multi-tenant splits of databases:

  1. one db per tenant
  2. single db, every table with tenant data gets a 'tenant' column
  3. 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

gggeek avatar Aug 20 '15 12:08 gggeek

mmm, looks like this was merged into Doctrine. I am reading the official docs at the moment...

gggeek avatar Aug 20 '15 13:08 gggeek