spannerfan123
spannerfan123

Reputation: 71

Does Google Cloud Spanner support compression?

Our dataset has rows which are highly compressible with respect to adjacent rows. As I understand it, Bigtable supports automatic compression (via SSTable block compression). It would make a huge difference to us if Spanner can or will support similar compression at the database level. We project this to make a 3-5x difference in our cost structure. While we could consider trying to do so at the application layer, it isn't much fun at all...

Upvotes: 4

Views: 847

Answers (1)

Albert Cui
Albert Cui

Reputation: 394

Cloud Spanner charges for logical bytes -- the size of the data you send us. The sizes for types are listed here: https://cloud.google.com/spanner/docs/data-types

Upvotes: 3

Related Questions