DB-EnginesExtremeDB: mitigate connectivity issues in a DBMSEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > CrateDB vs. Dgraph vs. LokiJS vs. Memcached vs. TiDB

System Properties Comparison CrateDB vs. Dgraph vs. LokiJS vs. Memcached vs. TiDB

Editorial information provided by DB-Engines
NameCrateDB  Xexclude from comparisonDgraph  Xexclude from comparisonLokiJS  Xexclude from comparisonMemcached  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionDistributed Database based on LuceneDistributed and scalable native Graph DBMSIn-memory JavaScript DBMSIn-memory key-value store, originally intended for cachingTiDB 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 store
Spatial DBMS
Search engine
Time Series DBMS
Vector DBMS
Graph DBMSDocument storeKey-value storeRelational DBMS
Secondary database modelsRelational DBMSDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.73
Rank#224  Overall
#37  Document stores
#5  Spatial DBMS
#16  Search engines
#19  Time Series DBMS
#8  Vector DBMS
Score1.45
Rank#156  Overall
#15  Graph DBMS
Score0.43
Rank#264  Overall
#42  Document stores
Score19.42
Rank#32  Overall
#4  Key-value stores
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitecratedb.comdgraph.iogithub.com/­techfort/­LokiJSwww.memcached.orgpingcap.com
Technical documentationcratedb.com/­docsdgraph.io/­docstechfort.github.io/­LokiJSgithub.com/­memcached/­memcached/­wikidocs.pingcap.com/­tidb/­stable
DeveloperCrateDgraph Labs, Inc.Danga Interactive infooriginally developed by Brad Fitzpatrick for LiveJournalPingCAP, Inc.
Initial release20132016201420032016
Current release1.6.27, May 20248.1.0, May 2024
License infoCommercial or Open SourceOpen SourceOpen Source infoApache 2.0Open SourceOpen Source infoBSD licenseOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonononono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
CrateDB Cloud: a distributed SQL database that spreads data and processing across an elastic cluster of shared nothing nodes. CrateDB Cloud enables data insights at scale on Microsoft Azure, AWS and Google Cloud Platform.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageJavaGoJavaScriptCGo, Rust
Server operating systemsAll Operating Systems, including Kubernetes with CrateDB Kubernetes Operator supportLinux
OS X
Windows
server-less, requires a JavaScript environment (browser, Node.js)FreeBSD
Linux
OS X
Unix
Windows
Linux
Data schemeFlexible Schema (defined schema, partial schema, schema free)schema-freeschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesyesnonoyes
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 indexesyesyesyes infovia viewsnoyes
SQL infoSupport of SQLyes, but no triggers and constraints, and PostgreSQL compatibilitynononoyes
APIs and other access methodsADO.NET
JDBC
ODBC
PostgreSQL wire protocol
Prometheus Remote Read/Write
RESTful HTTP API
GraphQL query language
gRPC (using protocol buffers) API
HTTP API
JavaScript APIProprietary protocolGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languages.NET
Erlang
Go infocommunity maintained client
Java
JavaScript (Node.js) infocommunity maintained client
Perl infocommunity maintained client
PHP
Python
R
Ruby infocommunity maintained client
Scala infocommunity maintained client
C#
C++
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
JavaScript.Net
C
C++
ColdFusion
Erlang
Java
Lisp
Lua
OCaml
Perl
PHP
Python
Ruby
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 proceduresuser defined functions (Javascript)noView functions in JavaScriptnono
Triggersnonoyesnono
Partitioning methods infoMethods for storing different data on different nodesShardingyesnonenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesConfigurable replication on table/partition-levelSynchronous replication via Raftnonenone infoRepcached, a Memcached patch, provides this functionallityUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyesnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Read-after-write consistency on record level
Immediate ConsistencynoneImmediate Consistency
Foreign keys infoReferential integritynonononoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datano infounique row identifiers can be used for implementing an optimistic concurrency control strategyACIDno infoatomic operations within a single collection possiblenoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.noyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesno
User concepts infoAccess controlrights management via user accountsno infoPlanned for future releasesnoyes infousing SASL (Simple Authentication and Security Layer) protocolFine grained access rights according to SQL-standard
More information provided by the system vendor
CrateDBDgraphLokiJSMemcachedTiDB
Specific characteristicsThe enterprise database for time series, documents, and vectors. Distributed - Native...
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantagesResponse time in milliseconds: e ven for complex ad-hoc queries. Massive scaling...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenarios​ IoT: accelerate your IIoT projects with CrateDB, delivering real-time analytics...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersAcross all continents, CrateDB is used by companies of all sizes to meet the most...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metricsThe CrateDB open source project was started in 2013 Honorable Mention in 2021 Gartner®...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing modelsSee CrateDB pricing >
» more
TiDB 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
CrateDBDgraphLokiJSMemcachedTiDB
DB-Engines blog posts

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

show all

Redis extends the lead in the DB-Engines key-value store ranking
3 February 2014, Matthias Gelbmann

New DB-Engines Ranking shows the popularity of database management systems
3 October 2012, Matthias Gelbmann, Paul Andlinger

show all

Recent citations in the news

CrateDB Announces Availability of CrateDB on Google Cloud Marketplace
8 April 2024, Datanami

CrateDB Partners with HiveMQ to Deliver a Seamless Data Management Architecture for IoT
25 March 2024, PR Newswire

CrateDB Appoints Sergey Gerasimenko as New CTO
20 February 2024, CIO News

How We Designed CrateDB as a Realtime SQL DBMS for the Internet of Things
29 August 2017, The New Stack

Crate.io Introduces CrateDB 2.0 Enterprise and Open Source Editions
16 May 2017, Business Wire

provided by Google News

Popular Open Source GraphQL Company Dgraph Secures $6M in Seed Round with New Leadership
20 July 2022, PR Newswire

Dgraph on AWS: Setting up a horizontally scalable graph database | Amazon Web Services
1 September 2020, AWS Blog

The 12 Best Graph Databases to Consider for 2024
22 October 2023, Solutions Review

Dgraph Rises to the Top Graph Database on GitHub With 11 G2 Badges and 11M Downloads
26 May 2021, businesswire.com

Dgraph Raises $6M in Seed Funding
20 July 2022, FinSMEs

provided by Google News

LokiJS - A JavaScript Database
18 November 2014, iProgrammer

provided by Google News

Why DDoS Threat Actors Are Shifting Their Tactics
15 March 2024, Infosecurity Magazine

What are memcached servers, and why are they being used to launch record-setting DDoS attacks?
6 March 2018, GeekWire

Introducing mcrouter: A memcached protocol router for scaling memcached deployments
15 September 2014, Facebook Engineering

Why Redis beats Memcached for caching
14 September 2017, InfoWorld

Memcached DDoS: The biggest, baddest denial of service attacker yet
1 March 2018, ZDNet

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

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

Announcing TiDB 7.4: The Best Database Alternative for MySQL 8.0
1 November 2023, PR Newswire

provided by Google News



Share this page

Featured Products

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online 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

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

SingleStore logo

The database to transact, analyze and contextualize your data in real time.
Try it today.

Present your product here