News for hackers. Stuff that matters.
Re:CockroachDB 1.1 Released: Production Made Easy by muxator on Thursday October 12, 2017 @03:23PM (#15460558)
Thanks rwu1997, I am referring to this advice given by Ben Darnell: https://forum.cockroachlabs.com/t/multi-tenancy-best-practic...
Re:CockroachDB 1.1 Released: Production Made Easy by rwu1997 on Thursday October 12, 2017 @06:33PM (#15461845)
Interleaving does try to colocate the interleaved tables by taking advantage of the fact that the underlying SSTable storage sorts the data by their keys. It doesn't however guarantee that a sufficiently large interleave hierarchy of tables will be colocated on the same node(s) due to range splits (each range has a default maximum size of 64MB).

I'm looking forward to the partitioning work being done right now since one could in theory have a top-level (or root) table (with some tenantID) and tenant-specific tables interleaved, then easily partition on the tenantID to have tenancy isolation on all tenant-specific data.