DB-EnginesextremeDB - Data management wherever you need itEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > RocksDB vs. SQL.JS vs. SwayDB vs. TiDB vs. Typesense

System Properties Comparison RocksDB vs. SQL.JS vs. SwayDB vs. TiDB vs. Typesense

Editorial information provided by DB-Engines
NameRocksDB  Xexclude from comparisonSQL.JS  Xexclude from comparisonSwayDB  Xexclude from comparisonTiDB  Xexclude from comparisonTypesense  Xexclude from comparison
DescriptionEmbeddable persistent key-value store optimized for fast storage (flash and RAM)Port of SQLite to JavaScriptAn embeddable, non-blocking, type-safe key-value store for single or multiple disks and in-memory storageTiDB 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.A typo-tolerant, in-memory search engine optimized for instant search-as-you-type experiences and developer productivity
Primary database modelKey-value storeRelational DBMSKey-value storeRelational DBMSSearch engine
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.84
Rank#97  Overall
#16  Key-value stores
Score0.53
Rank#246  Overall
#115  Relational DBMS
Score0.00
Rank#384  Overall
#60  Key-value stores
Score4.09
Rank#72  Overall
#38  Relational DBMS
Score0.80
Rank#209  Overall
#14  Search engines
Websiterocksdb.orgsql.js.orgswaydb.simer.aupingcap.comtypesense.org
Technical documentationgithub.com/­facebook/­rocksdb/­wikisql.js.org/­documentation/­index.htmldocs.pingcap.com/­tidb/­stabletypesense.org/­docs
DeveloperFacebook, Inc.Alon Zakai infoenhancements implemented by othersSimer PlahaPingCAP, Inc.
Initial release20132012201820162015
Current release9.4.0, June 20248.2.0, July 2024
License infoCommercial or Open SourceOpen Source infoBSDOpen SourceOpen Source infoGNU Affero GPL V3.0Open Source infoApache 2.0Open Source infoGPL V3
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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC++JavaScriptScalaGo, RustC++
Server operating systemsLinuxserver-less, requires a JavaScript environment (browser, Node.js)LinuxLinux
Data schemeschema-freeyesschema-freeyesschema-free infopre-defined schema optional
Typing infopredefined data types such as float or datenoyesnoyesyes
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 indexesnonoyesyes
SQL infoSupport of SQLnoyes infoSQL-92 is not fully supportednoyesno
APIs and other access methodsC++ API
Java API
JavaScript APIGORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
RESTful HTTP API
Supported programming languagesC
C++
Go
Java
Perl
Python
Ruby
JavaScriptJava
Kotlin
Scala
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
Tcl
.Net infocommunity maintained
Clojure infocommunity maintained
Dart infocommunity maintained
Go infocommunity maintained
Java infocommunity maintained
JavaScript
Perl infocommunity maintained
PHP
Python
Ruby
Rust infocommunity maintained
Swift infocommunity maintained
Server-side scripts infoStored proceduresnonononono
Triggersnonono
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioningnonenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesyesnonenoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.Multi-source replication using RAFT
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infowith TiSpark Connectorno
Consistency concepts infoMethods to ensure consistency in a distributed systemnoneImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynoyesnoyes infofull support since version 6.6no
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesACIDAtomic execution of operationsACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesno infoexcept by serializing a db to a fileyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesnoyes
User concepts infoAccess controlnononoFine grained access rights according to SQL-standard
More information provided by the system vendor
RocksDBSQL.JSSwayDBTiDBTypesense
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
RocksDBSQL.JSSwayDBTiDBTypesense
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

AMD EPYC vs. Intel Xeon Cascadelake With Facebook's RocksDB Database
17 October 2019, Phoronix

Pliops Unveils Accelerated Key-Value Store That Boosts RocksDB Performance by 20x at OCP Global Summit
18 October 2022, GlobeNewswire

Did Rockset Just Solve Real-Time Analytics?
25 August 2021, Datanami

Meta’s Velox Means Database Performance Is Not Subject To Interpretation
31 August 2022, The Next Platform

Facebook’s MyRocks Truly Rocks!
21 September 2020, Open Source For You

provided by Google News

9 Best JavaScript and TypeScript ORMs for 2024
22 March 2023, SitePoint

Running PostgreSQL Inside Your Browser
8 September 2022, iProgrammer

SQLite On The Web: Absurd-sql
24 August 2021, Hackaday

React Native for beginners
31 October 2018, hackernoon.com

10 Low-Code Rules for Serious Coders
21 November 2022, Embedded Computing Design

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

Laravel Scout Adds Typesense, A Lightening-fast Open-source Search
17 January 2024, Laravel News

Building fast, fuzzy site search with Laravel and Typesense
29 July 2024, Laravel News

China win second Challenger round
10 March 2024, Scrum Queens

5 Recipe Search Engines to Cook Based on Time, Budget, & Ingredients - MUO
19 April 2022, MakeUseOf

Spain plans Six Nations alternative
13 July 2017, Scrum Queens

provided by Google News



Share this page

Featured Products

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.

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.

Milvus logo

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

Present your product here