DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > ClickHouse vs. CockroachDB vs. Microsoft SQL Server vs. PostgreSQL

System Properties Comparison ClickHouse vs. CockroachDB vs. Microsoft SQL Server vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameClickHouse  Xexclude from comparisonCockroachDB  Xexclude from comparisonMicrosoft SQL Server  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionA high-performance, column-oriented SQL DBMS for online analytical processing (OLAP) that uses all available system resources to their full potential to process each analytical query as fast as possible. It is available as both an open-source software and a cloud offering.CockroachDB 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.Microsofts flagship relational DBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMSRelational DBMSRelational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Secondary database modelsTime Series DBMSDocument store
Graph DBMS
Spatial DBMS
Document store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score15.88
Rank#37  Overall
#22  Relational DBMS
Score4.74
Rank#67  Overall
#36  Relational DBMS
Score807.76
Rank#3  Overall
#3  Relational DBMS
Score644.36
Rank#4  Overall
#4  Relational DBMS
Websiteclickhouse.comwww.cockroachlabs.comwww.microsoft.com/­en-us/­sql-serverwww.postgresql.org
Technical documentationclickhouse.com/­docswww.cockroachlabs.com/­docslearn.microsoft.com/­en-US/­sql/­sql-serverwww.postgresql.org/­docs
DeveloperClickhouse Inc.Cockroach LabsMicrosoftPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release2016201519891989 info1989: Postgres, 1996: PostgreSQL
Current releasev24.6.2.17-stable, July 202424.1.0, May 2024SQL Server 2022, November 202216.4, August 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoApache 2.0, commercial license availablecommercial inforestricted free version is availableOpen Source infoBSD
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.
  • ClickHouse Cloud: Get the performance you love from open source ClickHouse in a serverless offering that takes care of the details so you can spend more time getting insight out of the fastest database on earth.
  • DoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
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.PostgreSQL Flex @ STACKIT offers managed PostgreSQL Instances with adjustable CPU, RAM, storage amount and speed and several extensions available, in enterprise grade to perfectly match all application requirements. All 100% GDPR-compliant.
Implementation languageC++GoC++C
Server operating systemsFreeBSD
Linux
macOS
Linux
macOS
Windows
Linux
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesdynamic schemayesyes
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.nonoyesyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyesyes
SQL infoSupport of SQLClose to ANSI SQL (SQL/JSON + extensions)yes, wire compatible with PostgreSQLyesyes infostandard with numerous extensions
APIs and other access methodsgRPC
HTTP REST
JDBC
MySQL wire protocol
ODBC
PostgreSQL wire protocol
Proprietary protocol
JDBCADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesC# info3rd party library
C++
Elixir info3rd party library
Go info3rd party library
Java info3rd party library
JavaScript (Node.js) info3rd party library
Kotlin info3rd party library
Nim info3rd party library
Perl info3rd party library
PHP info3rd party library
Python info3rd party library
R info3rd party library
Ruby info3rd party library
Rust
Scala info3rd party library
C#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C#
C++
Delphi
Go
Java
JavaScript (Node.js)
PHP
Python
R
Ruby
Visual Basic
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresyesnoTransact SQL, .NET languages, R, Python and (with SQL Server 2019) Javauser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnonoyesyes
Partitioning methods infoMethods for storing different data on different nodeskey based and customhorizontal 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 RAFTtables can be distributed across several files (horizontal partitioning); sharding through federationpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesAsynchronous and synchronous physical replication; geographically distributed replicas; support for object storages.Multi-source replication using RAFTyes, but depending on the SQL-Server EditionSource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACIDACID
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.yesnoyesno
User concepts infoAccess controlAccess rights for users and roles. Column and row based policies. Quotas and resource limits. Pluggable authentication with LDAP and Kerberos. Password based, X.509 certificate, and SSH key authentication.Role-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 partiesDoubleCloud: Fully managed ClickHouse alongside best-in-class managed open-source services to build analytics at scale.
» more
Navicat 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
Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

CYBERTEC is your professional partner in PostgreSQL topics for over 20 years. As our main aim is to be your single-source all-in-one IT service provider, we offer a wide range of products and services. Visit our website for more details.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» more

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

More resources
ClickHouseCockroachDBMicrosoft SQL ServerPostgreSQL
DB-Engines blog posts

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

PostgreSQL is the DBMS of the Year 2023
2 January 2024, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2022, defending the title from last year
3 January 2023, Matthias Gelbmann, Paul Andlinger

Snowflake is the DBMS of the Year 2021
3 January 2022, Paul Andlinger, Matthias Gelbmann

show all

Conferences, events and webinars

PASS Data Community Summit
Seattle, Washington, 4-8 November 2024

PASS Data Community Summit
Seattle, Washington, 4-8 November 2024

Recent citations in the news

Real-time database startup ClickHouse acquires PeerDB to expand its Postgres support
30 July 2024, TechCrunch

A Beginner’s Guide to ClickHouse Database
13 September 2024, KDnuggets

Azur Games migrates all game analytics data to ClickHouse Cloud on AWS
16 July 2024, AWS Blog

Database startup ClickHouse Announces PeerDB Acquistion
31 July 2024, Tech Times

ClickHouse Acquires PeerDB to Advance Postgres CDC Integration Solutions
1 August 2024, Datanami

provided by Google News

Cockroach Labs shakes up its licensing to force bigger companies to pay
15 August 2024, TechCrunch

CockroachDB scuttles away from open source Core offering
19 August 2024, The Register

CockroachDB retires self-hosted Core offering, makes Enterprise version free for companies under $10M in annual revenue
15 August 2024, SDTimes.com

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

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

provided by Google News

Migrate SQL Server databases to Babelfish for Aurora PostgreSQL using change tracking with a linked server
24 September 2024, AWS Blog

Contractor Software Targeted via Microsoft SQL Server Loophole
18 September 2024, Dark Reading

Getting started with delivering generative AI capabilities in SQL Server and Azure SQL
26 June 2024, Microsoft

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

Mastering the SQL Server command-line interface
30 May 2024, SitePoint

provided by Google News

Migrate SQL Server databases to Babelfish for Aurora PostgreSQL using change tracking with a linked server
24 September 2024, AWS Blog

Supabase raises $80m to expand PostgreSQL platform
25 September 2024, StartupNews.fyi

PostgreSQL tutorial: Get started with PostgreSQL 16
4 September 2024, InfoWorld

PostgreSQL databases under attack
21 August 2024, Help Net Security

MongoDB takes a swing at PostgreSQL after claiming wins against rival
30 August 2024, The Register

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

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.

Present your product here