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 > Amazon DocumentDB vs. Apache Phoenix vs. PostgreSQL vs. Spark SQL

System Properties Comparison Amazon DocumentDB vs. Apache Phoenix vs. PostgreSQL vs. Spark SQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameAmazon DocumentDB  Xexclude from comparisonApache Phoenix  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSpark SQL  Xexclude from comparison
DescriptionFast, scalable, highly available, and fully managed MongoDB-compatible database serviceA scale-out RDBMS with evolutionary schema built on Apache HBaseWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLSpark SQL is a component on top of 'Spark Core' for structured data processing
Primary database modelDocument storeRelational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Relational DBMS
Secondary database modelsDocument 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
Score1.89
Rank#137  Overall
#24  Document stores
Score2.02
Rank#130  Overall
#63  Relational DBMS
Score645.05
Rank#4  Overall
#4  Relational DBMS
Score19.15
Rank#33  Overall
#20  Relational DBMS
Websiteaws.amazon.com/­documentdbphoenix.apache.orgwww.postgresql.orgspark.apache.org/­sql
Technical documentationaws.amazon.com/­documentdb/­resourcesphoenix.apache.orgwww.postgresql.org/­docsspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperApache Software FoundationPostgreSQL Global Development Group infowww.postgresql.org/­developerApache Software Foundation
Initial release201920141989 info1989: Postgres, 1996: PostgreSQL2014
Current release5.0-HBase2, July 2018 and 4.15-HBase1, December 201916.2, February 20243.5.0 ( 2.13), September 2023
License infoCommercial or Open SourcecommercialOpen Source infoApache Version 2.0Open Source infoBSDOpen 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.
Implementation languageJavaCScala
Server operating systemshostedLinux
Unix
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
OS X
Windows
Data schemeschema-freeyes infolate-bound, schema-on-read capabilitiesyesyes
Typing infopredefined data types such as float or dateyesyesyesyes
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.no
Secondary indexesyesyesyesno
SQL infoSupport of SQLnoyesyes infostandard with numerous extensionsSQL-like DML and DDL statements
APIs and other access methodsproprietary protocol using JSON (MongoDB compatible)JDBCADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Supported programming languagesGo
Java
JavaScript (Node.js)
PHP
Python
C
C#
C++
Go
Groovy
Java
PHP
Python
Scala
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Java
Python
R
Scala
Server-side scripts infoStored proceduresnouser defined functionsuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersnonoyesno
Partitioning methods infoMethods for storing different data on different nodesnoneShardingpartitioning by range, list and (since PostgreSQL 11) by hashyes, utilizing Spark Core
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-availability zones for high availability, asynchronous replication for up to 15 read replicasMulti-source replication
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsno infomay be implemented via Amazon Elastic MapReduce (Amazon EMR)Hadoop integrationno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency or Eventual ConsistencyImmediate Consistency
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possiblenoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataAtomic single-document operationsACIDACIDno
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.yesnono
User concepts infoAccess controlAccess rights for users and rolesAccess Control Lists (using HBase ACL) for RBAC, integration with Apache Ranger for RBAC & ABAC, multi-tenancyfine grained access rights according to SQL-standardno

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

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

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

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

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

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

More resources
Amazon DocumentDBApache PhoenixPostgreSQLSpark SQL
DB-Engines blog posts

Cloudera's HBase PaaS offering now supports Complex Transactions
11 August 2021,  Krishna Maheshwari (sponsor) 

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

Conferences, events and webinars

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

Recent citations in the news

Mask sensitive Amazon DocumentDB log data with Amazon CloudWatch Logs data protection | Amazon Web Services
16 April 2024, AWS Blog

Vector search for Amazon DocumentDB (with MongoDB compatibility) is now generally available | Amazon Web Services
29 November 2023, AWS Blog

AWS announces Amazon DocumentDB I/O-Optimized
21 November 2023, AWS Blog

Reduce cost and improve performance by migrating to Amazon DocumentDB 5.0 | Amazon Web Services
15 April 2024, AWS Blog

AWS announces vector search for Amazon DocumentDB
29 November 2023, AWS Blog

provided by Google News

Supercharge SQL on Your Data in Apache HBase with Apache Phoenix | Amazon Web Services
2 June 2016, AWS Blog

Bridge the SQL-NoSQL gap with Apache Phoenix
4 February 2016, InfoWorld

Apache Calcite, FreeMarker, Gora, Phoenix, and Solr updated
27 March 2017, SDTimes.com

What Is HBase? (Definition, Uses, Benefits, Features)
22 December 2022, Built In

Azure HDInsight Analytics Platform Now Supports Apache Hadoop 3.0
18 April 2019, eWeek

provided by Google News

Introducing OCI Database with PostgreSQL: Completing Our Cloud Database Suite for Every Need
14 November 2023, blogs.oracle.com

Handle tables without primary keys while creating Amazon Aurora PostgreSQL zero-ETL integrations with Amazon ...
18 April 2024, AWS Blog

PostgreSQL or MySQL: What Should I Choose for My Full-Stack Project?
10 April 2024, hackernoon.com

PeerDB raises $3.6M to accelerate PostgreSQL data movement
11 April 2024, SiliconANGLE News

Did One Guy Just Stop a Huge Cyberattack?
3 April 2024, The New York Times

provided by Google News

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

Cloudera: Impala's it for interactive SQL on Hadoop; everything else will move to Spark
11 April 2024, Yahoo Movies Canada

1.5 Years of Spark Knowledge in 8 Tips | by Michael Berk
23 December 2023, Towards Data Science

provided by Google News



Share this page

Featured Products

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Milvus logo

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

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

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

Present your product here