2
votes

cloud spanner in database detail has: Total storage.

enter image description here

Can i take this value by query?

Also how to find tables sizes (by query). At the end of which will be total storage size.

Thank you

2

2 Answers

2
votes

Cloud Spanner table sizes aren't currently exposed.

2
votes

To get a general idea of the tables size porportions, we check the resulted avro files sizes when exporting the DB (we have a daily job for backup). Of-course it is not accurate since it's a whole different storage model.