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

DBMS > LokiJS vs. PostgreSQL vs. SwayDB

System Properties Comparison LokiJS vs. PostgreSQL vs. SwayDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameLokiJS  Xexclude from comparisonPostgreSQL  Xexclude from comparisonSwayDB  Xexclude from comparison
DescriptionIn-memory JavaScript DBMSWidely 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 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
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
Score536.77
Rank#4  Overall
#4  Relational DBMS
Score0.06
Rank#319  Overall
#55  Key-value stores
Websitegithub.com/­techfort/­LokiJSwww.postgresql.orgswaydb.io
Technical documentationtechfort.github.io/­LokiJSwww.postgresql.org/­docs/­manuals
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerSimer Plaha
Initial release20141989 info1989: Postgres, 1996: PostgreSQL2018
Current release12.3, May 2020
License infoCommercial or Open SourceOpen SourceOpen Source infoBSDOpen Source infoGNU Affero GPL V3.0
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 languageJavaScriptCScala
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Data schemeschema-freeyesschema-free
Typing infopredefined data types such as float or datenoyesno
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 viewsyesno
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
Supported programming languagesJavaScript.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Java
Kotlin
Scala
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.no
Triggersyesyesno
Partitioning methods infoMethods for storing different data on different nodesnonepartitioning by range, list and (since PostgreSQL 11) by hashnone
Replication methods infoMethods for redundantly storing data on multiple nodesnoneSource-replica replication infoother methods possible by using 3rd party extensionsnone
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnono
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesno
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoatomic operations within a single collection possibleACIDAtomic execution of operations
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.yesnoyes
User concepts infoAccess controlnofine 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 partiesCYBERTEC: 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

Azure Database for PostgreSQL provides fully managed, enterprise-ready community PostgreSQL database as a service
» 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

2ndQuadrant: Mission Critical Databases.
» more

pgDash: In-Depth PostgreSQL Monitoring.
» more

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

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

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

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

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

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

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

provided by Google News

Job opportunities

Database Developer w/strong Postgres Skills-3
Nelson Interactive, California

Dynamic Recitation Developer
Rutgers University, New Brunswick, NJ

SQL DBA
Cognizant Technology Solutions, Windsor, CT

GIS Analyst
Denver Regional Council of Governments, Denver, CO

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

jobs by Indeed




Share this page

Featured Products

Couchbase logo

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

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.

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!

Present your product here