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

DBMS > CockroachDB vs. Elasticsearch vs. IBM Db2 vs. Microsoft SQL Server

System Properties Comparison CockroachDB vs. Elasticsearch vs. IBM Db2 vs. Microsoft SQL Server

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonElasticsearch  Xexclude from comparisonIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMicrosoft SQL Server  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.A 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 metricCommon in IBM host environments, 2 different versions for host and Windows/LinuxMicrosofts flagship relational DBMS
Primary database modelRelational DBMSSearch engineRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Vector DBMS
Document store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Graph DBMS
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.15
Rank#55  Overall
#33  Relational DBMS
Score135.35
Rank#7  Overall
#1  Search engines
Score128.46
Rank#8  Overall
#5  Relational DBMS
Score824.29
Rank#3  Overall
#3  Relational DBMS
Websitewww.cockroachlabs.comwww.elastic.co/­elasticsearchwww.ibm.com/­products/­db2www.microsoft.com/­en-us/­sql-server
Technical documentationwww.cockroachlabs.com/­docswww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlwww.ibm.com/­docs/­en/­db2learn.microsoft.com/­en-US/­sql/­sql-server
DeveloperCockroach LabsElasticIBMMicrosoft
Initial release201520101983 infohost version1989
Current release23.1.1, May 20238.6, January 202312.1, October 2016SQL Server 2022, November 2022
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availableOpen Source infoElastic Licensecommercial infofree version is availablecommercial inforestricted free version is available
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
SQLServer Flex @ STACKIT offers a managed version of SQL Server with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
Implementation languageGoJavaC and C++C++
Server operating systemsLinux
macOS
Windows
All OS with a Java VMAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
Windows
Data schemedynamic schemaschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesyes
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.nonoyes
Secondary indexesyesyes infoAll search fields are automatically indexedyesyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLSQL-like query languageyesyes
APIs and other access methodsJDBCJava API
RESTful HTTP/JSON API
ADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
C
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C#
C++
Delphi
Go
Java
JavaScript (Node.js)
PHP
Python
R
Ruby
Visual Basic
Server-side scripts infoStored proceduresnoyesyesTransact SQL, .NET languages, R, Python and (with SQL Server 2019) Java
Triggersnoyes infoby using the 'percolation' featureyesyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTShardingSharding infoonly with Windows/Unix/Linux Versiontables can be distributed across several files (horizontal partitioning); sharding through federation
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyesyes infowith separate tools (MQ, InfoSphere)yes, but depending on the SQL-Server Edition
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoES-Hadoop Connectornono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate Consistency
Foreign keys infoReferential integrityyesnoyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoACIDACID
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.noMemcached and Redis integrationyes
User concepts infoAccess controlRole-based access controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standard

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 partiesNavicat for SQL Server gives you a fully graphical approach to database management and development.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for SQL Server and many other database management systems.
» more

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

More resources
CockroachDBElasticsearchIBM Db2 infoformerly named DB2 or IBM Database 2Microsoft SQL Server
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

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

Recent citations in the news

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

DoorDash Uses CockroachDB to Create Config Management Platform for Microservices
14 February 2024, InfoQ.com

provided by Google News

Elasticsearch Open Inference API Now Supports Microsoft Azure AI Studio
22 May 2024, Business Wire

Announcing Search AI Lake and Elastic Cloud Serverless to Scale Low Latency Search
21 May 2024, insider.govtech.com

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

Netflix Uses Elasticsearch Percolate Queries to Implement Reverse Searches Efficiently
29 April 2024, InfoQ.com

Elasticsearch Delivers Performance Increase for Users Running the Elastic Search AI Platform on Arm-based ...
21 May 2024, Business Wire

provided by Google News

Announcing Amazon RDS for Db2 with license through AWS Marketplace | Amazon Web Services
21 May 2024, AWS Blog

IBM Collaborates with AWS to Launch a New Cloud Database Offering, Enabling Customers to Optimize Data ...
27 November 2023, IBM Newsroom

IBM's vintage Db2 database jumps on AWS's cloud bandwagon
29 November 2023, The Register

Precisely says it's smoothing migration of Db2 analytics data to AWS cloud – Blocks and Files
5 April 2024, Blocks & Files

Precisely Supports Amazon RDS for Db2 Service with Real-Time Data Integration Capabilities
3 April 2024, precisely.com

provided by Google News

A generative AI use case using Amazon RDS for SQL Server as a vector data store | Amazon Web Services
22 May 2024, AWS Blog

SQL Server vNext: When and What Is Coming
16 May 2024, redmondmag.com

Data Virtualization in SQL Server 2022
7 May 2024, Visual Studio Magazine

SQL Server 2014 end of support: Keep your customers secure
28 March 2024, microsoft.com

How to Know When It's Time for a Microsoft SQL Server Upgrade
31 October 2023, BizTech Magazine

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

Milvus logo

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

Neo4j logo

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Present your product here