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. Microsoft Azure Cosmos DB vs. SQLite vs. TerarkDB

System Properties Comparison Google Cloud Spanner vs. Microsoft Azure Cosmos DB vs. SQLite vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparisonSQLite  Xexclude from comparisonTerarkDB  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.Globally distributed, horizontally scalable, multi-model database serviceWidely used embeddable, in-process RDBMSA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDB
Primary database modelRelational DBMSDocument store
Graph DBMS
Key-value store
Wide column store
Relational DBMSKey-value store
Secondary database modelsSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score29.04
Rank#27  Overall
#4  Document stores
#2  Graph DBMS
#3  Key-value stores
#3  Wide column stores
Score114.32
Rank#10  Overall
#7  Relational DBMS
Score0.00
Rank#383  Overall
#60  Key-value stores
Websitecloud.google.com/­spannerazure.microsoft.com/­services/­cosmos-dbwww.sqlite.orggithub.com/­bytedance/­terarkdb
Technical documentationcloud.google.com/­spanner/­docslearn.microsoft.com/­azure/­cosmos-dbwww.sqlite.org/­docs.htmlbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperGoogleMicrosoftDwayne Richard HippByteDance, originally Terark
Initial release2017201420002016
Current release3.45.3  (15 April 2024), April 2024
License infoCommercial or Open SourcecommercialcommercialOpen Source infoPublic Domaincommercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud serviceyesyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageCC++
Server operating systemshostedhostedserver-less
Data schemeyesschema-freeyes infodynamic column typesschema-free
Typing infopredefined data types such as float or dateyesyes infoJSON typesyes infonot rigid because of 'dynamic typing' concept.no
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.nonono
Secondary indexesyesyes infoAll properties auto-indexed by defaultyesno
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011SQL-like query languageyes infoSQL-92 is not fully supportedno
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
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
ADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
C++ API
Java API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
.Net
C#
Java
JavaScript
JavaScript (Node.js)
MongoDB client drivers written for various programming languages
Python
Actionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
Tcl
C++
Java
Server-side scripts infoStored proceduresnoJavaScriptnono
TriggersnoJavaScriptyesno
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoImplicit feature of the cloud servicenonenone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.yes infoImplicit feature of the cloud servicenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowwith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*nono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationMulti-item ACID transactions with snapshot isolation within a partitionACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyes infovia file-system locksyes
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyes
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights can be defined down to the item levelnono

More information provided by the system vendor

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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more
Navicat for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management and development.
» more

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

More resources
Google Cloud SpannerMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDBSQLiteTerarkDB
DB-Engines blog posts

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

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 Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

More AI Added to Google Cloud's Databases
28 February 2024, Datanami

provided by Google News

General Availability: Data API builder | Azure updates
15 May 2024, Microsoft

Start your AI journey with Microsoft Azure Cosmos DB—compete for $10K
9 May 2024, Microsoft

Public preview: Change partition key of a container in Azure Cosmos DB (NoSQL API) | Azure updates
27 March 2024, Microsoft

General availability: Microsoft Entra ID integration with Azure Cosmos DB for PostgreSQL | Azure updates
13 March 2024, Microsoft

Azure Cosmos DB Conf 2023
12 January 2024, Microsoft

provided by Google News

How to work with Dapper and SQLite in ASP.NET Core
10 May 2024, InfoWorld

SQLite Vulnerability Could Put Thousands of Apps at Risk
22 March 2024, Dark Reading

SQLite's new support for binary JSON is similar but different from a PostgreSQL feature • DEVCLASS
16 January 2024, DevClass

Universal API Access from Postgres and SQLite
27 February 2024, O'Reilly Media

SQLite 3.44 Extends Aggregate Functions
6 November 2023, iProgrammer

provided by Google News



Share this page

Featured Products

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Neo4j logo

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

Present your product here