DB-EnginesExtremeDB for everyone with an RTOSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Citus vs. DuckDB vs. LokiJS vs. TiDB

System Properties Comparison Citus vs. DuckDB vs. LokiJS vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCitus  Xexclude from comparisonDuckDB  Xexclude from comparisonLokiJS  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionScalable hybrid operational and analytics RDBMS for big data use cases based on PostgreSQLAn embeddable, in-process, column-oriented SQL OLAP RDBMSIn-memory JavaScript DBMSTiDB 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 modelRelational DBMSRelational DBMSDocument storeRelational DBMS
Secondary database modelsDocument storeDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.15
Rank#117  Overall
#56  Relational DBMS
Score4.63
Rank#69  Overall
#37  Relational DBMS
Score0.49
Rank#260  Overall
#42  Document stores
Score4.25
Rank#74  Overall
#40  Relational DBMS
Websitewww.citusdata.comduckdb.orggithub.com/­techfort/­LokiJSpingcap.com
Technical documentationdocs.citusdata.comduckdb.org/­docstechfort.github.io/­LokiJSdocs.pingcap.com/­tidb/­stable
DeveloperPingCAP, Inc.
Initial release2010201820142016
Current release8.1, December 20181.0.0, June 20248.1.0, May 2024
License infoCommercial or Open SourceOpen Source infoAGPL, commercial license also availableOpen Source infoMIT LicenseOpen SourceOpen 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 languageCC++JavaScriptGo, Rust
Server operating systemsLinuxserver-lessserver-less, requires a JavaScript environment (browser, Node.js)Linux
Data schemeyesyesschema-freeyes
Typing infopredefined data types such as float or dateyesyesnoyes
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.yes infospecific XML type available, but no XML query functionalitynonono
Secondary indexesyesyesyes infovia viewsyes
SQL infoSupport of SQLyes infostandard, with numerous extensionsyesnoyes
APIs and other access methodsADO.NET
JDBC
native C library
ODBC
streaming API for large objects
Arrow Database Connectivity (ADBC)
CLI Client
JDBC
ODBC
JavaScript APIGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languages.Net
C
C++
Delphi
Java
JavaScript (Node.js)
Perl
PHP
Python
Tcl
C
C# info3rd party driver
C++
Crystal info3rd party driver
Go info3rd party driver
Java
Lisp info3rd party driver
Python
R
Ruby info3rd party driver
Rust
Swift
Zig info3rd party driver
JavaScriptAda
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 proceduresuser defined functions inforealized in proprietary language PL/pgSQL or with common languages like Perl, Python, Tcl etc.noView functions in JavaScriptno
Triggersyesnoyesno
Partitioning methods infoMethods for storing different data on different nodesShardingnonenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replication infoother methods possible by using 3rd party extensionsnonenoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencynoneImmediate Consistency
Foreign keys infoReferential integrityyesnonoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDACIDno infoatomic operations within a single collection possibleACID
Concurrency infoSupport for concurrent manipulation of datayesyes, multi-version concurrency control (MVCC)yes
Durability infoSupport for making data persistentyesyesyes infoSerialization of a DB in a Node.JS/Cordova/PhoneGap environment. Usage of the IndexedDB-API in a browser.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesyesno
User concepts infoAccess controlfine grained access rights according to SQL-standardnonoFine grained access rights according to SQL-standard
More information provided by the system vendor
CitusDuckDBLokiJSTiDB
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

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

More resources
CitusDuckDBLokiJSTiDB
DB-Engines blog posts

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

show all

Recent citations in the news

Ubicloud wants to build an open source alternative to AWS
5 March 2024, TechCrunch

Ubicloud reels in $16M for its open-source cloud platform
5 March 2024, SiliconANGLE News

Microsoft acquires Citus Data, re-affirming its commitment to Open Source and accelerating Azure PostgreSQL ...
24 January 2019, blogs.microsoft.com

Distributed PostgreSQL Benchmarks: Azure Cosmos DB, CockroachDB, and YugabyteDB
8 July 2023, InfoQ.com

Microsoft Benchmarks Distributed PostgreSQL DBs
10 July 2023, Datanami

provided by Google News

MotherDuck Announces General Availability; Brings Simplicity and Power of DuckDB in a Serverless Data Warehouse
11 June 2024, PR Newswire

DuckDB: The tiny but powerful analytics database
15 May 2024, InfoWorld

DuckDB promises greater stability with 1.0 release
5 June 2024, The Register

DuckDB: In-Process Python Analytics for Not-Quite-Big Data
31 May 2024, The New Stack

DuckDB Walks to the Beat of Its Own Analytics Drum
5 March 2024, Datanami

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

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

Navigating Modern Data Challenges: Ed Huang, CTO of PingCAP on the Future of Distributed SQL Databases
10 June 2024, DATAQUEST

PingCAP Launches TiDB 7.5, Enhancing Distributed SQL Database Tech
19 December 2023, Datanami

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

TiDB by PingCAP Leads Data Management Revolution at GIDS 2024, Empowering India's Burgeoning Developer ...
25 April 2024, CXOToday.com

provided by Google News



Share this page

Featured Products

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus for 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

Present your product here