DB-EnginesExtremeDB: hybrid in-memory and persistent storage based on a true IMDSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Google Cloud Spanner vs. TiDB

System Properties Comparison Google Cloud Spanner vs. TiDB

Please select another system to include it in the comparison.

Our visitors often compare Google Cloud Spanner and TiDB with MySQL, PostgreSQL and CockroachDB.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonTiDB  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 Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelRelational DBMSRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.85
Rank#99  Overall
#50  Relational DBMS
Score2.49
Rank#107  Overall
#53  Relational DBMS
Websitecloud.google.com/­spannerpingcap.com
Technical documentationcloud.google.com/­spanner/­docsdocs.pingcap.com/­tidb/­stable
DeveloperGooglePingCAP, Inc.
Initial release20172016
Current release5.0.1, April 2021
License infoCommercial or Open SourcecommercialOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceyesno
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.
Implementation languageGo, Rust
Server operating systemshostedLinux
Data schemeyesyes
Typing infopredefined data types such as float or dateyesyes
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 indexesyesyes
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011yes
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
JDBC
ODBC
Proprietary protocol
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
Server-side scripts infoStored proceduresnono
Triggersnono
Partitioning methods infoMethods for storing different data on different nodesShardinghorizontal partitioning (by key range)
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.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nono
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Users with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
Google Cloud SpannerTiDB
Specific characteristicsTiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesIn the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosTiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersShopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing modelsOpen Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

Chaos Mesh Remake: One Step Closer toward Chaos as a Service
24 June 2021

Managing Your Data Lifecycle with Time to Live Tables
10 June 2021

TiDB 5.0: A One-Stop HTAP Database Solution
3 June 2021

TiDB Operator Source Code Reading (II): Operator Pattern
27 May 2021

TiFS, a TiKV-Based Partition Tolerant, Strictly Consistent File System
24 May 2021

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 SpannerTiDB
Recent citations in the news

Google unveils cloud products to help analyze and organize data
26 May 2021, VentureBeat

Google Cloud unveils 9 new tools – Cloud
22 June 2021, Illinoisnewstoday.com

Google Datastream advances change data capture in the cloud
27 May 2021, TechTarget

Google Cloud Unified Data Platform | Analytics Hub, Dataplex & Datastream
4 June 2021, Datamation

Google Cloud Improves SLA for Bigtable and Adds New Security Features
19 June 2021, InfoQ.com

provided by Google News

PingCAP announces Public Preview of TiDB Cloud USA - English USA - English
10 May 2021, PRNewswire

PingCAP, the open-source developer behind TiDB, closes $270 million Series D
17 November 2020, TechCrunch

How Flipkart Leveraged OpenEBS for Storage on Kubernetes – The New Stack
3 June 2021, thenewstack.io

PingCAP Announces TiDB Cloud, Bringing Fully-Managed TiDB Service to AWS and GCP
23 June 2020, PRNewswire

PingCAP raises $270M to develop core technologies and advance global expansion of its offerings
18 November 2020, Help Net Security

provided by Google News

Job opportunities

Database Administrator
Kochava, Sandpoint, ID

Google Cloud Architect (Remote)/Google Cloud Engineer
CitiusTech, Remote

Google Cloud Architect
Raditech LLC, Remote

Back-end Developer - Java/Cloud [Remote, NO C2C]
Braintrust, San Francisco, CA

GCP Devops SRE
TCS, Georgia, VT

Distinguished Engineer
ServiceNow, Santa Clara, CA

Developer Relations and Product Evangelist
PingCAP, Remote

Senior Software Engineer - Availability, Cash App
Cash App, New York, NY

Cloud Infrastructure Engineer- Remote
PingCAP, San Mateo, CA

Site Reliability Engineer
PingCAP, Remote

jobs by Indeed




Share this page

Featured Products

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

AllegroGraph logo

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

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 5 GB free..

Present your product here