DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > MySQL vs. openGauss vs. PostgreSQL vs. SurrealDB

System Properties Comparison MySQL vs. openGauss vs. PostgreSQL vs. SurrealDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMySQL  Xexclude from comparisonopenGauss  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSurrealDB  Xexclude from comparison
DescriptionWidely used open source RDBMSAn enterprise-class RDBMS compatible with high-performance, high-availability and high-performance originally developed by HuaweiWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLA fully ACID transactional, developer-friendly, multi-model DBMS
Primary database modelRelational 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.Document store
Graph DBMS
Secondary database modelsDocument store
Spatial DBMS
Document store
Spatial DBMS
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
Score1029.49
Rank#2  Overall
#2  Relational DBMS
Score1.11
Rank#175  Overall
#79  Relational DBMS
Score644.36
Rank#4  Overall
#4  Relational DBMS
Score1.11
Rank#174  Overall
#30  Document stores
#17  Graph DBMS
Websitewww.mysql.comgitee.com/­opengauss
opengauss.org
www.postgresql.orgsurrealdb.com
Technical documentationdev.mysql.com/­docdocs.opengauss.org/­en
gitee.com/­opengauss/­docs
www.postgresql.org/­docssurrealdb.com/­docs
DeveloperOracle infosince 2010, originally MySQL AB, then SunHuawei and openGauss communityPostgreSQL Global Development Group infowww.postgresql.org/­developerSurrealDB Ltd
Initial release199520191989 info1989: Postgres, 1996: PostgreSQL2022
Current release9.0.0, July 20243.0, March 202216.4, August 2024v1.5.0, May 2024
License infoCommercial or Open SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen SourceOpen Source infoBSDOpen Source
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
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++, JavaCRust
Server operating systemsFreeBSD
Linux
OS X
Solaris
Windows
LinuxFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
macOS
Windows
Data schemeyesyesyesschema-free
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.yesnoyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyesyesyes
SQL infoSupport of SQLyes infowith proprietary extensionsANSI SQL 2011yes infostandard with numerous extensionsSQL-like query language
APIs and other access methodsADO.NET
JDBC
ODBC
Proprietary native API
JDBC
ODBC
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
GraphQL
RESTful HTTP API
WebSocket
Supported programming languagesAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
C
C++
Java
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Deno
Go
JavaScript (Node.js)
Rust
Server-side scripts infoStored proceduresyes infoproprietary syntaxyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersyesyesyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning, sharding with MySQL Cluster or MySQL Fabrichorizontal partitioning (by range, list and hash)partitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication
Source-replica replication
Source-replica replicationSource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyes infonot for MyISAM storage engineyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infonot for MyISAM storage engineACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayes infotable locks or row locks depending on storage engineyesyesyes
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 controlUsers with fine-grained authorization concept infono user groups or rolesAccess rights for users, groups and roles according to SQL-standardfine grained access rights according to SQL-standardyes, based on authentication and database rules

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

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

Navicat for MySQL is the ideal solution for MySQL/MariaDB administration and development.
» more
SharePlex is the reliable and affordable data replication solution for PostgreSQL migrations, high availability and more.
» 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

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

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

More resources
MySQLopenGaussPostgreSQLSurrealDB
DB-Engines blog posts

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

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

Recent citations in the news

MySql Explain with Tobias Petry
20 September 2024, Laravel News

Proposal Seeks To Replace MySQL With MariaDB By Default For Ubuntu 25.04
20 September 2024, Phoronix

HeatWave MySQL – New Capabilities for OLTP Workloads
10 September 2024, blogs.oracle.com

Learn how Presence migrated off a monolithic Amazon RDS for MySQL instance, with near-zero downtime, using replication filters
17 September 2024, AWS Blog

How to get started with MySQL
31 July 2024, InfoWorld

provided by Google News

openGauss Open Source Community Officially Launch
1 July 2020, Huawei

The openGauss powers database industry forward through innovation
6 January 2022, Global Times

An Industrial bank joins Huawei openGauss database community
7 December 2022, HC Newsroom

Engineering Students from Thammasat Win 2 'Huawei ICT' Awards to Represent Thailand in Asia-Pacific Competition.
12 January 2024, tu.ac.th

Huawei releases six products to supercharge the cloud
29 April 2021, Myrepublica

provided by Google News

Migrate SQL Server databases to Babelfish for Aurora PostgreSQL using change tracking with a linked server
24 September 2024, AWS Blog

YugabyteDB 2.19 gets new PostgreSQL-compatibility features
19 September 2024, InfoWorld

YugabyteDB evolves into a distributed PostgreSQL database for apps that need resilience and scale
19 September 2024, SiliconANGLE News

YugabyteDB Evolves PostgreSQL to a Distributed Architecture for Modern, Cloud-Native Applications
19 September 2024, Business Wire

Top 50+ Most Asked PostgreSQL Interview Questions 2024
18 September 2024, Simplilearn

provided by Google News

SurrealDB Delivers Future-Ready Database Technology for Developers and Enterprises with Release of SurrealDB 2.0
17 September 2024, Business Wire

SurrealDB is helping developers consolidate their databases
18 June 2024, TechCrunch

Multi-model database startup SurrealDB raises $20M and announces cloud beta access
18 June 2024, SiliconANGLE News

SurrealDB Raises $20M To Disrupt Big Data Industry
20 June 2024, Datanami

SurrealDB Raises $20 Million to Disrupt Database Tech; Introduces New Cloud Beta Access
18 June 2024, PR Newswire

provided by Google News



Share this page

Featured Products

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

SingleStore logo

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

Milvus logo

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

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.

Present your product here