DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > 4D vs. Derby vs. IBM Cloudant vs. PostgreSQL vs. SwayDB

System Properties Comparison 4D vs. Derby vs. IBM Cloudant vs. PostgreSQL vs. SwayDB

Editorial information provided by DB-Engines
Name4D infoformer name: 4th Dimension  Xexclude from comparisonDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonIBM Cloudant  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSwayDB  Xexclude from comparison
DescriptionApplication development environment with integrated database management systemFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.Database as a Service offering based on Apache CouchDBWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLAn embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storage
Primary database modelRelational DBMSRelational DBMSDocument storeRelational DBMS infowith object oriented extensions, e.g.: user defined types/functions and inheritance. Handling of key/value pairs with hstore module.Key-value store
Secondary database modelsDocument 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
Score2.47
Rank#110  Overall
#54  Relational DBMS
Score4.60
Rank#70  Overall
#38  Relational DBMS
Score2.75
Rank#104  Overall
#19  Document stores
Score636.25
Rank#4  Overall
#4  Relational DBMS
Score0.04
Rank#387  Overall
#61  Key-value stores
Websitewww.4d.comdb.apache.org/­derbywww.ibm.com/­products/­cloudantwww.postgresql.orgswaydb.simer.au
Technical documentationdeveloper.4d.comdb.apache.org/­derby/­manuals/­index.htmlcloud.ibm.com/­docs/­Cloudantwww.postgresql.org/­docs
Developer4D, IncApache Software FoundationIBM, Apache Software Foundation infoIBM acquired Cloudant in February 2014PostgreSQL Global Development Group infowww.postgresql.org/­developerSimer Plaha
Initial release1984199720101989 info1989: Postgres, 1996: PostgreSQL2018
Current releasev20, April 202310.17.1.0, November 202316.3, May 2024
License infoCommercial or Open SourcecommercialOpen Source infoApache version 2commercialOpen Source infoBSDOpen Source infoGNU Affero GPL V3.0
Cloud-based only infoOnly available as a cloud servicenonoyesnono
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.
  • Aiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
Implementation languageJavaErlangCScala
Server operating systemsOS X
Windows
All OS with a Java VMhostedFreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesyesschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesyesnoyesno
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.yesyesnoyes infospecific XML-type available, but no XML query functionality.no
Secondary indexesyesyesyesyesno
SQL infoSupport of SQLyes infoclose to SQL 92yesnoyes infostandard with numerous extensionsno
APIs and other access methodsODBC
RESTful HTTP API infoby using 4D Mobile
SOAP webservices
JDBCRESTful HTTP/JSON APIADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languages4D proprietary IDE
PHP
JavaC#
Java
JavaScript
Objective-C
PHP
Ruby
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Java
Kotlin
Scala
Server-side scripts infoStored proceduresyesJava Stored ProceduresView functions (Map-Reduce) in JavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.no
Triggersyesyesyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonenoneShardingpartitioning by range, list and (since PostgreSQL 11) by hashnone
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replicationSource-replica replicationMulti-source replication
Source-replica replication
Source-replica replication infoother methods possible by using 3rd party extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesyesnoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDno infoatomic operations within a document possibleACIDAtomic execution of operations
Concurrency infoSupport for concurrent manipulation of datayesyesyes infoOptimistic lockingyesyes
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.noyesnonoyes
User concepts infoAccess controlUsers and groupsfine grained access rights according to SQL-standardAccess rights for users can be defined per databasefine grained access rights according to SQL-standardno

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 partiesAiven for PostgreSQL: Fully managed PostgreSQL for developers with 70+ extensions and flexible orchestration tools.
» more

Navicat for PostgreSQL is an easy-to-use graphical tool for PostgreSQL database development.
» 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 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

Redgate webinars: A series of key topics for new PostgreSQL users.
» more

Instaclustr: Fully Hosted & Managed PostgreSQL
» more

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

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

More resources
4D infoformer name: 4th DimensionDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBIBM CloudantPostgreSQLSwayDB
DB-Engines blog posts

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 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

Recent citations in the news

JDBC tutorial: Easy installation and setup with Apache Derby
20 December 2019, TheServerSide.com

Installing Apache Hive 3.1.2 on Windows 10 | by Hadi Fadlallah
3 May 2020, Towards Data Science

The Arrival of Java 20
21 March 2023, blogs.oracle.com

The Ultimate Open Source Database List Profiling 16 Software Tools
30 May 2019, Solutions Review

The Apache® Software Foundation Announces 18 Years of Open Source Leadership
28 March 2017, GlobeNewswire

provided by Google News

Cloudant Best (and Worst) Practices — Part 1
18 March 2019, ibm.com

Intro to Enterprise Cloud Storage: How to Set Up a Cloudant Database
1 December 2014, Linux.com

IBM Expands Cloud Database Services with Kubernetes
26 September 2019, EnterpriseAI

IBM Code Engine and IBM Cloudant: Serverless Data and Infrastructure
16 August 2021, ibm.com

IBM to Purchase Cloudant Database as a service (DBaaS) Provider
22 March 2014, App Developer Magazine

provided by Google News

PostgreSQL is Now Faster than Pinecone, 75% Cheaper, with New Open Source Extensions
11 June 2024, PR Newswire

Timescale unveils high-performance AI vector database extensions for PostgreSQL
11 June 2024, SiliconANGLE News

PostgreSQL Tutorial: Definition, Commands, & Features
4 June 2024, Simplilearn

Raise the bar on AI-powered app development with Azure Database for PostgreSQL
5 June 2024, Microsoft

How to implement a better like, views, comment counters in PostgreSQL?
28 May 2024, SitePoint

provided by Google News



Share this page

Featured Products

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

Present your product here