DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. TiDB vs. Vitess

System Properties Comparison Google Cloud Spanner vs. TiDB vs. Vitess

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonTiDB  Xexclude from comparisonVitess  Xexclude from comparison
DescriptionA horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.TiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.Scalable, distributed, cloud-native DBMS, extending MySQL
Primary database modelRelational DBMSRelational DBMSRelational DBMS
Secondary database modelsDocument storeDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.82
Rank#95  Overall
#49  Relational DBMS
Score4.85
Rank#80  Overall
#43  Relational DBMS
Score1.26
Rank#186  Overall
#85  Relational DBMS
Websitecloud.google.com/­spannerpingcap.comvitess.io
Technical documentationcloud.google.com/­spanner/­docsdocs.pingcap.com/­tidb/­stablevitess.io/­docs
DeveloperGooglePingCAP, Inc.The Linux Foundation, PlanetScale
Initial release201720162013
Current release7.6.0, January 202415.0.2, December 2022
License infoCommercial or Open SourcecommercialOpen Source infoApache 2.0Open Source infoApache Version 2.0, commercial licenses available
Cloud-based only infoOnly available as a cloud serviceyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.PlanetScale: The easiest way to deploy Vitess in the cloud. Get the scalability of Vitess without all the work. Start your fully managed database with PlanetScale today.
Implementation languageGo, RustGo
Server operating systemshostedLinuxDocker
Linux
macOS
Data schemeyesyesyes
Typing infopredefined data types such as float or dateyesyesyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.nono
Secondary indexesyesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yesyes infowith proprietary extensions
APIs and other access methodsgRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
ADO.NET
JDBC
MySQL protocol
ODBC
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresnonoyes infoproprietary syntax
Triggersnonoyes
Partitioning methods infoMethods for storing different data on different nodesShardinghorizontal partitioning (by key range)Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Using Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.Multi-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowyes infowith TiSpark Connectorno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency across shards
Immediate Consistency within a shard
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyes infofull support since version 6.6yes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACIDACID at shard level
Concurrency infoSupport for concurrent manipulation of datayesyesyes infotable locks or row locks depending on storage engine
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nonoyes
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Fine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or roles
More information provided by the system vendor
Google Cloud SpannerTiDBVitess
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more

We invite representatives of system vendors to contact us for updating and extending the system information,
and for displaying vendor-provided information such as key customers, competitive advantages and market metrics.

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
Google Cloud SpannerTiDBVitess
Recent citations in the news

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google Cloud Spanner Is Now Half the Cost of Amazon DynamoDB
13 October 2023, Datanami

Building Uber's Fulfillment Platform for Planet-Scale using Google Cloud Spanner
22 January 2024, Uber

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

PingCAP Launches TiDB Serverless, a Cutting-Edge Solution to Optimize Application Development and Performance
5 July 2023, GlobeNewswire

PingCAP Included as an Honorable Mention in the 2023 Gartner® Magic Quadrant™ for Cloud Database Management ...
17 January 2024, Yahoo Finance

provided by Google News

Vitess, the database clustering system powering YouTube, graduates CNCF incubation
5 November 2019, SiliconANGLE News

PlanetScale Unveils Distributed MySQL Database Service Based on Vitess
18 May 2021, Datanami

PlanetScale grabs YouTube-developed open-source tech, promises Vitess DBaaS with on-the-fly schema changes
18 May 2021, The Register

Massively Scaling MySQL Using Vitess
19 February 2019, InfoQ.com

They scaled YouTube — now they’ll shard everyone with PlanetScale
13 December 2018, TechCrunch

provided by Google News



Share this page

Featured Products

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Milvus logo

The open source vector database for GenAI.
Try Managed Milvus Free

Present your product here