DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Amazon DocumentDB vs. Google Cloud Spanner vs. Spark SQL vs. TypeDB

System Properties Comparison Amazon DocumentDB vs. Google Cloud Spanner vs. Spark SQL vs. TypeDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameAmazon DocumentDB  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonSpark SQL  Xexclude from comparisonTypeDB infoformerly named Grakn  Xexclude from comparison
DescriptionFast, scalable, highly available, and fully managed MongoDB-compatible database serviceA 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.Spark SQL is a component on top of 'Spark Core' for structured data processingTypeDB is a strongly-typed database with a rich and logical type system and TypeQL as its query language
Primary database modelDocument storeRelational DBMSRelational DBMSGraph DBMS
Relational DBMS infoOften described as a 'hyper-relational' database, since it implements the 'Entity-Relationship Paradigm' to manage complex data structures and ontologies.
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1.91
Rank#132  Overall
#24  Document stores
Score2.89
Rank#103  Overall
#52  Relational DBMS
Score18.96
Rank#33  Overall
#20  Relational DBMS
Score0.65
Rank#234  Overall
#20  Graph DBMS
#107  Relational DBMS
Websiteaws.amazon.com/­documentdbcloud.google.com/­spannerspark.apache.org/­sqltypedb.com
Technical documentationaws.amazon.com/­documentdb/­resourcescloud.google.com/­spanner/­docsspark.apache.org/­docs/­latest/­sql-programming-guide.htmltypedb.com/­docs
DeveloperGoogleApache Software FoundationVaticle
Initial release2019201720142016
Current release3.5.0 ( 2.13), September 20232.26.3, January 2024
License infoCommercial or Open SourcecommercialcommercialOpen Source infoApache 2.0Open Source infoGPL Version 3, commercial licenses 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 languageScalaJava
Server operating systemshostedhostedLinux
OS X
Windows
Linux
OS X
Windows
Data schemeschema-freeyesyesyes
Typing infopredefined data types such as float or dateyesyesyesyes
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 indexesyesyesnoyes
SQL infoSupport of SQLnoyes infoQuery statements complying to ANSI 2011SQL-like DML and DDL statementsno
APIs and other access methodsproprietary protocol using JSON (MongoDB compatible)gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
RESTful HTTP API
JDBC
ODBC
gRPC protocol
TypeDB Console (shell)
TypeDB Studio (Visualisation software- previously TypeDB Workbase)
Supported programming languagesGo
Java
JavaScript (Node.js)
PHP
Python
Go
Java
JavaScript (Node.js)
Python
Java
Python
R
Scala
All JVM based languages
Groovy
Java
JavaScript (Node.js)
Python
Scala
Server-side scripts infoStored proceduresnononono
Triggersnononono
Partitioning methods infoMethods for storing different data on different nodesnoneShardingyes, utilizing Spark CoreSharding infoby using Cassandra
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-availability zones for high availability, asynchronous replication for up to 15 read replicasMulti-source replication with 3 replicas for regional instances.noneMulti-source replication infoby using Cassandra
MapReduce infoOffers an API for user-defined Map/Reduce methodsno infomay be implemented via Amazon Elastic MapReduce (Amazon EMR)yes infousing Google Cloud Dataflowyes infoby using Apache Kafka and Apache Zookeeper
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possibleyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integritynono infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataAtomic single-document operationsACID infoStrict serializable isolationnoACID
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.nonono
User concepts infoAccess controlAccess rights for users and rolesAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)noyes infoat REST API level; other APIs in progress
More information provided by the system vendor
Amazon DocumentDBGoogle Cloud SpannerSpark SQLTypeDB infoformerly named Grakn
Specific characteristicsTypeDB is a polymorphic database with a conceptual data model, a strong subtyping...
» more
Competitive advantagesTypeDB provides a new level of expressivity, extensibility, interoperability, and...
» more
Typical application scenariosLife sciences : TypeDB makes working with biological data much easier and accelerates...
» more
Licensing and pricing modelsApache f or language drivers, and AGPL and Commercial for the database server. The...
» 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
Amazon DocumentDBGoogle Cloud SpannerSpark SQLTypeDB infoformerly named Grakn
Recent citations in the news

Use LangChain and vector search on Amazon DocumentDB to build a generative AI chatbot | Amazon Web Services
20 May 2024, AWS Blog

Vector search for Amazon DocumentDB (with MongoDB compatibility) is now generally available | Amazon Web Services
29 November 2023, AWS Blog

Use headless clusters in Amazon DocumentDB for cost-effective multi-Region resiliency | Amazon Web Services
8 March 2024, AWS Blog

Game Developer's Guide to Amazon DocumentDB (with MongoDB compatibility) Part Three: Operation Best Practices ...
25 January 2024, AWS Blog

Reduce cost and improve performance by migrating to Amazon DocumentDB 5.0 | Amazon Web Services
15 April 2024, AWS Blog

provided by Google 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

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

Performant IPv4 Range Spark Joins | by Jean-Claude Cote
24 January 2024, Towards Data Science

18 Top Big Data Tools and Technologies to Know About in 2024
24 January 2024, TechTarget

provided by Google News

An Enterprise Data Stack Using TypeDB | by Daniel Crowe
2 September 2021, Towards Data Science

Speedb Goes Open Source With Its Speedb Data Engine, A Drop-in Replacement for RocksDB
9 November 2022, businesswire.com

195 Data Science Libraries You Should Reconsider Using | by Dimitris Effrosynidis
2 February 2024, DataDrivenInvestor

Modelling Biomedical Data for a Drug Discovery Knowledge Graph
6 October 2020, Towards Data Science

How Roche Discovered Novel Potential Gene Targets with TypeDB
8 June 2021, Towards Data Science

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

Neo4j logo

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

Milvus logo

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

Present your product here