DB-EnginesCrateDB bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > DB2 vs. Microsoft SQL Server vs. MySQL vs. Oracle vs. PostgreSQL

System Properties Comparison DB2 vs. Microsoft SQL Server vs. MySQL vs. Oracle vs. PostgreSQL

Editorial information provided by DB-Engines
NameDB2  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 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
Key-value store
RDF store infoin DB2 LUW (Linux, Unix, Windows)
Document store
Graph DBMS
Key-value store
Document store
Key-value store
Document store
Graph DBMS infowith Oracle Spatial and Graph
Key-value store
RDF store infowith Oracle Spatial and Graph
Document store
Key-value store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score181.84
Rank#6  Overall
#5  Relational DBMS
Score1072.65
Rank#3  Overall
#3  Relational DBMS
Score1206.81
Rank#2  Overall
#2  Relational DBMS
Score1312.02
Rank#1  Overall
#1  Relational DBMS
Score417.50
Rank#4  Overall
#4  Relational DBMS
Websitewww.ibm.com/­analytics/­us/­en/­db2www.microsoft.com/­en-us/­sql-serverwww.mysql.comwww.oracle.com/­database/­index.htmlwww.postgresql.org
Technical documentationwww.ibm.com/­support/­knowledgecenter/­SSEPGGdocs.microsoft.com/­en-ie/­sql/­sql-server/­sql-server-technical-documentationdev.mysql.com/­docdocs.oracle.com/­en/­databasewww.postgresql.org/­docs/­manuals
DeveloperIBMMicrosoftOracle infosince 2010, originally MySQL AB, then SunOraclePostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release1983 infohost version1989199519801989 info1989: Postgres, 1996: PostgreSQL
Current releaseDb2 Data Server (11.1), April 2016SQL Server 2017, October 20178.0.12, July 201818 (18.1), February 201810.5, August 2018
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 infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a ServiceGoogle Cloud SQL: A fully-managed database service for the Google Cloud PlatformGoogle Cloud SQL: A fully-managed database service for the Google Cloud Platform
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 methodsJSON style queries infoMongoDB compatible
XQuery
ADO.NET
JDBC
ODBC
OLE DB
Tabular Data Stream (TDS)
ADO.NET
JDBC
ODBC
Proprietary native API
ADO.NET
JDBC
ODBC
ODP.NET
Oracle Call Interface (OCI)
JDBC
ODBC
native C library
streaming API for large objects
ADO.NET
JDBC
ODBC
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
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresyesTransact SQL and .NET languagesyes 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 Fabrichorizontal partitioning infowith the optional Oracle Partitioningdeclarative partitioning (by range or by list) since PostgreSQL 10.0 infoprior to 10.0, partitioning could be realized with table inheritance
Replication methods infoMethods for redundantly storing data on multiple nodesyes infowith separate tools (MQ, InfoSphere)yes, but depending on the SQL-Server EditionMaster-master replication
Master-slave replication
Master-master replication
Master-slave replication
Master-slave 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
DB2Microsoft SQL ServerMySQLOraclePostgreSQL
Specific characteristicsOracle Database (commonly referred to as Oracle RDBMS or simply as Oracle) is a multi-model...
» more
Licensing and pricing modelsOracle Database Cloud Services Customers can choose from a wide range of database...
» 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 partiesDremio is like magic for DB2 accelerating your analytical queries up to 1,000x.
» more

Progress DataDirect: Data connectivity across standard SQL and REST
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more
Progress DataDirect: Data connectivity across standard SQL and REST
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

Dremio is like magic for SQL Server accelerating your analytical queries up to 1,000x.
» more

DBHawk is a web-based data management Tool for a SQL Server database.
» more

Navicat for SQL Server gives you a fully graphical approach to database management and development.
» more

Alibaba Cloud - ApsaraDB for RDS: On-demand Database Hosting Service for MySQL, SQL Server and PostgreSQL.
» more
Alibaba Cloud - ApsaraDB for RDS: On-demand Database Hosting Service for MySQL, SQL Server and PostgreSQL.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

Progress DataDirect: Data connectivity across standard SQL and REST
» more

Dremio is like magic for MySQL accelerating your analytical queries up to 1,000x.
» more
Navicat for Oracle improves the efficiency and productivity of Oracle developers and administrators with a streamlined working environment.
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

DBHawk: a web-based Oracle database management and self-service BI software.
» more

Progress DataDirect: Hybrid Connectivity for Oracle
» more

Dremio is like magic for Oracle accelerating your analytical queries up to 1,000x.
» more
DBHawk: a web-based PostgreSQL/Greenplum database tool. Boost database development and BI productivity with an online Universal database tool.
» more

Progress DataDirect: Data connectivity across standard SQL and REST
» more

2ndQuadrant: The team of diligent PostgreSQL experts.
» more

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

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

Dremio is like magic for PostgreSQL accelerating your analytical queries up to 1,000x.
» more

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

More resources
DB2Microsoft SQL ServerMySQLOraclePostgreSQL
DB-Engines blog posts

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

Winners, losers and an attractive newcomer in Novembers DB-Engines ranking
2 November 2015, Paul Andlinger

Graph DBMS increased their popularity by 500% within the last 2 years
3 March 2015, Paul Andlinger

show all

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

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

show all

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

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

show all

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)

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

show all

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

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

PostgreSQL moves up one rank at the expense of MongoDB
1 September 2016, Paul Andlinger

show all

Conferences and events

IDUG Db2 Tech Conference Europe 2018
Malta, 4-8 November 2018

PASS Summit 2018
Seattle, Washington, USA, 6-9 November 2018

Recent citations in the news

DBI Introduces New Performance Monitoring Features for IBM Db2 LUW
30 July 2018, Database Trends and Applications

Db2 For i Innovation: Expect The Unexpected
23 July 2018, IT Jungle

IBM Db2 on Cloud
23 July 2018, PCMag UK (blog)

Is Microsoft pulling the plug on your business' database software?
24 July 2018, Reno Gazette Journal

Big Data Analytics on Current Data
16 July 2018, Database Journal

provided by Google News

The MCSA SQL Server Certification Training Bundle Is Available For Just $19 – Massive 96% Discount Offer
13 August 2018, Wccftech

Migrating a Major SQL Server Workload to Azure: The Good, Bad and Ugly
7 August 2018, Redmondmag.com

Microsoft's July 10 Windows Patches Also Caused SQL Server Failures
27 July 2018, Redmondmag.com

Microsoft Planning New BizTalk Server Product and Integration with Azure Services
13 August 2018, Redmondmag.com

Microsoft's Ignite 2018 IT Pro conference: What to expect
9 August 2018, ZDNet

provided by Google News

AWS Generally Releases Aurora Serverless MySQL
11 August 2018, CRN

Amazon Announces Availability of Serverless Aurora MySQL - Petri
13 August 2018, Petri.com

The Best (and Worst) Cloud Services for MySQL
9 August 2018, Database Journal

How to install MySQL on CentOS 7
19 July 2018, TechRepublic

Learning PHP, MySQL & JavaScript: With jQuery, CSS & HTML5 5th Ed (O'Reilly)
9 August 2018, iProgrammer

provided by Google News

Critical Oracle Database Flaw Paves the Way for Complete System Hijack
13 August 2018, Computer Business Review

Oracle's database service offerings could be its last best hope for ...
8 August 2018, TechCrunch

Amazon Could Completely Move out of Oracle's Database Software by 2020!
10 August 2018, MarTech Series

Amazon plans to move completely off Oracle software by early 2020
1 August 2018, CNBC

Firefighters choke on Oracle's alleged smoke-and-mirrors cloud ...
13 August 2018, The Register

provided by Google News

Connecting Apache Zeppelin and Apache Drill, PostgreSQL, etc.
12 August 2018, Security Boulevard

PostgreSQL group releases an update to 9.6.10, 9.5.14, 9.4.19, 9.3.24
10 August 2018, Packt Hub

Ring-KDE 3.0.0 Released, Intel Debuts 32TB Ruler-Shaped SSDs, OpenEMR Security Issues, PostgreSQL Updates ...
10 August 2018, Linux Journal

Crunchy Data Collaborates With Center For Internet Security® To Advance PostgreSQL Security For Enterprise
31 July 2018, Markets Insider

Oracle SQL: Empty String Transitioning to Netezza and PostGreSQL
24 July 2018, Toolbox (blog)

provided by Google News

Job opportunities

Data Warehouse Analyst (Reporting)
Prudential, Roseland, NJ

On Campus - Entry Level - Information Technology
General Motors, Warren, MI

Data Analyst
State Farm, Tempe, AZ

Data Analyst
CGI, Washington, DC

Data Analyst
NetVision Resources (NVR), Herndon, VA

C# .Net Developer with WPF - Direct Client/Long Term Contract
Prutech Solutions, Charlotte, NC

.Net Developer, Philadelphia, PA - F2f interview
Confiance Tech Solutions, Inc, Philadelphia, PA

C# .NET Web Developer
Darby Dental Supply, LLC, Jericho, NY

C# .Net Developer
HCL Technologies, Redmond, WA

C# .Net Developer
K3 Solutions LLC, Washington, DC

Site Reliability Engineer, Database Infrastructure
Adobe, Emeryville, CA

Site Reliability Engineer
Disney Parks & Resorts, Seattle, WA

Site Reliability Engineer
Adobe, Austin, TX

Site Reliability Engineer
Palantir Technologies, Palo Alto, CA

Jr. QA Engineer
Holonis, San Diego, CA

Oracle DBA
DK Consulting, LLC, Baltimore, MD

Oracle 12c Database Designer and Administrator
Geologics Corporation, Reston, VA

Senior Oracle PL/SQL Developer
Integrated Data Services (IDS), United States

Jr. Oracle DBA
Resolve Tech Solutions Inc., Tampa, FL

Senior Oracle Database Administrator
ACP World, New York, NY

Quantitative Researcher
The Motley Fool, Alexandria, VA

GIS Developer
Amazon.com, Seattle, WA

Database Analyst - Data Analyst
University of Texas at Austin, Austin, TX

Data Analyst 1
Nordstrom, Seattle, WA

Database Administrator
IBM, Reston, VA

jobs by Indeed




Share this page

Featured Products

RavenDB logo

Runs on Windows, Linux, Raspberry Pi. Easy to Operate, Fast Performance.
APIs for JS, .NET, Python.
Take a Free Download

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

Redis logo

Start now with Redis Cloud
Secure, highly available Redis as a serverless, hosted, fully managed cloud service.
Sign up here.

Neo4j logo

Get your step-by-step guide comparing RDBMS to graph databases, including data models, query languages, and deployment strategies.

Present your product here