The documentation states that one split should not be bigger then 'a few GB'.
- Is there a hard limit on that where Cloud Spanner will stop storing more data in one split ?
- Nothing can be found in the limits-section here: https://cloud.google.com/spanner/quotas
- What is the implication of e.g. splits growing to 20-30GB ?
- I can think of problems when those splits need to be moved around between instances while being read/written
I know the second point sound like we should split up our primary key/add a sharding-key as first primary-key-part.
But if you have hundreds of customers having really big product catalogs and you need to interleave brand- and category-tables so you can join on them. And alternative approaches of storing one product-catalog in several splits become very slow on secondary index queries (like: query all active products in a catalog).
Thanks a lot in advance because this would help us a lot of understanding Cloud Spanner better for our planned production-use. Christian Gintenreiter