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. RocksDB vs. Spark SQL vs. TerarkDB

System Properties Comparison Google Cloud Spanner vs. RocksDB vs. Spark SQL vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameGoogle Cloud Spanner  Xexclude from comparisonRocksDB  Xexclude from comparisonSpark SQL  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.Embeddable persistent key-value store optimized for fast storage (flash and RAM)Spark SQL is a component on top of 'Spark Core' for structured data processingA 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 DBMSKey-value storeRelational DBMSKey-value store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.89
Rank#105  Overall
#53  Relational DBMS
Score4.00
Rank#84  Overall
#11  Key-value stores
Score19.15
Rank#33  Overall
#20  Relational DBMS
Score0.04
Rank#377  Overall
#58  Key-value stores
Websitecloud.google.com/­spannerrocksdb.orgspark.apache.org/­sqlgithub.com/­bytedance/­terarkdb
Technical documentationcloud.google.com/­spanner/­docsgithub.com/­facebook/­rocksdb/­wikispark.apache.org/­docs/­latest/­sql-programming-guide.htmlbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperGoogleFacebook, Inc.Apache Software FoundationByteDance, originally Terark
Initial release2017201320142016
Current release8.11.4, April 20243.5.0 ( 2.13), September 2023
License infoCommercial or Open SourcecommercialOpen Source infoBSDOpen Source infoApache 2.0commercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud serviceyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageC++ScalaC++
Server operating systemshostedLinuxLinux
OS X
Windows
Data schemeyesschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesnoyesno
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.nononono
Secondary indexesyesnonono
SQL infoSupport of SQLyes infoQuery statements complying to ANSI 2011noSQL-like DML and DDL statementsno
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
C++ API
Java API
JDBC
ODBC
C++ API
Java API
Supported programming languagesGo
Java
JavaScript (Node.js)
Python
C
C++
Go
Java
Perl
Python
Ruby
Java
Python
R
Scala
C++
Java
Server-side scripts infoStored proceduresnononono
Triggersnonono
Partitioning methods infoMethods for storing different data on different nodesShardinghorizontal partitioningyes, utilizing Spark Corenone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication with 3 replicas for regional instances.yesnonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infousing Google Cloud Dataflownono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integrityyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoStrict serializable isolationyesnono
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.noyesnoyes
User concepts infoAccess controlAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)nonono

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 partiesSpeedb: A high performance RocksDB-compliant key-value store optimized for write-intensive workloads.
» more

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

More resources
Google Cloud SpannerRocksDBSpark SQLTerarkDB
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

Google Cloud Spanner competes directly with Amazon DynamoDB
12 October 2023, Techzine Europe

provided by Google News

Pliops Unveils Accelerated Key-Value Store That Boosts RocksDB Performance by 20x at OCP Global Summit
18 October 2022, GlobeNewswire

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

Power your Kafka Streams application with Amazon MSK and AWS Fargate | Amazon Web Services
10 August 2021, AWS Blog

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

1.5 Years of Spark Knowledge in 8 Tips | by Michael Berk
23 December 2023, Towards Data Science

Run Apache Hive workloads using Spark SQL with Amazon EMR on EKS | Amazon Web Services
18 October 2023, AWS Blog

provided by Google News

A Chinese company is making the cloud 200x faster · TechNode
3 July 2017, TechNode

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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.

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

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.

Present your product here