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

DBMS > CrateDB vs. Firebase Realtime Database vs. MongoDB vs. PostgreSQL

System Properties Comparison CrateDB vs. Firebase Realtime Database vs. MongoDB vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCrateDB  Xexclude from comparisonFirebase Realtime Database  Xexclude from comparisonMongoDB  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionDistributed Database based on LuceneCloud-hosted realtime document store. iOS, Android, and JavaScript clients share one Realtime Database instance and automatically receive updates with the newest data.One of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelDocument store
Spatial DBMS
Search engine
Time Series DBMS
Vector DBMS
Document storeDocument storeRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Secondary database modelsRelational DBMSSpatial DBMS
Search engine infointegrated Lucene index, currently in MongoDB Atlas only.
Time Series DBMS infoTime Series Collections introduced in Release 5.0
Vector DBMS infocurrently available in the MongoDB Atlas cloud service only
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
Score0.71
Rank#227  Overall
#37  Document stores
#5  Spatial DBMS
#16  Search engines
#19  Time Series DBMS
#8  Vector DBMS
Score13.64
Rank#39  Overall
#6  Document stores
Score421.08
Rank#5  Overall
#1  Document stores
Score636.25
Rank#4  Overall
#4  Relational DBMS
Websitecratedb.comfirebase.google.com/­products/­realtime-databasewww.mongodb.comwww.postgresql.org
Technical documentationcratedb.com/­docsfirebase.google.com/­docs/­databasewww.mongodb.com/­docs/­manualwww.postgresql.org/­docs
DeveloperCrateGoogle infoacquired by Google 2014MongoDB, IncPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release2013201220091989 info1989: Postgres, 1996: PostgreSQL
Current release6.0.7, June 202316.3, May 2024
License infoCommercial or Open SourceOpen SourcecommercialOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source infoBSD
Cloud-based only infoOnly available as a cloud servicenoyesno infoMongoDB available as DBaaS (MongoDB Atlas)no
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CrateDB Cloud: a distributed SQL database that spreads data and processing across an elastic cluster of shared nothing nodes. CrateDB Cloud enables data insights at scale on Microsoft Azure, AWS and Google Cloud Platform.
  • MongoDB Flex @ STACKIT offers managed MongoDB Instances with adjustable CPU, RAM, storage amount and speed, in enterprise grade to perfectly match all application requirements. All services are 100% GDPR-compliant.
  • MongoDB Atlas: Global multi-cloud database with unmatched data distribution and mobility across AWS, Azure, and Google Cloud, built-in automation for resource and workload optimization, and so much more.
  • 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 languageJavaC++C
Server operating systemsAll Operating Systems, including Kubernetes with CrateDB Kubernetes Operator supporthostedLinux
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeFlexible Schema (defined schema, partial schema, schema free)schema-freeschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.yes
Typing infopredefined data types such as float or dateyesyesyes infostring, integer, double, decimal, boolean, date, object_id, geospatialyes
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 infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyesyes
SQL infoSupport of SQLyes, but no triggers and constraints, and PostgreSQL compatibilitynoRead-only SQL queries via the MongoDB Atlas SQL Interfaceyes infostandard with numerous extensions
APIs and other access methodsADO.NET
JDBC
ODBC
PostgreSQL wire protocol
Prometheus Remote Read/Write
RESTful HTTP API
Android
iOS
JavaScript API
RESTful HTTP API
GraphQL
HTTP REST
Prisma
proprietary protocol using JSON
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languages.NET
Erlang
Go infocommunity maintained client
Java
JavaScript (Node.js) infocommunity maintained client
Perl infocommunity maintained client
PHP
Python
R
Ruby infocommunity maintained client
Scala infocommunity maintained client
Java
JavaScript
Objective-C
Actionscript infounofficial driver
C
C#
C++
Clojure infounofficial driver
ColdFusion infounofficial driver
D infounofficial driver
Dart infounofficial driver
Delphi infounofficial driver
Erlang
Go
Groovy infounofficial driver
Haskell
Java
JavaScript
Kotlin
Lisp infounofficial driver
Lua infounofficial driver
MatLab infounofficial driver
Perl
PHP
PowerShell infounofficial driver
Prolog infounofficial driver
Python
R infounofficial driver
Ruby
Rust
Scala
Smalltalk infounofficial driver
Swift
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresuser defined functions (Javascript)limited functionality with using 'rules'JavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
TriggersnoCallbacks are triggered when data changesyes infoin MongoDB Atlas onlyyes
Partitioning methods infoMethods for storing different data on different nodesShardingSharding infoPartitioned by hashed, ranged, or zoned sharding keys. Live resharding allows users to change their shard keys as an online operation with zero downtime.partitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesConfigurable replication on table/partition-levelMulti-Source deployments with MongoDB Atlas Global Clusters
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Read-after-write consistency on record level
Eventual Consistency infoif the client is offline
Immediate Consistency infoif the client is online
Eventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency
Foreign keys infoReferential integritynonono infotypically not used, however similar functionality with DBRef possibleyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infounique row identifiers can be used for implementing an optimistic concurrency control strategyyesMulti-document ACID Transactions with snapshot isolationACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyes infooptional, enabled by defaultyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlrights management via user accountsyes, based on authentication and database rulesAccess rights for users and rolesfine grained access rights according to SQL-standard
More information provided by the system vendor
CrateDBFirebase Realtime DatabaseMongoDBPostgreSQL
Specific characteristicsThe enterprise database for time series, documents, and vectors. Distributed - Native...
» more
MongoDB provides an integrated suite of cloud database and data services to accelerate...
» more
Competitive advantagesResponse time in milliseconds: e ven for complex ad-hoc queries. Massive scaling...
» more
Built around the flexible document data model and unified API, MongoDB is a developer...
» more
Typical application scenarios​ IoT: accelerate your IIoT projects with CrateDB, delivering real-time analytics...
» more
AI-enriched intelligent apps (Continental, Telefonica, Iron Mountain) Internet of...
» more
Key customersAcross all continents, CrateDB is used by companies of all sizes to meet the most...
» more
ADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Market metricsThe CrateDB open source project was started in 2013 Honorable Mention in 2021 Gartner®...
» more
Hundreds of millions downloads, over 150,000+ Atlas clusters provisioned every month...
» more
Licensing and pricing modelsSee CrateDB pricing >
» more
MongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» 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 partiesNavicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

Studio 3T: The world's favorite IDE for working with MongoDB
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» 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

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

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

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

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

More resources
CrateDBFirebase Realtime DatabaseMongoDBPostgreSQL
DB-Engines blog posts

Cloud-based DBMS's popularity grows at high rates
12 December 2019, Paul Andlinger

show all

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

PostgreSQL is the DBMS of the Year 2020
4 January 2021, Paul Andlinger, Matthias Gelbmann

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

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

Recent citations in the news

CrateDB Announces Availability of CrateDB on Google Cloud Marketplace
8 April 2024, Datanami

CrateDB Partners with HiveMQ to Deliver a Seamless Data Management Architecture for IoT
25 March 2024, PR Newswire

How We Designed CrateDB as a Realtime SQL DBMS for the Internet of Things
29 August 2017, The New Stack

Crate.io Expands CrateDB Cloud with the Launch of CrateDB Edge
15 April 2021, GlobeNewswire

Real-Time Analytics Database Company CrateDB Names Lars Färnström as New CEO
1 March 2023, Business Wire

provided by Google News

Realtime vs Cloud Firestore: Which Firebase Database to go?
8 March 2024, Appinventiv

Atos cybersecurity blog: Misconfigured Firebase: A real-time cyber threat
18 January 2024, Atos

Don't be like these 900+ websites and expose millions of passwords via Firebase
18 March 2024, The Register

Google Firebase may have exposed 125M records from misconfigurations
19 March 2024, SC Media

Hundreds of Google Firebase websites might have leaked data online
19 March 2024, TechRadar

provided by Google News

Analysts retool MongoDB stock price target after earnings
2 June 2024, TheStreet

Why MongoDB Stock Plunged Today
31 May 2024, Yahoo Finance

MongoDB loses nearly a quarter of its value after adjusting revenue forecasts
31 May 2024, The Register

MongoDB shares sink 23% after management trims guidance
30 May 2024, CNBC

Why MongoDB Stock Plunged Today
31 May 2024, The Motley Fool

provided by Google News

What Microsoft's Open Source PostgreSQL Acquisition Portends for SQL Server
1 June 2024, ITPro Today

How to implement a better like, views, comment counters in PostgreSQL?
28 May 2024, SitePoint

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

Enterprise DB begins rolling AI features into PostgreSQL
23 May 2024, SiliconANGLE News

Oracle Introduces PostgreSQL Running Native on OCI
17 December 2023, IDC

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

Neo4j logo

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

Milvus logo

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

Present your product here