DB-EngineseXtremeDB: 5 9's high availability databaseEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Derby vs. LokiJS vs. PostgreSQL

System Properties Comparison Derby vs. LokiJS vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameDerby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDB  Xexclude from comparisonLokiJS  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionFull-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server.In-memory JavaScript DBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelRelational DBMSDocument storeRelational 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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.29
Rank#58  Overall
#32  Relational DBMS
Score0.48
Rank#223  Overall
#32  Document stores
Score536.77
Rank#4  Overall
#4  Relational DBMS
Websitedb.apache.org/­derbygithub.com/­techfort/­LokiJSwww.postgresql.org
Technical documentationdb.apache.org/­derby/­manuals/­index.htmltechfort.github.io/­LokiJSwww.postgresql.org/­docs/­manuals
DeveloperApache Software FoundationPostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release199720141989 info1989: Postgres, 1996: PostgreSQL
Current release10.15.2.0, March 202012.3, May 2020
License infoCommercial or Open SourceOpen Source infoApache version 2Open SourceOpen 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.
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
  • Azure Database for PostgreSQL: A fully managed, scalable PostgreSQL relational database with high availability and security built in at no extra cost
Implementation languageJavaJavaScriptC
Server operating systemsAll OS with a Java VMserver-less, requires a JavaScript environment (browser, Node.js)FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeyesschema-freeyes
Typing infopredefined data types such as float or dateyesnoyes
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 indexesyesyes infovia viewsyes
SQL infoSupport of SQLyesnoyes infostandard with numerous extensions
APIs and other access methodsJDBCJavaScript APIADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesJavaJavaScript.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresJava Stored ProceduresView functions in JavaScriptuser 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 nodesnonenonepartitioning by range, list and (since PostgreSQL 11) by hash
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replicationnoneSource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencynoneImmediate Consistency
Foreign keys infoReferential integrityyesnoyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDno infoatomic operations within a single collection possibleACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesno
User concepts infoAccess controlfine grained access rights according to SQL-standardnofine 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 partiesAzure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

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

CYBERTEC: your professional partner for PostgreSQL services and Data Science based on PostgreSQL since 2000. With offices in Austria, Uruguay, Estonia and Switzerland, CYBERTEC operates worldwide!
» more

2ndQuadrant: Mission Critical Databases.
» more

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

More resources
Derby infooften called Apache Derby, originally IBM Cloudscape; contained in the Java SDK as JavaDBLokiJSPostgreSQL
DB-Engines blog posts

New kids on the block: database management systems implemented in JavaScript
1 December 2014, Matthias Gelbmann

show all

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

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

show all

Conferences and events

PostgreSQL Online Trainings
Online Training Courses, 4 May 2020 - 11 December 2020

Recent citations in the news

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

Staying in sync with your data
14 May 2020, SDTimes.com

Six free databases with commercial-quality features
3 December 2012, Network World

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

How to install MySQL on Windows for app development
8 June 2020, TheServerSide.com

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

Fast, Lightweight Data Storage for Cordova Apps with LokiJS
26 January 2016, SitePoint

LinkedIn open-sources URL-Detector Java library, LokiJS 1.4, and Bulgaria's new open-source law—SD Times news digest: July 5, 2016
5 July 2016, SDTimes.com

NativeScript 6 Goes Webpack All The Way
22 July 2019, iProgrammer

AspectJS 2.0 Released
1 May 2015, iProgrammer

provided by Google News

Swarm64 and Command Prompt Partner to Expand Open Source PostgreSQL Support
10 August 2020, Database Trends and Applications

Migrating from SAP ASE to Amazon Aurora PostgreSQL
11 August 2020, idk.dev

Using logical replication to replicate managed Amazon RDS for PostgreSQL and Amazon Aurora to self-managed PostgreSQL
29 July 2020, idk.dev

Crunchy Certified PostgreSQL 12 Achieves In Evaluation Status for Common Criteria Certification
21 July 2020, PRNewswire

EDB Growth Accelerates With 65 Percent Increase in Subscription Revenue; 4300 Registrations for Postgres Vision
31 July 2020, Business Wire

provided by Google News

Job opportunities

Jr. QA Analyst Trainee
SQA², Los Alamitos, CA

IT Architect
University of Kansas, Lawrence, KS

Business Analyst II
Amazon.com Services LLC, Remote

Scala Engineer (all levels) - Remote
Axoni, New York, NY

PostgreSQL Database Administrator
Science System and Applications, Inc., Greenbelt, MD

jobs by Indeed




Share this page

Featured Products

Datastax Astra logo

Cassandra made easy in the cloud. Build cloud-native applications faster with CQL, REST and GraphQL APIs.
Try for Free.

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Couchbase logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Vertica logo

The fastest unified analytical warehouse at extreme scale with in-database Machine Learning. Try Vertica for free with no time limit.

Present your product here