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

DBMS > LokiJS vs. PostgreSQL vs. TiDB

System Properties Comparison LokiJS vs. PostgreSQL vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameLokiJS  Xexclude from comparisonPostgreSQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionIn-memory JavaScript DBMSWidely used open source RDBMS infoDeveloped as objectoriented DBMS (Postgres), gradually enhanced with 'standards' like SQLTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
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.Relational DBMS
Secondary database modelsDocument storeDocument 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
Score2.06
Rank#122  Overall
#60  Relational DBMS
Websitegithub.com/­techfort/­LokiJSwww.postgresql.orgpingcap.com
Technical documentationtechfort.github.io/­LokiJSwww.postgresql.org/­docs/­manualspingcap.com/­docs
DeveloperPostgreSQL Global Development Group infowww.postgresql.org/­developerPingCAP, Inc.
Initial release20141989 info1989: Postgres, 1996: PostgreSQL2016
Current release12.3, May 20204.0.1, June 2020
License infoCommercial or Open SourceOpen SourceOpen Source infoBSDOpen Source infoApache 2.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.
  • 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 languageJavaScriptCGo, Rust
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)FreeBSD
HP-UX
Linux
NetBSD
OpenBSD
OS X
Solaris
Unix
Windows
Linux
Data schemeschema-freeyesyes
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.no
Secondary indexesyes infovia viewsyesyes
SQL infoSupport of SQLnoyes infostandard with numerous extensionsyes
APIs and other access methodsJavaScript APIADO.NET
JDBC
native C library
ODBC
streaming API for large objects
JDBC
ODBC
Proprietary protocol
Supported programming languagesJavaScript.Net
C
C++
Delphi
Java infoJDBC
JavaScript (Node.js)
Perl
PHP
Python
Tcl
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
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 hashhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesnoneSource-replica replication infoother methods possible by using 3rd party extensionsUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesno infocurrently only supported in syntax
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.yesnono
User concepts infoAccess controlnofine grained access rights according to SQL-standardUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
LokiJSPostgreSQLTiDB
Specific characteristicsTiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesIn the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosTiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersShopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metricsInfoWorld’s 2018 Best of Open Source Software Award winners 24200+ stars on GitHub...
» more
Licensing and pricing modelsOpen Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

TiDB 4.0: An Elastic, Real-Time HTAP Database Ready for the Cloud
6 August 2020

Create a Scale-Out Hive Cluster with a Distributed, MySQL-Compatible Database
4 August 2020

Heterogeneous Database Replication to TiDB
30 July 2020

Announcing Chaos Mesh® as a CNCF Sandbox Project
28 July 2020

How TiDB's HTAP Makes Truly Hybrid Workloads Possible
16 July 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 parties2ndQuadrant: Mission Critical Databases.
» more

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

pgDash: In-Depth PostgreSQL Monitoring.
» 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

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

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

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

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

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

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

maintain a postgresql database using osm2pgsql - Linux & Unix
3 August 2020, bleepingcomputer.com

provided by Google News

PingCAP Announces TiDB Cloud, Bringing Fully-Managed TiDB Service to AWS and GCP
23 June 2020, PRNewswire

PingCAP launches TiDB Cloud, a fully-managed database as a service offering
25 June 2020, Help Net Security

TiDB developer PingCAP wants to expand in North America after raising $50M Series C
11 September 2018, TechCrunch

How TiDB combines OLTP and OLAP in a distributed database
17 October 2018, InfoWorld

TiDB open sources its MySQL/MariaDB compatible data migration (DM) tool
22 January 2019, Packt Hub

provided by Google News

Job opportunities

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

PostgreSQL Database Developer (Remote) (Only GC, H4, L2 and USC)
Parsoft LLC, Palo Alto, CA

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

IT Architect
University of Kansas, Lawrence, KS

GIS Analyst
Denver Regional Council of Governments, Denver, CO

Product Marketing Manager for TiDB Cloud
PingCAP, San Mateo, CA

Database Reliability Engineer (DBRE)
SwissBorg, Remote

Senior Product Manager (TiDB Cloud)
PingCAP, San Mateo, CA

Senior Cloud Product Engineer
PingCAP, San Mateo, CA

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.

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.

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