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

DBMS > RocksDB vs. SwayDB vs. TiDB vs. Vitess

System Properties Comparison RocksDB vs. SwayDB vs. TiDB vs. Vitess

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameRocksDB  Xexclude from comparisonSwayDB  Xexclude from comparisonTiDB  Xexclude from comparisonVitess  Xexclude from comparison
DescriptionEmbeddable persistent key-value store optimized for fast storage (flash and RAM)An 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.Scalable, distributed, cloud-native DBMS, extending MySQL
Primary database modelKey-value storeKey-value storeRelational DBMSRelational DBMS
Secondary database modelsDocument storeDocument store
Spatial DBMS
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score3.65
Rank#85  Overall
#11  Key-value stores
Score0.00
Rank#382  Overall
#59  Key-value stores
Score4.66
Rank#70  Overall
#38  Relational DBMS
Score0.82
Rank#209  Overall
#97  Relational DBMS
Websiterocksdb.orgswaydb.simer.aupingcap.comvitess.io
Technical documentationgithub.com/­facebook/­rocksdb/­wikidocs.pingcap.com/­tidb/­stablevitess.io/­docs
DeveloperFacebook, Inc.Simer PlahaPingCAP, Inc.The Linux Foundation, PlanetScale
Initial release2013201820162013
Current release8.11.4, April 20248.0.0, March 202415.0.2, December 2022
License infoCommercial or Open SourceOpen Source infoBSDOpen Source infoGNU Affero GPL V3.0Open Source infoApache 2.0Open Source infoApache Version 2.0, commercial licenses available
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 languageC++ScalaGo, RustGo
Server operating systemsLinuxLinuxDocker
Linux
macOS
Data schemeschema-freeschema-freeyesyes
Typing infopredefined data types such as float or datenonoyesyes
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.nonono
Secondary indexesnonoyesyes
SQL infoSupport of SQLnonoyesyes infowith proprietary extensions
APIs and other access methodsC++ API
Java API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
ADO.NET
JDBC
MySQL protocol
ODBC
Supported programming languagesC
C++
Go
Java
Perl
Python
Ruby
Java
Kotlin
Scala
Ada
C
C#
C++
D
Delphi
Eiffel
Erlang
Haskell
Java
JavaScript (Node.js)
Objective-C
OCaml
Perl
PHP
Python
Ruby
Scheme
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 proceduresnononoyes infoproprietary syntax
Triggersnonoyes
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioningnonehorizontal partitioning (by key range)Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesyesnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.Multi-source replication
Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnonoyes infowith TiSpark Connectorno
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyEventual Consistency across shards
Immediate Consistency within a shard
Foreign keys infoReferential integritynonoyes infofull support since version 6.6yes infonot for MyISAM storage engine
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datayesAtomic execution of operationsACIDACID at shard level
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes infotable locks or row locks depending on storage engine
Durability infoSupport for making data persistentyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesnoyes
User concepts infoAccess controlnonoFine grained access rights according to SQL-standardUsers with fine-grained authorization concept infono user groups or roles
More information provided by the system vendor
RocksDBSwayDBTiDBVitess
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 partiesSpeedb: A high performance RocksDB-compliant key-value store optimized for write-intensive workloads.
» more

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

More resources
RocksDBSwayDBTiDBVitess
Recent citations in the news

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

Linux 6.9 Drives AMD 4th Gen EPYC Performance Even Higher For Some Workloads
29 March 2024, Phoronix

Power your Kafka Streams application with Amazon MSK and AWS Fargate | Amazon Web Services
10 August 2021, AWS Blog

Intel Linux Optimizations Help AMD EPYC "Genoa" Improve Scaling To 384 Threads
6 April 2023, Phoronix

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

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

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

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

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

provided by Google News

Vitess, the database clustering system powering YouTube, graduates CNCF incubation
5 November 2019, SiliconANGLE News

PlanetScale Unveils Distributed MySQL Database Service Based on Vitess
18 May 2021, Datanami

PlanetScale grabs YouTube-developed open-source tech, promises Vitess DBaaS with on-the-fly schema changes
18 May 2021, The Register

They scaled YouTube — now they’ll shard everyone with PlanetScale
13 December 2018, TechCrunch

Massively Scaling MySQL Using Vitess
19 February 2019, InfoQ.com

provided by Google News



Share this page

Featured Products

SingleStore logo

Build AI apps with Vectors on SQL and JSON with milliseconds response times.
Try it today.

Milvus logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB 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