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 > Oracle vs. PostgreSQL vs. Spark SQL

System Properties Comparison Oracle vs. PostgreSQL vs. Spark SQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameOracle  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSpark SQL  Xexclude from comparison
DescriptionWidely used RDBMSWidely 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 modelRelational 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 Oracle Spatial and Graph
RDF store infowith Oracle Spatial and Graph
Spatial DBMS infowith Oracle Spatial and Graph
Document store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score1261.29
Rank#1  Overall
#1  Relational DBMS
Score613.83
Rank#4  Overall
#4  Relational DBMS
Score20.15
Rank#36  Overall
#22  Relational DBMS
Websitewww.oracle.com/­databasewww.postgresql.orgspark.apache.org/­sql
Technical documentationdocs.oracle.com/­en/­databasewww.postgresql.org/­docsspark.apache.org/­docs/­latest/­sql-programming-guide.html
DeveloperOraclePostgreSQL Global Development Group infowww.postgresql.org/­developerApache Software Foundation
Initial release19801989 info1989: Postgres, 1996: PostgreSQL2014
Current release21c, January 202115.2, February 20233.3.0 ( 2.13), June 2022
License infoCommercial or Open Sourcecommercial inforestricted free version is availableOpen Source infoBSDOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
  • Aiven for PostgreSQL: Fully managed and hosted PostgreSQL® with 70+ extensions and orchestration tooling included.
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL DBaaS hosting On-Premises and on clouds such as AWS, Azure, GCP and DigitalOcean with no vendor lock-in. Leverage any extension and get SSH access.
Implementation languageC and C++CScala
Server operating systemsAIX
HP-UX
Linux
OS X
Solaris
Windows
z/OS
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
OS X
Windows
Data schemeyes infoSchemaless in JSON and XML columnsyesyes
Typing infopredefined data types such as float or dateyesyesyes
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 indexesyesyesno
SQL infoSupport of SQLyes infowith proprietary extensionsyes infostandard with numerous extensionsSQL-like DML and DDL statements
APIs and other access methodsJDBC
ODBC
ODP.NET
Oracle Call Interface (OCI)
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Supported programming languagesC
C#
C++
Clojure
Cobol
Delphi
Eiffel
Erlang
Fortran
Groovy
Haskell
Java
JavaScript
Lisp
Objective C
OCaml
Perl
PHP
Python
R
Ruby
Scala
Tcl
Visual Basic
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Java
Python
R
Scala
Server-side scripts infoStored proceduresPL/SQL infoalso stored procedures in Java possibleuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesSharding, horizontal partitioningpartitioning by range, list and (since PostgreSQL 11) by hashyes, utilizing Spark Core
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-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 infocan be realized in PL/SQLno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infoisolation level can be parameterizedACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes infoVersion 12c introduced the new option 'Oracle Database In-Memory'nono
User concepts infoAccess controlfine grained access rights according to SQL-standardfine 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 partiesNavicat for Oracle improves the efficiency and productivity of Oracle developers and administrators with a streamlined working environment.
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more
Datasentinel: Platform for Monitoring and Analyzing the performance problems of your PostgreSQL Clusters
» 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

The State of PostgreSQL 2022 survey is now open!
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

DbVisualizer is equipping database professionals with the tools they need to build, manage and maintain state-of-the-art database technologies. It has sky-high user satisfaction and is the preferred tool for database professionals around the world. Customers include Tesla, Apple, Facebook, Deutsche Bank, NASA, and 25,000 others in 145 countries.
» more

SQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

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

Aiven for PostgreSQL: The familiar open source PostgreSQL® that you know and love, with no proprietary features or add-ons that will lock you in.
» more

Percona: Database problems? Not on your watch.
Databases run better with Percona.
» 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
OraclePostgreSQLSpark SQL
DB-Engines blog posts

MySQL is the DBMS of the Year 2019
3 January 2020, Matthias Gelbmann, Paul Andlinger

The struggle for the hegemony in Oracle's database empire
2 May 2017, Paul Andlinger

Architecting eCommerce Platforms for Zero Downtime on Black Friday and Beyond
25 November 2016, Tony Branson (guest author)

show all

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

Driving the Future of PostgreSQL Adoption
15 November 2021,  Umair Shahid, Percona (sponsor) 

show all

Conferences and events

PGCon 2023, PostgreSQL Conference for Users and Developers
Ottawa, Canada, 30 May 2023 - 2 June 2023

Recent citations in the news

KDDI moves online payment applications to Oracle Database
28 February 2023, DatacenterDynamics

Oracle Adds New AI-Enabling Features To MySQL HeatWave
23 March 2023, Forbes

KDDI Selects Oracle Database to Modernize its Online Payment ...
7 March 2023, The Fast Mode

Flexential® Announces Access to Oracle Cloud via FastConnect
28 March 2023, PR Newswire

Vivo Migrates to Oracle Cloud Infrastructure
2 March 2023, PR Newswire

provided by Google News

From a Fan: On the Ascendance of PostgreSQL
3 March 2023, The New Stack

Amazon Aurora PostgreSQL Adds Write-Through Cache to Improve ...
18 March 2023, InfoQ.com

Google makes AlloyDB for PostgreSQL available in 16 new regions
28 February 2023, InfoWorld

How to Use PostgreSQL With Sequelize in Node.js - MUO
5 March 2023, MakeUseOf

How to Connect PostgreSQL to a Next.js Application Using Prisma - MUO
1 March 2023, MakeUseOf

provided by Google News

An Overview of Spark SQL
30 November 2015, insideBIGDATA

Using "FOR XML PATH" in Spark SQL in sql syntax
28 March 2023, community.databricks.com

Apache Spark SQL - Market Share, Competitor Insights in Big Data Analytics
19 March 2023, 6Sense

Spark SQL Explained with Examples
19 December 2022, sparkbyexamples.com

Troubleshoot Spark SQL queries in Amazon EMR
25 January 2023, AWS Blog

provided by Google News

Job opportunities

Oracle Database Admin
Synergy BIS, Remote

Database Engineer, Cloud Infrastructure (Remote)
Victoria's Secret, Reynoldsburg, OH

Oracle Database Administrator
ITResonance, Chicago, IL

Manual Tester (Remote)
UST Xpanxion, Remote

Senior Oracle Database Engineer - Evernorth Health Services - Remote
Cigna, Hartford, CT

PostgreSQL DBA
Signify Technology, Remote

PostgreSQL DB
Cognizant, Atlanta, GA

Entry Level Django Developer
I28 Technologies Corporation, Remote

PostgreSQL Developer
Horizon Corp, Remote

PostgreSQL DBA
Syrinx, Remote

Machine Learning Engineer
Hive, San Francisco, CA

Java with spark
Synapseb systems, Jersey City, NJ

Machine Learning Scientist
PayPal, Delaware

MTS 1, Software Engineer
PayPal, San Jose, CA

Director of Engineering
Hive, San Francisco, CA

jobs by Indeed



Share this page

Featured Products

Redis logo

The world’s most loved real‑time data platform.
Try free

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

Neo4j logo

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

Present your product here