Spanner to CockroachDB Mapping

Back to Data Systems Mapping

Google InternalOpen SourceGCP
SystemSpannerCockroachDB, YugabyteDBCloud Spanner
ConceptDistributed SQLDistributed SQLManaged distributed SQL

Google’s Spanner (2012 paper) introduced globally distributed, strongly consistent relational databases using TrueTime (atomic clocks + GPS). CockroachDB and YugabyteDB are open-source systems inspired by Spanner’s design, using hybrid logical clocks instead of TrueTime. Cloud Spanner exposes the internal system on GCP.


google-internal mapping spanner cockroachdb