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 > Microsoft Azure Cosmos DB vs. PostgreSQL vs. RavenDB vs. TiDB

System Properties Comparison Microsoft Azure Cosmos DB vs. PostgreSQL vs. RavenDB vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRavenDB  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionGlobally distributed, horizontally scalable, multi-model database serviceWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLOpen Source Operational and Transactional Enterprise NoSQL Document DatabaseTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelDocument store
Graph DBMS
Key-value store
Wide column store
Relational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Document storeRelational DBMS
Secondary database modelsSpatial DBMSDocument store
Graph DBMS infowith Apache Age
Spatial DBMS
Vector DBMS infowith pgvector extension
Graph DBMS
Spatial DBMS
Time Series DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score29.04
Rank#27  Overall
#4  Document stores
#2  Graph DBMS
#3  Key-value stores
#3  Wide column stores
Score645.54
Rank#4  Overall
#4  Relational DBMS
Score2.92
Rank#101  Overall
#18  Document stores
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websiteazure.microsoft.com/­services/­cosmos-dbwww.postgresql.orgravendb.netpingcap.com
Technical documentationlearn.microsoft.com/­azure/­cosmos-dbwww.postgresql.org/­docsravendb.net/­docsdocs.pingcap.com/­tidb/­stable
DeveloperMicrosoftPostgreSQL Global Development Group infowww.postgresql.org/­developerHibernating RhinosPingCAP, Inc.
Initial release20141989 info1989: Postgres, 1996: PostgreSQL20102016
Current release16.3, May 20245.4, July 20228.0.0, March 2024
License infoCommercial or Open SourcecommercialOpen Source infoBSDOpen Source infoAGPL version 3, commercial license availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceyesnonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageCC#Go, Rust
Server operating systemshostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
macOS
Raspberry Pi
Windows
Linux
Data schemeschema-freeyesschema-freeyes
Typing infopredefined data types such as float or dateyes infoJSON typesyesnoyes
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.yes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyes infoAll properties auto-indexed by defaultyesyesyes
SQL infoSupport of SQLSQL-like query languageyes infostandard with numerous extensionsSQL-like query language (RQL)yes
APIs and other access methodsDocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
.NET Client API
F# Client API
Go Client API
Java Client API
NodeJS Client API
PHP Client API
Python Client API
RESTful HTTP API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languages.Net
C#
Java
JavaScript
JavaScript (Node.js)
MongoDB client drivers written for various programming languages
Python
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
.Net
C#
F#
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Server-side scripts infoStored proceduresJavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.yesno
TriggersJavaScriptyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding infoImplicit feature of the cloud servicepartitioning by range, list and (since PostgreSQL 11) by hashShardinghorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyes infoImplicit feature of the cloud serviceSource-replica replication infoother methods possible by using 3rd party extensionsMulti-source replicationUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodswith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*noyesyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Immediate ConsistencyDefault ACID transactions on the local node (eventually consistent across the cluster). Atomic operations with cluster-wide ACID transactions. Eventual consistency for indexes and full-text search indexes.Immediate Consistency
Foreign keys infoReferential integritynoyesnoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataMulti-item ACID transactions with snapshot isolation within a partitionACIDACID, Cluster-wide transaction availableACID
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.nono
User concepts infoAccess controlAccess rights can be defined down to the item levelfine grained access rights according to SQL-standardAuthorization levels configured per client per databaseFine grained access rights according to SQL-standard
More information provided by the system vendor
Microsoft Azure Cosmos DB infoformer name was Azure DocumentDBPostgreSQLRavenDBTiDB
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» 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
3rd partiesCData: Connect to Big Data & NoSQL through standard Drivers.
» more
Redgate webinars: A series of key topics for new PostgreSQL users.
» 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 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

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

Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Fujitsu Enterprise Postgres: An Enterprise Grade PostgreSQL with the flexibility of a hybrid cloud solution combined with industry leading security, availability and performance.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

Timescale: Calling all PostgreSQL users – the 2023 State of PostgreSQL survey is now open! Share your favorite extensions, preferred frameworks, community experiences, and more. Take the survey today!
» more

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

More resources
Microsoft Azure Cosmos DB infoformer name was Azure DocumentDBPostgreSQLRavenDBTiDB
DB-Engines blog posts

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

Monitoring PostgreSQL with Redgate Monitor
Webinar, 10-11am CT / 4-5pm BST, 22 May 2024

Recent citations in the news

Start your AI journey with Microsoft Azure Cosmos DB—compete for $10K
9 May 2024, Microsoft

Public preview: Change partition key of a container in Azure Cosmos DB (NoSQL API) | Azure updates
27 March 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

Microsoft Benchmarks Distributed PostgreSQL DBs
10 July 2023, Datanami

provided by Google News

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, Oracle

Automatically Generate Types for Your PostgreSQL Database
1 May 2024, The New Stack

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

Your MySQL 5.7 and PostgreSQL 11 databases will be automatically enrolled into Amazon RDS Extended Support ...
21 December 2023, AWS Blog

Why PostgreSQL Is the Bedrock for the Future of Data
26 April 2024, hackernoon.com

provided by Google News

RavenDB Launches Version 6.0 Lightning Fast Queries, Data Integrations, Corax Indexing Engine, and Sharding
3 October 2023, PR Newswire

RavenDB Welcomes David Baruc as Chief Revenue Officer: Seasoned Tech Leader to Drive Global Sales and ...
13 June 2023, PR Newswire

Install the NoSQL RavenDB Data System
14 May 2021, The New Stack

RavenDB Adds Graph Queries
15 May 2019, Datanami

How I Created a RavenDB Python Client
23 September 2016, Visual Studio Magazine

provided by Google News

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

Unlocking performance, scalability, and cost-efficiency of Zomato's Billing Platform by switching from TiDB to ...
22 December 2023, AWS Blog

provided by Google News



Share this page

Featured Products

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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.

Present your product here