Database / Google Spanner Database Interview questions
What is Google Cloud Spanner?
Google Cloud Spanner is a fully managed, horizontally scalable relational database that combines the strong consistency and SQL support of traditional databases with the scale of distributed NoSQL systems.
It spreads data across multiple zones or regions and uses synchronous Paxos-based replication together with the TrueTime API to guarantee external consistency, even when a transaction touches rows stored on different machines. Resharding, replica placement, and failover are all handled automatically, so a single table can grow to petabytes without an engineer manually splitting shards.
Spanner supports two query dialects, GoogleSQL and a PostgreSQL-compatible dialect, and is commonly used for globally distributed workloads such as financial ledgers, ad-serving platforms, and multiplayer game backends that cannot tolerate either downtime or inconsistent reads.
More Related questions...