DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > LokiJS vs. SingleStore vs. SQLite vs. TiDB

System Properties Comparison LokiJS vs. SingleStore vs. SQLite vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameLokiJS  Xexclude from comparisonSingleStore infoformer name was MemSQL  Xexclude from comparisonSQLite  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionIn-memory JavaScript DBMSMySQL wire-compliant distributed RDBMS that combines an in-memory row-oriented and a disc-based column-oriented storage with patented universal storage to handle transactional and analytical workloads in one single table typeWidely used embeddable, in-process RDBMSTiDB is an open source distributed SQL database that supports Hybrid Transactional/Analytical Processing (HTAP) workloads. It is MySQL compatible and features horizontal scalability, strong consistency, and high availability.
Primary database modelDocument storeRelational DBMSRelational DBMSRelational DBMS
Secondary database modelsDocument store
Spatial DBMS
Time Series DBMS
Vector DBMS
Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.44
Rank#256  Overall
#40  Document stores
Score4.02
Rank#74  Overall
#39  Relational DBMS
Score103.35
Rank#10  Overall
#7  Relational DBMS
Score4.09
Rank#72  Overall
#38  Relational DBMS
Websitegithub.com/­techfort/­LokiJSwww.singlestore.comwww.sqlite.orgpingcap.com
Technical documentationtechfort.github.io/­LokiJSdocs.singlestore.comwww.sqlite.org/­docs.htmldocs.pingcap.com/­tidb/­stable
DeveloperSingleStore Inc.Dwayne Richard HippPingCAP, Inc.
Initial release2014201320002016
Current release8.5, January 20243.46.1  (13 August 2024), August 20248.2.0, July 2024
License infoCommercial or Open SourceOpen Sourcecommercial infofree developer edition availableOpen Source infoPublic DomainOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaScriptC++, GoCGo, Rust
Server operating systemsserver-less, requires a JavaScript environment (browser, Node.js)Linux info64 bit version requiredserver-lessLinux
Data schemeschema-freeyesyes infodynamic column typesyes
Typing infopredefined data types such as float or datenoyesyes infonot rigid because of 'dynamic typing' concept.yes
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.nononono
Secondary indexesyes infovia viewsyesyesyes
SQL infoSupport of SQLnoyes infobut no triggers and foreign keysyes infoSQL-92 is not fully supportedyes
APIs and other access methodsJavaScript APICluster Management API infoas HTTP Rest and CLI
HTTP API
JDBC
MongoDB API
ODBC
ADO.NET infoinofficial driver
JDBC infoinofficial driver
ODBC infoinofficial driver
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesJavaScriptBash
C
C#
Java
JavaScript (Node.js)
Python
Actionscript
Ada
Basic
C
C#
C++
D
Delphi
Forth
Fortran
Haskell
Java
JavaScript
Lisp
Lua
MatLab
Objective-C
OCaml
Perl
PHP
PL/SQL
Python
R
Ruby
Scala
Scheme
Smalltalk
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 JavaScriptyesnono
Triggersyesnoyesno
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infohash partitioningnonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesnoneSource-replica replication infostores two copies of each physical data partition on two separate nodesnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesno infocan define user-defined aggregate functions for map-reduce-style calculationsnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynonoyesyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infoatomic operations within a single collection possibleACIDACIDACID
Concurrency infoSupport for concurrent manipulation of datayes, multi-version concurrency control (MVCC)yes infovia file-system locksyes
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.yes infoAll updates are persistent, including those to disk-based columnstores and memory-based row stores. Transaction commits are supported via write-ahead log.yesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesno
User concepts infoAccess controlnoFine grained access control via users, groups and rolesnoFine grained access rights according to SQL-standard
More information provided by the system vendor
LokiJSSingleStore infoformer name was MemSQLSQLiteTiDB
Specific characteristicsTiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosTiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersBlock, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsTiDB Community : Free open source software (Apache 2.0) TiDB Self-Hosted : Enterprise...
» more

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 partiesNavicat for SQLite is a powerful and comprehensive SQLite GUI that provides a complete set of functions for database management and development.
» more

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

More resources
LokiJSSingleStore infoformer name was MemSQLSQLiteTiDB
DB-Engines blog posts

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

show all

Turbocharge Your Application Development Using WebAssembly With SingleStoreDB
17 October 2022,  Akmal Chaudhri, SingleStore (sponsor) 

Cloud-Based Analytics With SingleStoreDB
9 June 2022,  Akmal Chaudhri, SingleStore (sponsor) 

SingleStore: The Increasing Momentum of Multi-Model Database Systems
14 February 2022,  Akmal Chaudhri, SingleStore (sponsor) 

show all

Big gains for Relational Database Management Systems in DB-Engines Ranking
2 February 2016, Matthias Gelbmann

show all

Recent citations in the news

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

SingleStore Partners With Snowflake to Help Users Build Faster, More Efficient Real Time AI Applications
19 September 2024, businesswire.com

SingleStore CEO sees little future for purpose-built vector databases
24 January 2024, VentureBeat

Achieve near real-time analytics on Amazon DynamoDB with SingleStore
16 September 2024, AWS Blog

Building a Modern Database: Nikita Shamgunov on Postgres and Beyond
18 April 2024, Madrona Venture Group

SingleStore: We do vectors and you don’t need knowledge graphs
22 July 2024, Blocks & Files

provided by Google News

Google researchers suggest "fixing" SQL with pipe syntax, SQLite creator unconvinced
30 August 2024, DevClass

How to work with Dapper and SQLite in ASP.NET Core
10 May 2024, InfoWorld

LLM-Assisted Translation From Postgres to SQLite and DuckDB
16 September 2024, The New Stack

SQLite Vulnerability Could Put Thousands of Apps at Risk
22 March 2024, Dark Reading

Optimizing neuroscience data management by combining REDCap, BIDS and SQLite: a case study in Deep Brain Stimulation
5 September 2024, Frontiers

provided by Google News

How a new database architecture supports scale and reliability in TiDB
11 March 2024, InfoWorld

Unlocking performance, scalability, and cost-efficiency of Zomato’s Billing Platform by switching from TiDB to DynamoDB
22 December 2023, AWS Blog

TiDB Can Do What MongoDB or CockRoachDB Can’t
27 June 2024, AIM

Google Cloud's C3D Instances Provide Strong Performance Value For PingCAP's TiDB
28 March 2024, Phoronix

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS
14 November 2023, AWS Blog

provided by Google News



Share this page

Featured Products

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for Free

Present your product here