We are running a small part of our production data in Google Cloud Spanner since 8months for testing and learning things about Cloud Spanner.
Rough characteristics:
What we first noticed was nightly CPU utilization that did not directly correspond to the load we were producing. I thought about this as some kind of reorganization-task like in Cassandra. So no big thing we thought ...
One week ago things started to change and the CPU utilization went up and up. The storage size started to shrink. That's interesting as we only add data. (see images)
What I was thinking about:
Does anyone have information what could be behind this ?
Thank you for the detailed post. Yes, Cloud Spanner has recently made some optimizations for reorganization/compaction. Cloud Spanner regularly releases optimizations in different areas that run as background tasks that use idle cpu resources. Cloud Spanner ensures that background tasks do not take up resources needed for serving user requests.