DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > IBM Db2 vs. Microsoft SQL Server vs. MySQL vs. Oracle vs. PostgreSQL

System Properties Comparison IBM Db2 vs. Microsoft SQL Server vs. MySQL vs. Oracle vs. PostgreSQL

Editorial information provided by DB-Engines
NameIBM Db2 infoformerly named DB2 or IBM Database 2  Xexclude from comparisonMicrosoft SQL Server  Xexclude from comparisonMySQL  Xexclude from comparisonOracle  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionCommon in IBM host environments, 2 different versions for host and Windows/LinuxMicrosofts flagship relational DBMSWidely used open source RDBMSWidely used RDBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMS infoSince Version 10.5 support for JSON/BSON documents compatible with MongoDBRelational DBMSRelational DBMS infoKey/Value like access via memcached APIRelational DBMSRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.
Secondary database modelsDocument store
RDF store infoin Db2 LUW (Linux, Unix, Windows)
Spatial DBMS infowith Db2 Spatial Extender
Document store
Graph DBMS
Spatial DBMS
Document store
Spatial DBMS
Document store
Graph DBMS infowith Oracle Spatial and Graph
RDF store infowith Oracle Spatial and Graph
Spatial DBMS infowith Oracle Spatial and Graph
Vector DBMS infosince Oracle 23
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
Score122.77
Rank#9  Overall
#6  Relational DBMS
Score802.09
Rank#3  Overall
#3  Relational DBMS
Score1022.76
Rank#2  Overall
#2  Relational DBMS
Score1309.45
Rank#1  Overall
#1  Relational DBMS
Score652.16
Rank#4  Overall
#4  Relational DBMS
Websitewww.ibm.com/­products/­db2www.microsoft.com/­en-us/­sql-serverwww.mysql.comwww.oracle.com/­databasewww.postgresql.org
Technical documentationwww.ibm.com/­docs/­en/­db2learn.microsoft.com/­en-US/­sql/­sql-serverdev.mysql.com/­docdocs.oracle.com/­en/­databasewww.postgresql.org/­docs
DeveloperIBMMicrosoftOracle infosince 2010, originally MySQL AB, then SunOraclePostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release1983 infohost version1989199519801989 info1989: Postgres, 1996: PostgreSQL
Current release12.1, October 2016SQL Server 2022, November 20229.0.0, July 202423c, September 202316.4, August 2024
License infoCommercial or Open Sourcecommercial infofree version is availablecommercial inforestricted free version is availableOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availablecommercial inforestricted free version is availableOpen Source infoBSD
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
SQLServer Flex @ STACKIT offers a managed version of SQL Server 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.
Implementation languageC and C++C++C and C++C and C++C
Server operating systemsAIX
HP-UX
Linux
Solaris
Windows
z/OS
Linux
Windows
FreeBSD
Linux
OS X
Solaris
Windows
AIX
HP-UX
Linux
OS X
Solaris
Windows
z/OS
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesyesyesyes infoSchemaless in JSON and XML columnsyes
Typing infopredefined data types such as float or dateyesyesyesyesyes
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.yesyesyesyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyesyesyes
SQL infoSupport of SQLyesyesyes infowith proprietary extensionsyes infowith proprietary extensionsyes infostandard with numerous extensions
APIs and other access methodsADO.NET
JDBC
JSON style queries infoMongoDB compatible
ODBC
XQuery
ADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
ADO.NET
JDBC
ODBC
Proprietary native API
JDBC
ODBC
ODP.NET
Oracle Call Interface (OCI)
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesC
C#
C++
Cobol
Delphi
Fortran
Java
Perl
PHP
Python
Ruby
Visual Basic
C#
C++
Delphi
Go
Java
JavaScript (Node.js)
PHP
Python
R
Ruby
Visual Basic
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
C
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
Server-side scripts infoStored proceduresyesTransact SQL, .NET languages, R, Python and (with SQL Server 2019) Javayes infoproprietary syntaxPL/SQL infoalso stored procedures in Java possibleuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersyesyesyesyesyes
Partitioning methods infoMethods for storing different data on different nodesSharding infoonly with Windows/Unix/Linux Versiontables can be distributed across several files (horizontal partitioning); sharding through federationhorizontal partitioning, sharding with MySQL Cluster or MySQL FabricSharding, horizontal partitioningpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)yes, but depending on the SQL-Server EditionMulti-source replication
Source-replica replication
Multi-source replication
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono infocan be realized in PL/SQLno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesyes infonot for MyISAM storage engineyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDACID infonot for MyISAM storage engineACID infoisolation level can be parameterizedACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes infotable locks or row locks depending on storage engineyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyes infoVersion 12c introduced the new option 'Oracle Database In-Memory'no
User concepts infoAccess controlfine grained access rights according to SQL-standardfine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or rolesfine grained access rights according to SQL-standardfine grained access rights according to SQL-standard

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
Devart ODBC driver for Oracle accesses Oracle databases from ODBC-compliant reporting, analytics, BI, and ETL tools on both 32 and 64-bit Windows, macOS, and Linux.
» more
pgDash: In-Depth PostgreSQL Monitoring.
» more

SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» more

CYBERTEC is a premier consulting company that provides open-source database PostgreSQL management and data science solutions. By offering PostgreSQL migrations, administration, design, and more, CYBERTEC provides an all-in-one catalog of powerful PostgreSQL support. It's through this exceptional service, equipped with a team of experts, that the company has established a proven reputation. When it comes to Machine Learning, Artificial Intelligence, and Big Data, CYBERTEC offers services customized for you.
» more

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

More resources
IBM Db2 infoformerly named DB2 or IBM Database 2Microsoft SQL ServerMySQLOraclePostgreSQL
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

Microsoft SQL Server is the DBMS of the Year
4 January 2017, Matthias Gelbmann, Paul Andlinger

show all

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

MariaDB strengthens its position in the open source RDBMS market
5 April 2018, Matthias Gelbmann

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

show all

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

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

PASS Data Community Summit
Seattle, Washington, 4-8 November 2024

PASS Data Community Summit
Seattle, Washington, 4-8 November 2024

Recent citations in the news

Db2 is a story worth telling, even if IBM won't
4 July 2024, The Register

Data migration strategies to Amazon RDS for Db2
15 May 2024, AWS Blog

Java's 4 JDBC driver types explained
8 October 2024, TheServerSide.com

Using Oracle Cloud Infrastructure (OCI) GoldenGate with Db2 for z Database
31 May 2024, blogs.oracle.com

Six new Db2 capabilities DBAs must try today with Db2 11.5.9
9 April 2024, IBM

provided by Google News

Load balancing strategies for Amazon RDS for SQL Server read replicas to scale read workloads and reduce latency
7 October 2024, AWS Blog

SAP offers different way to move SQL Server-based software to the cloud
7 October 2024, The Register

Getting started with delivering generative AI capabilities in SQL Server and Azure SQL
26 June 2024, Microsoft

Mastering the SQL Server command-line interface
30 May 2024, SitePoint

How to check your SQL Server version
21 August 2024, ITPro

provided by Google News

Older PHP & MySQL no longer working in Later Versions
15 May 2024, SitePoint

Amazon RDS for MySQL zero-ETL integration with Amazon Redshift, now generally available, enables near real-time analytics
12 September 2024, AWS Blog

Upgrading Uber’s MySQL Fleet to version 8.0
8 August 2024, Uber

HeatWave MySQL – New Capabilities for OLTP Workloads
10 September 2024, Oracle

How to get started with MySQL
31 July 2024, InfoWorld

provided by Google News

AWS Weekly Roundup: Oracle Database@AWS, Amazon RDS, AWS PrivateLink, Amazon MSK, Amazon EventBridge, Amazon SageMaker and more | Amazon Web Services
16 September 2024, AWS Blog

Microsoft and Oracle enhance Oracle Database@Azure with data and AI integration
9 September 2024, Microsoft

Oracle Database 23ai now available for Exadata
22 July 2024, Oracle

Oracle inks deal with AWS to offer database services
10 September 2024, CIO

Oracle and AWS partner to bring Oracle Database to AWS cloud
13 September 2024, CloudTech News

provided by Google News

PostgreSQL 17 accelerates open source database with replication and JSON tables
26 September 2024, VentureBeat

Failing to connect Commento with PostgreSQL
1 October 2024, SitePoint

PostgreSQL 17 packs big performance and feature enhancements
26 September 2024, ZDNet

PostgreSQL 17 Gets Incremental Backup, SQL Queries for JSON
26 September 2024, The New Stack

Essential Strategies for PostgreSQL Upgrade Success
9 October 2024, Database Trends and Applications

provided by Google News



Share this page

Featured Products

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

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

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Present your product here