DB-EnginesInfluxDB download bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > LokiJS vs. Neo4j vs. PostgreSQL

System Properties Comparison LokiJS vs. Neo4j vs. PostgreSQL

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameLokiJS  Xexclude from comparisonNeo4j  Xexclude from comparisonPostgreSQL  Xexclude from comparison
DescriptionIn-memory JavaScript DBMSOpen source graph databaseWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQL
Primary database modelDocument storeGraph 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
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.48
Rank#223  Overall
#32  Document stores
Score50.18
Rank#21  Overall
#1  Graph DBMS
Score536.77
Rank#4  Overall
#4  Relational DBMS
Websitegithub.com/­techfort/­LokiJSneo4j.comwww.postgresql.org
Technical documentationtechfort.github.io/­LokiJSneo4j.com/­docswww.postgresql.org/­docs/­manuals
DeveloperNeo4j, Inc.PostgreSQL Global Development Group infowww.postgresql.org/­developer
Initial release201420071989 info1989: Postgres, 1996: PostgreSQL
Current release4.1.1, July 202012.3, May 2020
License infoCommercial or Open SourceOpen SourceOpen Source infoGPL version3, commercial licenses 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.
  • Azure Database for PostgreSQL: A fully managed, scalable PostgreSQL relational database with high availability and security built in at no extra cost
  • ScaleGrid for PostgreSQL: Fully managed PostgreSQL hosting on AWS, Azure and DigitalOcean with high availability and SSH access on the #1 multi-cloud DBaaS.
Implementation languageJavaScriptJava, ScalaC
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)Linux infoCan also be used server-less as embedded Java database.
OS X
Solaris
Windows
FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-freeschema-free and schema-optionalyes
Typing infopredefined data types such as float or datenoyesyes
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.noyes infospecific XML-type available, but no XML query functionality.
Secondary indexesyes infovia viewsyes infopluggable indexing subsystem, by default Apache Luceneyes
SQL infoSupport of SQLnonoyes infostandard with numerous extensions
APIs and other access methodsJavaScript APIBolt protocol
Cypher query language
Java API
Neo4j-OGM infoObject Graph Mapper
RESTful HTTP API
Spring Data Neo4j
TinkerPop 3
ADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Supported programming languagesJavaScript.Net
Clojure
Elixir
Go
Groovy
Haskell
Java
JavaScript
Perl
PHP
Python
Ruby
Scala
.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Server-side scripts infoStored proceduresView functions in JavaScriptyes infoUser defined Procedures and Functionsuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.
Triggersyesyes infovia event handleryes
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 nodesnoneCausal Clustering using Raft protocol infoavailable in in Enterprise Version onlySource-replica replication infoother methods possible by using 3rd party extensions
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneCausal and Eventual Consistency configurable in Causal Cluster setup
Immediate Consistency in stand-alone mode
Immediate Consistency
Foreign keys infoReferential integritynoyes infoRelationships in graphsyes
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoatomic operations within a single collection possibleACIDACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesno
User concepts infoAccess controlnoUsers, roles and permissions. Pluggable authentication with supported standards (LDAP, Active Directory, Kerberos)fine grained access rights according to SQL-standard
More information provided by the system vendor
LokiJSNeo4jPostgreSQL
Specific characteristicsNeo4j is a native graph database platform that is built to store, query, analyze...
» more
Competitive advantagesNeo4j database is the only transactional database that combines everything you need...
» more
Typical application scenariosReal-Time Recommendations Master Data Management Identity and Access Management Network...
» more
Key customersOver 300 commercial customers and over 750 startups use Neo4j. Flagship customers...
» more
Market metricsNeo4j boasts the world's largest graph database ecosystem with more than a 15 million...
» more
Licensing and pricing modelsGPL v3 license that can be used all the places where you might use MySQL. Neo4j Commercial...
» more
News

This Week in Neo4j – Covid Graph GraphQL API, Spring Data Neo4j 6 Experiments, CompoundDB4j
8 August 2020

Easy Explainability: 5-Minute Interview with Calin Constantinov
7 August 2020

7 Quick Tips to Get More from the GDS Library [Tip Sheet]
6 August 2020

Building a Graph of History with The Codex
5 August 2020

This Week in Neo4j – Exploring DBpedia with neosemantics, Graph Database Based Apps, New Elixir driver
1 August 2020

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 partiesGeneral SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more

Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

2ndQuadrant: Mission Critical Databases.
» 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

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

More resources
LokiJSNeo4jPostgreSQL
DB-Engines blog posts

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

show all

Applying Graph Analytics to Game of Thrones
12 June 2019, Amy Hodler & Mark Needham, Neo4j (guest author)

MySQL, PostgreSQL and Redis are the winners of the March ranking
2 March 2016, Paul Andlinger

The openCypher Project: Help Shape the SQL for Graphs
22 December 2015, Emil Eifrem (guest author)

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

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

The world is swimming in open source, but only one company is making any money
8 July 2016, TechRepublic

provided by Google News

Security BSides Athens 2020 – Talk 05 – Tasos Chatziefstratiou’s ‘Visualize Windows Events Using Python3 & Neo4j’
6 August 2020, Security Boulevard

Graph Analytics Market Growing at a CAGR 34.0% | Key Player Microsoft, IBM, AWS, Oracle, Neo4j
15 July 2020, Virtual-Strategy Magazine

Neo4j 4.0 adds enterprise Fabric to its graph database
4 February 2020, ZDNet

Neo4j Extends Graph Databases to the Relational World
1 April 2020, ITPro Today

Neo4j Updates Graph Database -- ADTmag
6 February 2020, ADT Magazine

provided by Google News

Swarm64 Announces Strategic Partnership With Command Prompt, Inc.
6 August 2020, Business Wire

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

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

maintain a postgresql database using osm2pgsql - Linux & Unix
3 August 2020, BleepingComputer

PostgreSQL Multi-Model Graph Extension Announced
13 July 2020, iProgrammer

provided by Google News

Job opportunities

Data Engineer (Open to Remote Workers)
Medidata Solutions, New York, NY

Project Director (Remote)
Neo4j, United States

Marketing Communications Generalist - Contract-to-Hire (Remote)
Neo4j, United States

Data Analyst
Kharon, Los Angeles, CA

Enterprise Account Executive (Virginia Remote)
Neo4j, Virginia

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

Data Technician (Full- or Part-Time)
Thasos Group, New York, NY

GIS Analyst
Denver Regional Council of Governments, Denver, CO

Postgres DBA
The Motley Fool, Alexandria, VA

Fall 2020 DNC Technology Internship
Democratic National Committee, Washington, DC

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.

Couchbase logo

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

Vertica logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Neo4j logo

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

Present your product here