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

DBMS > LokiJS vs. PostgreSQL vs. Redis

System Properties Comparison LokiJS vs. PostgreSQL vs. Redis

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameLokiJS  Xexclude from comparisonPostgreSQL  Xexclude from comparisonRedis  Xexclude from comparison
DescriptionIn-memory JavaScript DBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLIn-memory data structure store, used as database, cache and message broker infoRedis focuses on performance so most of its design decisions prioritize high performance and very low latencies.
Primary database modelDocument 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 infoMultiple data types and a rich set of operations, as well as configurable data expiration, eviction and persistence
Secondary database modelsDocument storeDocument store infowith Redis Modules
Graph DBMS infowith Redis Modules
Search engine infowith Redis Modules
Time Series DBMS infowith Redis Modules
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.51
Rank#218  Overall
#32  Document stores
Score527.00
Rank#4  Overall
#4  Relational DBMS
Score150.05
Rank#8  Overall
#1  Key-value stores
Websitegithub.com/­techfort/­LokiJSwww.postgresql.orgredis.io
Technical documentationtechfort.github.io/­LokiJSwww.postgresql.org/­docs/­manualsredis.io/­documentation
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerSalvatore Sanfilippo infoDevelopment sponsored by Redis Labs
Initial release20141989 info1989: Postgres, 1996: PostgreSQL2009
Current release12.3, May 20206.0.5, June 2020
License infoCommercial or Open SourceOpen SourceOpen Source infoBSDOpen Source infoBSD 3-Clause, commercial license available
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: Fully managed PostgreSQL hosting with high availability, dedicated servers, and superuser control on the #1 multi-cloud Amazon RDS alternative.
Implementation languageJavaScriptCC
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
BSD
Linux
OS X
Windows infoported and maintained by Microsoft Open Technologies, Inc.
Data schemeschema-freeyesschema-free
Typing infopredefined data types such as float or datenoyespartial infoSupported data types are strings, hashes, lists, sets and sorted sets, bit arrays, hyperloglogs and geospatial indexes
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.no
Secondary indexesyes infovia viewsyesyes infowith RediSearch module
SQL infoSupport of SQLnoyes infostandard with numerous extensionsno
APIs and other access methodsJavaScript APIADO.NET
JDBC
native C library
ODBC
streaming API for large objects
proprietary protocol infoRESP - REdis Serialization Protocol
Supported programming languagesJavaScript.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C
C#
C++
Clojure
Crystal
D
Dart
Elixir
Erlang
Fancy
Go
Haskell
Haxe
Java
JavaScript (Node.js)
Lisp
Lua
MatLab
Objective-C
OCaml
Pascal
Perl
PHP
Prolog
Pure Data
Python
R
Rebol
Ruby
Rust
Scala
Scheme
Smalltalk
Swift
Tcl
Visual Basic
Server-side scripts infoStored proceduresView functions in JavaScriptuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.Lua
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonepartitioning by range, list and (since PostgreSQL 11) by hashSharding
Replication methods infoMethods for redundantly storing data on multiple nodesnoneMaster-slave replication infoother methods possible by using 3rd party extensionsMaster-slave replication infoChained replication is supported
Multi-master replication infowith Redis Enterprise Pack
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyEventual Consistency
Strong eventual consistency with CRDTs
Foreign keys infoReferential integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoatomic operations within a single collection possibleACIDOptimistic locking, atomic execution of commands blocks and scripts
Concurrency infoSupport for concurrent manipulation of datayesyes infoData access is serialized by the server
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 infoConfigurable mechanisms for persistency via snapshots and/or operations logs
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesnoyes
User concepts infoAccess controlnofine grained access rights according to SQL-standardSimple password-based access control infoAccess control lists and SSL are available in the commercial version

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

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

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

pgDash: In-Depth PostgreSQL Monitoring.
» more

General SQL Parser: Instantly adding parsing, decoding, analysis and rewrite SQL processing capability to your products.
» more
Datadog: Monitor all Redis metrics: hit rates, clients, commands per second, and more.
» more

ScaleGrid: Fully managed Redis-as-a-Service in the cloud.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

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

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

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

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

MongoDB is the DBMS of the year, defending the title from last year
7 January 2015, Paul Andlinger, Matthias Gelbmann

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

Bitnine Looks to Scale PostgreSQL
30 June 2020, Datanami

Taking a practical approach to open source PostgreSQL
24 June 2020, TechTarget

EnterpriseDB Rebrands to EDB; Continues to Lead in the PostgreSQL Movement
23 June 2020, Business Wire

ScaleGrid DigitalOcean Support for MySQL, PostgreSQL and Redis™ Now Available
9 June 2020, PRNewswire

Managing inactive Amazon Aurora PostgreSQL users
8 June 2020, idk.dev

provided by Google News

Redis database creator Sanfilippo: Why I'm stepping down from the open-source project
2 July 2020, ZDNet

Redis 6: A high-speed database, cache, and message broker
21 June 2020, IDG Connect

Redis Labs Unveils New Open Source Project, RedisRaft
24 June 2020, Database Trends and Applications

ScaleGrid DigitalOcean Support for MySQL, PostgreSQL and Redis™ Now Available
9 June 2020, PRNewswire

In-Memory Database Market 2020 – 2027 Based on COVID-19 Impact Analysis, Top Players – Pivotal Software Inc., Voltdb Inc., Centrum Wiskunde & Informatica, Gridgain Systems Inc., Redis Labs, etc.
2 July 2020, 3rd Watch News

provided by Google News

Job opportunities

Entry Level Python Developer / Jr. Python Developer
Dash Technologies Inc, Texas City, TX

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

PostgreSQL DBA
ANB Sourcing LLC, Remote

PostgreSQL-Architect
Wipro LTD, Snellville, GA

Fall 2020 DNC Technology Internship
Democratic National Committee, Remote

PostgreSQL Database Admin
AWeber, Philadelphia, PA

Software Engineer, Performance (Bellevue, WA) (Remote Eligible)
Okta, Bellevue, WA

Staff Software Engineer - Core Services
Lob, California

Software Engineer, Performance (Atlanta, GA) (Remote Eligible)
Okta, Atlanta, GA

Entry Level Java Developer
Quantum Technologies Inc., Falls Church, VA

jobs by Indeed




Share this page

Featured Products

Neo4j logo

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Datastax Astra logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Couchbase logo

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

Present your product here