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

DBMS > 4D vs. Microsoft Azure Cosmos DB vs. PostgreSQL vs. Realm

System Properties Comparison 4D vs. Microsoft Azure Cosmos DB vs. PostgreSQL vs. Realm

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
Name4D infoformer name: 4th Dimension  Xexclude from comparisonMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDB  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRealm  Xexclude from comparison
DescriptionApplication development environment with integrated database management systemGlobally distributed, horizontally scalable, multi-model database serviceWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLA DBMS built for use on mobile devices that’s a fast, easy to use alternative to SQLite and Core Data
Primary database modelRelational DBMSDocument 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 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
Score2.58
Rank#108  Overall
#54  Relational DBMS
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
Score7.60
Rank#52  Overall
#9  Document stores
Websitewww.4d.comazure.microsoft.com/­services/­cosmos-dbwww.postgresql.orgrealm.io
Technical documentationdeveloper.4d.comlearn.microsoft.com/­azure/­cosmos-dbwww.postgresql.org/­docsrealm.io/­docs
Developer4D, IncMicrosoftPostgreSQL Global Development Group infowww.postgresql.org/­developerRealm, acquired by MongoDB in May 2019
Initial release198420141989 info1989: Postgres, 1996: PostgreSQL2014
Current releasev20, April 202316.3, May 2024
License infoCommercial or Open SourcecommercialcommercialOpen Source infoBSDOpen Source
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.
  • 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.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageC
Server operating systemsOS X
Windows
hostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Android
Backend: server-less
iOS
Windows
Data schemeyesschema-freeyesyes
Typing infopredefined data types such as float or dateyesyes infoJSON typesyesyes
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.yesyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyes infoAll properties auto-indexed by defaultyesyes
SQL infoSupport of SQLyes infoclose to SQL 92SQL-like query languageyes infostandard with numerous extensionsno
APIs and other access methodsODBC
RESTful HTTP API infoby using 4D Mobile
SOAP webservices
DocumentDB API
Graph API (Gremlin)
MongoDB API
RESTful HTTP API
Table API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languages4D proprietary IDE
PHP
.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
Java infowith Android only
Objective-C
React Native
Swift
Server-side scripts infoStored proceduresyesJavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no inforuns within the applications so server-side scripts are unnecessary
TriggersyesJavaScriptyesyes infoChange Listeners
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infoImplicit feature of the cloud servicepartitioning by range, list and (since PostgreSQL 11) by hashnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replicationyes infoImplicit feature of the cloud serviceSource-replica replication infoother methods possible by using 3rd party extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnowith Hadoop integration infoIntegration with Hadoop/HDInsight on Azure*nono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyBounded Staleness
Consistent Prefix
Eventual Consistency
Immediate Consistency infoConsistency level configurable on request level
Session Consistency
Immediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDMulti-item ACID transactions with snapshot isolation within a partitionACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
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.nonoyes infoIn-Memory realm
User concepts infoAccess controlUsers and groupsAccess rights can be defined down to the item levelfine grained access rights according to SQL-standardyes

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

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» 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

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

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

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

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

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

More resources
4D infoformer name: 4th DimensionMicrosoft Azure Cosmos DB infoformer name was Azure DocumentDBPostgreSQLRealm
DB-Engines blog posts

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, 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

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

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

General Availability: Data API builder | Azure updates
15 May 2024, azure.microsoft.com

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

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

Microsoft Ships Data API Builder for Azure SQL Databases
15 May 2024, Visual Studio Magazine

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

provided by Google News

Distributed PostgreSQL Buyers Guide
16 May 2024, Database Trends and Applications

Continuously replicate Amazon DynamoDB changes to Amazon Aurora PostgreSQL using AWS Lambda | Amazon ...
14 May 2024, AWS Blog

SolarWinds Unveils Enhanced Database Performance Analyzer with Advanced PostgreSQL Support
14 May 2024, Business Wire

ServiceNow trades MariaDB for RaptorDB (PostgreSQL)
13 May 2024, Techzine Europe

anynines Launches Quick & Easy PostgreSQL Management in Local Kubernetes Clusters with a9s CLI
16 May 2024, PR Web

provided by Google News

MongoDB aims to unify developer experience with launch of MongoDB Cloud
9 June 2020, diginomica

Is Swift the Future of Server-side Development?
12 September 2017, Solutions Review

Here are the winners of Nordic Startup Awards
31 May 2016, EU-Startups

Kotlin Programming Language Will Surpass Java On Android Next Year
15 October 2017, Fossbytes

Java Synthetic Methods — What are these? | by Vaibhav Singh
27 February 2021, DataDrivenInvestor

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.

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

Database for your real-time AI and Analytics Apps.
Try it today.

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.

Present your product here