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

DBMS > MySQL vs. OpenSearch vs. PostgreSQL

System Properties Comparison MySQL vs. OpenSearch vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMySQL  Xexclude from comparisonOpenSearch  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionWidely used open source RDBMSA distributed, RESTful search and analytics engine forked from Elasticsearch and based on Apache LuceneWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMS infoKey/Value like access via memcached APISearch engine
Vector DBMS
Relational 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
Spatial DBMS
Vector DBMSDocument 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
Score964.98
Rank#2  Overall
#2  Relational DBMS
Score17.38
Rank#32  Overall
#4  Search engines
#2  Vector DBMS
Score674.32
Rank#4  Overall
#4  Relational DBMS
Websitewww.mysql.comgithub.com/­opensearch-project
opensearch.org
www.postgresql.org
Technical documentationdev.mysql.com/­docopensearch.org/­docs/­latestwww.postgresql.org/­docs
DeveloperOracle infosince 2010, originally MySQL AB, then SunThe OpenSearch Software FoundationPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release199520211989 info1989: Postgres, 1996: PostgreSQL
Current release9.0.0, July 20242.19, February 202516.4, August 2024
License infoCommercial or Open SourceOpen Source infoGPL version 2. Commercial licenses with extended functionallity are availableOpen Source infoApache Version 2.0Open Source infoBSD
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.
Implementation languageC and C++JavaC
Server operating systemsFreeBSD
Linux
OS X
Solaris
Windows
All OS with a Java VMFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesschema-free infoFlexible type definitions. Once a type is defined, it is persistentyes
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.
Secondary indexesyesyes infoAll search fields are automatically indexedyes
SQL infoSupport of SQLyes infowith proprietary extensionsSQL-like query languageyes infostandard with numerous extensions
APIs and other access methodsADO.NET
JDBC
ODBC
Proprietary native API
Java API
RESTful HTTP/JSON API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesAda
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby infoElasticsearch client
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresyes infoproprietary syntaxyesuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersyesyes infoby using the 'percolation' featureyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning, sharding with MySQL Cluster or MySQL FabricShardingpartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication
Source-replica replication
yesSource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate Consistency
Foreign keys infoReferential integrityyes infonot for MyISAM storage enginenoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID infonot for MyISAM storage enginenoACID
Concurrency infoSupport for concurrent manipulation of datayes infotable locks or row locks depending on storage engineyesyes
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.yesno
User concepts infoAccess controlUsers with fine-grained authorization concept infono user groups or rolesfine 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 parties
» more

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

More resources
MySQLOpenSearchPostgreSQL
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

DB-Engines shares Q1 2025 database industry rankings and top climbers: Snowflake and PostgreSQL trending
1 May 2025, DB-Engines

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

show all

Recent citations in the news

30 years of MySQL, the database that changed the world
6 May 2025, theregister.com

Scaling Amazon RDS for MySQL performance for Careem’s digital platform on AWS
13 May 2025, Amazon Web Services (AWS)

MySQL Explained: Your Guide to Mastering This Powerful Database
29 August 2024, Oracle

MySQL at 30: Still important but no longer king
12 May 2025, InfoWorld

Node.js MySQL Tutorial: Create and Manage an Employee Database [Updated]
14 May 2025, Simplilearn.com

provided by Google News

OpenSearch 3.0 hits: First major release under Linux Foundation as it battles ElasticSearch for mindshare
7 May 2025, devclass

Zero-copy, Coordination-free approach to OpenSearch Snapshots
13 May 2025, Amazon Web Services (AWS)

OpenSearch in 2025: Much more than an Elasticsearch fork
28 April 2025, InfoWorld

OpenSearch 3.0 targets fast AI search with MCP and GPU-powered vectors
7 May 2025, Blocks and Files

OpenSearch revs up AI workloads with GPU-accelerated vector search
6 May 2025, SiliconANGLE

provided by Google News

Running I/O intensive workloads on PostgreSQL with Amazon EBS io2 Block Express | Amazon Web Services
19 May 2025, Amazon Web Services (AWS)

How to Set Up PostgreSQL with NestJS and Docker for Fast Local Development: A Quick Guide
19 May 2025, HackerNoon

Supercharging your data experience: PostgreSQL 17 is now available on IBM Cloud
16 May 2025, IBM

Over 1,500 PostgreSQL Servers Compromised in Fileless Cryptocurrency Mining Campaign
1 April 2025, The Hacker News

The $1 Billion database bet: What Databricks’ Neon acquisition means for your AI strategy
15 May 2025, venturebeat.com

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it 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

RaimaDB logo

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

Milvus logo

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

Present your product here