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 > CrateDB vs. Google Cloud Spanner vs. MongoDB vs. PostgreSQL

System Properties Comparison CrateDB vs. Google Cloud Spanner vs. MongoDB vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCrateDB  Xexclude from comparisonGoogle Cloud Spanner  Xexclude from comparisonMongoDB  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionDistributed Database based on LuceneA horizontally scalable, globally consistent, relational database service. It is the externalization of the core Google database that runs the biggest aspects of Google, like Ads and Google Play.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
Relational DBMSDocument 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
#9  Vector DBMS
Score2.84
Rank#100  Overall
#51  Relational DBMS
Score421.08
Rank#5  Overall
#1  Document stores
Score636.25
Rank#4  Overall
#4  Relational DBMS
Websitecratedb.comcloud.google.com/­spannerwww.mongodb.comwww.postgresql.org
Technical documentationcratedb.com/­docscloud.google.com/­spanner/­docswww.mongodb.com/­docs/­manualwww.postgresql.org/­docs
DeveloperCrateGoogleMongoDB, IncPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release2013201720091989 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 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.
  • 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.
  • 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)yesschema-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 compatibilityyes infoQuery statements complying to ANSI 2011Read-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
gRPC (using protocol buffers) API
JDBC infoAt present, JDBC supports read-only queries. No support for DDL or DML statements.
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
Go
Java
JavaScript (Node.js)
Python
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)noJavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersnonoyes infoin MongoDB Atlas onlyyes
Partitioning methods infoMethods for storing different data on different nodesShardingShardingSharding 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 replication with 3 replicas for regional instances.Multi-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 methodsnoyes infousing Google Cloud Dataflowyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Read-after-write consistency on record level
Immediate ConsistencyEventual Consistency infocan be individually decided for each read operation
Immediate Consistency infodefault behaviour
Immediate Consistency
Foreign keys infoReferential integritynoyes infoby using interleaved tables, this features focuses more on performance improvements than on referential integrityno 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 strategyACID infoStrict serializable isolationMulti-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.nonoyes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlrights management via user accountsAccess rights for users, groups and roles based on Google Cloud Identity and Access Management (IAM)Access rights for users and rolesfine grained access rights according to SQL-standard
More information provided by the system vendor
CrateDBGoogle Cloud SpannerMongoDBPostgreSQL
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 partiesStudio 3T: The world's favorite IDE for working with MongoDB
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more
Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

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

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

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

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

More resources
CrateDBGoogle Cloud SpannerMongoDBPostgreSQL
DB-Engines blog posts

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

AWS Marketplace: CrateDB Cloud Comments
12 June 2024, AWS Blog

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 Introduces CrateDB 2.0 Enterprise and Open Source Editions
16 May 2017, businesswire.com

provided by Google News

Google Improves Cloud Spanner: More Compute and Storage without Price Increase
14 October 2023, InfoQ.com

Google turns up the heat on AWS, claims Cloud Spanner is half the cost of DynamoDB
11 October 2023, TechCrunch

Google makes its Cloud Spanner database service faster and more cost-efficient
11 October 2023, SiliconANGLE News

Google Cloud just fired a major volley at AWS as the cloud wars heat up
12 October 2023, TechRadar

Google Spanner: When Do You Need to Move to It?
11 September 2023, hackernoon.com

provided by Google News

MongoDB Joins Digital Twin Consortium, Bringing AI and Real-Time Data Expertise
12 June 2024, Datanami

MongoDB (NASDAQ:MDB) Shares Up 2.1%
16 June 2024, Defense World

Alger Mid Cap Growth Fund Maintains its Conviction in MongoDB (MDB)
14 June 2024, Yahoo Finance

MongoDB Stock Sinks 20% As Company Lowers Sales Guidance
31 May 2024, Investor's Business Daily

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

provided by Google News

PostgreSQL is Now Faster than Pinecone, 75% Cheaper, with New Open Source Extensions
11 June 2024, PR Newswire

Timescale unveils high-performance AI vector database extensions for PostgreSQL
11 June 2024, SiliconANGLE News

PostgreSQL Tutorial: Definition, Commands, & Features
4 June 2024, Simplilearn

Raise the bar on AI-powered app development with Azure Database for PostgreSQL
5 June 2024, Microsoft

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

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

Milvus logo

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

Present your product here