DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > Google Cloud Spanner vs. SurrealDB vs. Tarantool

System Properties Comparison Google Cloud Spanner vs. SurrealDB vs. Tarantool

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonSurrealDB  Xexclude from comparisonTarantool  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.A fully ACID transactional, developer-friendly, multi-model DBMSIn-memory computing platform with a flexible data schema for efficiently building high-performance applications
Primary database modelRelational DBMSDocument store
Graph DBMS
Document store
Key-value store
Relational DBMS
Secondary database modelsSpatial DBMS infowith Tarantool/GIS extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.56
Rank#97  Overall
#50  Relational DBMS
Score1.08
Rank#176  Overall
#30  Document stores
#16  Graph DBMS
Score1.42
Rank#148  Overall
#26  Document stores
#24  Key-value stores
#66  Relational DBMS
Websitecloud.google.com/­spannersurrealdb.comwww.tarantool.io
Technical documentationcloud.google.com/­spanner/­docssurrealdb.com/­docswww.tarantool.io/­en/­doc
DeveloperGoogleSurrealDB LtdVK
Initial release201720222008
Current releasev1.5.0, May 20242.10.0, May 2022
License infoCommercial or Open SourcecommercialOpen SourceOpen Source infoBSD-2, source-available extensions (modules), commercial licenses for Tarantool Enterprise
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.
Implementation languageRustC and C++
Server operating systemshostedLinux
macOS
Windows
BSD
Linux
macOS
Data schemeyesschema-freeFlexible data schema: relational definition for tables with ability to store json-like documents in columns
Typing infopredefined data types such as float or dateyesyesstring, double, decimal, uuid, integer, blob, boolean, datetime
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 2011SQL-like query languageFull-featured ANSI SQL support
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
GraphQL
RESTful HTTP API
WebSocket
Open binary protocol
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
Deno
Go
JavaScript (Node.js)
Rust
C
C#
C++
Erlang
Go
Java
JavaScript
Lua
Perl
PHP
Python
Rust
Server-side scripts infoStored proceduresnoLua, C and SQL stored procedures
Triggersnoyes, before/after data modification events, on replication events, client session events
Partitioning methods infoMethods for storing different data on different nodesShardingSharding, partitioned with virtual buckets by user defined affinity key. Live resharding for scale up and scale down without maintenance downtime.
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.Asynchronous replication with multi-master option
Configurable replication topology (full-mesh, chain, star)
Synchronous quorum replication (with Raft)
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflowno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyCasual consistency across sharding partitions
Eventual consistency within replicaset partition infowhen using asyncronous replication
Immediate Consistency within single instance
Sequential consistency including linearizable read within replicaset partition infowhen using Raft
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationACIDACID, with serializable isolation and linearizable read (within partition); Configurable MVCC (within partition); No cross-shard distributed transactions
Concurrency infoSupport for concurrent manipulation of datayesyesyes, cooperative multitasking
Durability infoSupport for making data persistentyesyesyes, write ahead logging
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes, full featured in-memory storage engine with persistence
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)yes, based on authentication and database rulesAccess Control Lists
Mutual TLS authentication for Tarantol Enterprise
Password based authentication
Role-based access control (RBAC) and LDAP for Tarantol Enterprise
Users and Roles

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

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

More resources
Google Cloud SpannerSurrealDBTarantool
DB-Engines blog posts

Data processing speed and reliability: in-memory synchronous replication
9 November 2021,  Vladimir Perepelytsya, Tarantool (sponsor) 

show all

Recent citations in the news

Google Cloud Introduces HDD Tier for Spanner Database, Cutting Cold Storage Costs by 80%
22 March 2025, infoq.com

New features make Google's Spanner a database for AI
1 August 2024, TechTarget

Google Cloud Spanner gets dual-region configuration option
23 July 2024, InfoWorld

Google Cloud adds graph and vector search features to Spanner database
2 August 2024, techzine.eu

Google Releases Spanner Graph into General Availability
19 February 2025, infoq.com

provided by Google News

SurrealDB Launches Surreal Cloud, a Fully Managed Database Service That Tackles the Complexity Issues Faced by Developer Teams
7 December 2024, insideAI News

SurrealDB Empowers Developers to Build Applications with the Launch of SurrealDB University
15 October 2024, Business Wire

SurrealDB's Surreal Cloud debuts on AWS S3 for scalable multimodel database as a service
4 December 2024, siliconangle.com

SurrealDB is helping developers consolidate their databases
18 June 2024, TechCrunch

London-based SurrealDB secures over €18.6 million aiming to disrupt database technology
18 June 2024, EU-Startups

provided by Google News

Tarantool Announces New Enterprise Version With Enhanced Scaling and Monitoring Capabilities
18 May 2018, Newswire.com

How to build a high-performance application on Tarantool from scratch
26 November 2020, Habr

VShard — horizontal scaling in Tarantool
7 March 2019, Habr

provided by Google News



Share this page

Featured Products

Neo4j logo

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

SingleStore logo

The data platform to build your intelligent applications.
Try it 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

RaimaDB logo

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

Milvus logo

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

Present your product here