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

DBMS > Microsoft Azure Cosmos DB vs. PostgreSQL vs. Stardog vs. TerarkDB

System Properties Comparison Microsoft Azure Cosmos DB vs. PostgreSQL vs. Stardog vs. TerarkDB

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 comparisonStardog  Xexclude from comparisonTerarkDB  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 SQLEnterprise Knowledge Graph platform and graph DBMS with high availability, high performance reasoning, and virtualizationA 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 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.Graph DBMS
RDF store
Key-value store
Secondary database modelsSpatial DBMSDocument 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
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.02
Rank#123  Overall
#11  Graph DBMS
#6  RDF stores
Score0.00
Rank#383  Overall
#60  Key-value stores
Websiteazure.microsoft.com/­services/­cosmos-dbwww.postgresql.orgwww.stardog.comgithub.com/­bytedance/­terarkdb
Technical documentationlearn.microsoft.com/­azure/­cosmos-dbwww.postgresql.org/­docsdocs.stardog.combytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKc
DeveloperMicrosoftPostgreSQL Global Development Group infowww.postgresql.org/­developerStardog-UnionByteDance, originally Terark
Initial release20141989 info1989: Postgres, 1996: PostgreSQL20102016
Current release16.2, February 20247.3.0, May 2020
License infoCommercial or Open SourcecommercialOpen Source infoBSDcommercial info60-day fully-featured trial license; 1-year fully-featured non-commercial use license for academics/studentscommercial inforestricted open source version available
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.
Implementation languageCJavaC++
Server operating systemshostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
macOS
Windows
Data schemeschema-freeyesschema-free and OWL/RDFS-schema supportschema-free
Typing infopredefined data types such as float or dateyes infoJSON typesyesyesno
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 infoImport/export of XML data possibleno
Secondary indexesyes infoAll properties auto-indexed by defaultyesyes infosupports real-time indexing in full-text and geospatialno
SQL infoSupport of SQLSQL-like query languageyes infostandard with numerous extensionsYes, compatible with all major SQL variants through dedicated BI/SQL Serverno
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
GraphQL query language
HTTP API
Jena RDF API
OWL
RDF4J API
Sesame REST HTTP Protocol
SNARL
SPARQL
Spring Data
Stardog Studio
TinkerPop 3
C++ API
Java API
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
Clojure
Groovy
Java
JavaScript
Python
Ruby
C++
Java
Server-side scripts infoStored proceduresJavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.user defined functions and aggregates, HTTP Server extensions in Javano
TriggersJavaScriptyesyes infovia event handlersno
Partitioning methods infoMethods for storing different data on different nodesSharding infoImplicit feature of the cloud servicepartitioning by range, list and (since PostgreSQL 11) by hashnonenone
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 replication in HA-Clusternone
MapReduce infoOffers an API for user-defined Map/Reduce methodswith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*nonono
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 ConsistencyImmediate Consistency in HA-Cluster
Foreign keys infoReferential integritynoyesyes inforelationships in graphsno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataMulti-item ACID transactions with snapshot isolation within a partitionACIDACIDno
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.noyesyes
User concepts infoAccess controlAccess rights can be defined down to the item levelfine grained access rights according to SQL-standardAccess rights for users and rolesno

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
pgDash: In-Depth PostgreSQL Monitoring.
» more

Navicat Monitor is a safe, simple and agentless remote server monitoring tool for PostgreSQL and many other database management systems.
» 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

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» 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

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

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

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» 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

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 DocumentDBPostgreSQLStardogTerarkDB
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

Public preview: Change partition key of a container in Azure Cosmos DB (NoSQL API) | Azure updates
27 March 2024, azure.microsoft.com

General availability: PgAudit in Azure Cosmos DB for PostgreSQL | Azure updates
31 January 2024, azure.microsoft.com

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

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

Baffle Delivers Enterprise-Grade Data Security for PostgreSQL on Amazon RDS and Amazon Aurora
1 May 2024, Yahoo Finance

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

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

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

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.

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

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

Present your product here