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

DBMS > Elasticsearch vs. Microsoft Azure Cosmos DB vs. Spark SQL vs. TerarkDB

System Properties Comparison Elasticsearch 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
NameElasticsearch  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparisonSpark SQL  Xexclude from comparisonTerarkDB  Xexclude from comparison
DescriptionA distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricGlobally 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 modelSearch engineDocument store
Graph DBMS
Key-value store
Wide column store
Relational DBMSKey-value store
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score134.78
Rank#7  Overall
#1  Search engines
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.elastic.co/­elasticsearchazure.microsoft.com/­services/­cosmos-dbspark.apache.org/­sqlgithub.com/­bytedance/­terarkdb
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmllearn.microsoft.com/­azure/­cosmos-dbspark.apache.org/­docs/­latest/­sql-programming-guide.htmlbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperElasticMicrosoftApache Software FoundationByteDance, originally Terark
Initial release2010201420142016
Current release8.6, January 20233.5.0 ( 2.13), September 2023
License infoCommercial or Open SourceOpen Source infoElastic LicensecommercialOpen 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 schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentschema-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 indexesyes infoAll search fields are automatically indexedyes infoAll properties auto-indexed by defaultnono
SQL infoSupport of SQLSQL-like query languageSQL-like query languageSQL-like DML and DDL statementsno
APIs and other access methodsJava API
RESTful HTTP/JSON API
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
JDBC
ODBC
C++ API
Java API
Supported programming languages.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
.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 proceduresyesJavaScriptnono
Triggersyes infoby using the 'percolation' featureJavaScriptnono
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoImplicit feature of the cloud serviceyes, utilizing Spark Corenone
Replication methods infoMethods for redundantly storing data on multiple nodesyesyes infoImplicit feature of the cloud servicenonenone
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectorwith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*no
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Foreign keys infoReferential integritynononono
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoMulti-item ACID transactions with snapshot isolation within a partitionnono
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.Memcached and Redis integrationnoyes
User concepts infoAccess controlAccess 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
ElasticsearchMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDBSpark SQLTerarkDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2017
2 January 2018, Paul Andlinger, Matthias Gelbmann

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

Recent citations in the news

Introducing Elasticsearch Vector Database to Azure OpenAI Service On Your Data (Preview)
26 March 2024, insider.govtech.com

Splunk vs Elasticsearch | A Comparison and How to Choose
12 January 2024, SentinelOne

Elasticsearch Open Inference API Supports Cohere Rerank 3
11 April 2024, Business Wire

ElasticSearch Goes Deep on OpenTelemetry with eBPF Donation
13 March 2024, The New Stack

Mastering Elasticsearch: A Beginner's Guide to Powerful Searches and Precision — Part 1
21 November 2023, Towards Data Science

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

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

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.

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

SingleStore logo

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

Present your product here