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

DBMS > Elasticsearch vs. OceanBase vs. PostgreSQL

System Properties Comparison Elasticsearch vs. OceanBase vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameElasticsearch  Xexclude from comparisonOceanBase  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionA distributed, RESTful modern search and analytics engine based on Apache Lucene infoElasticsearch lets you perform and combine many types of searches such as structured, unstructured, geo, and metricA distributed, high available RDBMS compatible with Oracle and MySQLWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelSearch engine
Vector DBMS
Relational 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
Spatial DBMS
Document store
Wide column store
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
Score123.81
Rank#9  Overall
#1  Search engines
#1  Vector DBMS
Score2.42
Rank#102  Overall
#51  Relational DBMS
Score674.32
Rank#4  Overall
#4  Relational DBMS
Websitewww.elastic.co/­elasticsearchen.oceanbase.comwww.postgresql.org
Technical documentationwww.elastic.co/­guide/­en/­elasticsearch/­reference/­current/­index.htmlen.oceanbase.com/­docs/­oceanbase-databasewww.postgresql.org/­docs
DeveloperElasticOceanBase infopreviously Alibaba and Ant GroupPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release201020101989 info1989: Postgres, 1996: PostgreSQL
Current release8.6, January 20234.3.0, April 202416.4, August 2024
License infoCommercial or Open SourceOpen Source infoElastic LicenseOpen Source infoCommercial license availableOpen 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.
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 languageJavaC++C
Server operating systemsAll OS with a Java VMLinuxFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-free infoFlexible type definitions. Once a type is defined, it is persistentyesyes
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.noyesyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyes infoAll search fields are automatically indexedyesyes
SQL infoSupport of SQLSQL-like query languageyesyes infostandard with numerous extensions
APIs and other access methodsJava API
RESTful HTTP/JSON API
JDBC
ODBC
ODP.NET
Oracle Call Interface (OCI)
Proprietary native API
Table API
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languages.Net
Groovy
Community Contributed Clients
Java
JavaScript
Perl
PHP
Python
Ruby
Ada infoin MySQL-compatible model
C infoin Oracle- and MySQL- compatible models
C++ infoin Oracle- and MySQL- compatible models
D infoin MySQL-compatible model
Delphi infoin MySQL-compatible model
Eiffel infoin MySQL-compatible model
Erlang infoin MySQL-compatible model
Haskell infoin MySQL-compatible model
Java infoin Oracle- and MySQL- compatible models
JavaScript (Node.js) infoin MySQL-compatible model
Objective-C infoin MySQL-compatible model
OCaml infoin MySQL-compatible model
Perl infoin MySQL-compatible model
PHP infoin MySQL-compatible model
Python infoin MySQL-compatible model
Ruby infoin MySQL-compatible model
Scheme infoin MySQL-compatible model
Tcl infoin MySQL-compatible model
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresyesPL/SQL in oracle-compatible mode, MySQL Stored Procedure in mysql-compatible modeuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersyes infoby using the 'percolation' featureyesyes
Partitioning methods infoMethods for storing different data on different nodesShardinghorizontal partitioning (by hash, key, range, range columns, list, and list columns)partitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesyesMulti-source replication using PaxosSource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsES-Hadoop Connectornono
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency infoSynchronous doc based replication. Get by ID may show delays up to 1 sec. Configurable write consistency: one, quorum, allImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACIDACID
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.Memcached and Redis integrationno
User concepts infoAccess controlAccess rights for users, groups and roles 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 parties
» more

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

More resources
ElasticsearchOceanBasePostgreSQL
DB-Engines blog posts

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

Elasticsearch moved into the top 10 most popular database management systems
3 July 2017, Matthias Gelbmann

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, 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

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

Elasticsearch 7.0 rc1 releases with new allocation and security features
10 May 2025, Packt

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

Amazon OpenSearch Service announces Standard and Extended Support dates for Elasticsearch and OpenSearch versions
7 November 2024, Amazon Web Services (AWS)

Elasticsearch Now Available as a Native Grounding Engine on Google Cloud’s Vertex AI Platform
9 April 2025, Business Wire

provided by Google News

OceanBase Recognized for Translytical Database Capabilities by Independent Research Firm
26 November 2024, PR Newswire

Your Database is Probably Obsolete. Here’s Why.
29 November 2024, CDOTrends

Atome partners with OceanBase
4 March 2025, The Paypers

OceanBase Distributed Database Aids Starpay Eliminate Downtime
11 March 2025, Fintech News Philippines

Atome partners Ant's OceanBase to enhance data infrastructure
4 March 2025, TNGlobal

provided by Google News

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

Understanding transaction visibility in PostgreSQL clusters with read replicas
2 May 2025, Amazon Web Services (AWS)

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

Fileless XMRig-C3 Cryptominer Targets PostgreSQL Servers
31 March 2025, wiz.io

Rapid7 Flags New PostgreSQL Zero-Day Connected to BeyondTrust Exploitation
13 February 2025, SecurityWeek

provided by Google News



Share this page

Featured Products

SingleStore logo

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

Neo4j logo

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

Milvus logo

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

Present your product here