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 > H2 vs. Microsoft Azure Cosmos DB vs. Spark SQL vs. TerarkDB

System Properties Comparison H2 vs. Microsoft Azure Cosmos DB vs. Spark SQL vs. TerarkDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameH2  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparisonSpark SQL  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Globally distributed, horizontally scalable, multi-model database serviceSpark 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 DBMSDocument store
Graph DBMS
Key-value store
Wide column store
Relational DBMSKey-value store
Secondary database modelsSpatial DBMSSpatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score8.22
Rank#50  Overall
#32  Relational DBMS
Score29.85
Rank#27  Overall
#4  Document stores
#2  Graph DBMS
#3  Key-value stores
#3  Wide column stores
Score19.15
Rank#33  Overall
#20  Relational DBMS
Score0.04
Rank#377  Overall
#58  Key-value stores
Websitewww.h2database.comazure.microsoft.com/­services/­cosmos-dbspark.apache.org/­sqlgithub.com/­bytedance/­terarkdb
Technical documentationwww.h2database.com/­html/­main.htmllearn.microsoft.com/­azure/­cosmos-dbspark.apache.org/­docs/­latest/­sql-programming-guide.htmlbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperThomas MuellerMicrosoftApache Software FoundationByteDance, originally Terark
Initial release2005201420142016
Current release2.2.220, July 20233.5.0 ( 2.13), September 2023
License infoCommercial or Open SourceOpen Source infodual-licence (Mozilla public license, Eclipse public license)commercialOpen Source infoApache 2.0commercial inforestricted open source version available
Cloud-based only infoOnly available as a cloud servicenoyesnono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJavaScalaC++
Server operating systemsAll OS with a Java VMhostedLinux
OS X
Windows
Data schemeyesschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyes infoJSON typesyesno
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 defaultnono
SQL infoSupport of SQLyesSQL-like query languageSQL-like DML and DDL statementsno
APIs and other access methodsJDBC
ODBC
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
JDBC
ODBC
C++ API
Java API
Supported programming languagesJava.Net
C#
Java
JavaScript
JavaScript (Node.js)
MongoDB client drivers written for various programming languages
Python
Java
Python
R
Scala
C++
Java
Server-side scripts infoStored proceduresJava Stored Procedures and User-Defined FunctionsJavaScriptnono
TriggersyesJavaScriptnono
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infoImplicit feature of the cloud serviceyes, utilizing Spark Corenone
Replication methods infoMethods for redundantly storing data on multiple nodesWith clustering: 2 database servers on different computers operate on identical copies of a databaseyes infoImplicit feature of the cloud servicenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnowith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*no
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 integrityyesnonono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-item ACID transactions with snapshot isolation within a partitionnono
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yesyesyes
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.yesnoyes
User concepts infoAccess controlfine grained access rights according to SQL-standardAccess 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

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

More resources
H2Microsoft Azure Cosmos DB infoformer name was Azure DocumentDBSpark SQLTerarkDB
Recent citations in the news

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

General availability: PgAudit in Azure Cosmos DB for PostgreSQL | Azure updates
31 January 2024, Microsoft

Azure Synapse Link for Cosmos DB: New Analytics Capabilities
10 November 2023, InfoQ.com

How to Migrate Azure Cosmos DB Databases | by Arwin Lashawn
25 August 2023, DataDrivenInvestor

Azure Cosmos DB joins the AI toolchain
23 May 2023, InfoWorld

provided by Google News

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

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

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

Cloudera: Impala's it for interactive SQL on Hadoop; everything else will move to Spark
11 April 2024, Yahoo Movies Canada

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

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

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.

Neo4j logo

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

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

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

Present your product here