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

DBMS > Oracle Berkeley DB vs. Riak KV vs. RocksDB vs. SwayDB vs. TiDB

System Properties Comparison Oracle Berkeley DB vs. Riak KV vs. RocksDB vs. SwayDB vs. TiDB

Editorial information provided by DB-Engines
NameOracle Berkeley DB  Xexclude from comparisonRiak KV  Xexclude from comparisonRocksDB  Xexclude from comparisonSwayDB  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionWidely used in-process key-value storeDistributed, fault tolerant key-value storeEmbeddable 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.
Primary database modelKey-value store infosupports sorted and unsorted key sets
Native XML DBMS infoin the Oracle Berkeley DB XML version
Key-value store infowith links between data sets and object tags for the creation of secondary indexesKey-value storeKey-value storeRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score2.21
Rank#117  Overall
#20  Key-value stores
#3  Native XML DBMS
Score4.10
Rank#82  Overall
#9  Key-value stores
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
Websitewww.oracle.com/­database/­technologies/­related/­berkeleydb.htmlrocksdb.orgswaydb.simer.aupingcap.com
Technical documentationdocs.oracle.com/­cd/­E17076_05/­html/­index.htmlwww.tiot.jp/­riak-docs/­riak/­kv/­latestgithub.com/­facebook/­rocksdb/­wikidocs.pingcap.com/­tidb/­stable
DeveloperOracle infooriginally developed by Sleepycat, which was acquired by OracleOpenSource, formerly Basho TechnologiesFacebook, Inc.Simer PlahaPingCAP, Inc.
Initial release19942009201320182016
Current release18.1.40, May 20203.2.0, December 20228.11.4, April 20248.0.0, March 2024
License infoCommercial or Open SourceOpen Source infocommercial license availableOpen Source infoApache version 2, commercial enterprise editionOpen Source infoBSDOpen Source infoGNU Affero GPL V3.0Open 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.
TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageC, Java, C++ (depending on the Berkeley DB edition)ErlangC++ScalaGo, Rust
Server operating systemsAIX
Android
FreeBSD
iOS
Linux
OS X
Solaris
VxWorks
Windows
Linux
OS X
LinuxLinux
Data schemeschema-freeschema-freeschema-freeschema-freeyes
Typing infopredefined data types such as float or datenonononoyes
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 infoonly with the Berkeley DB XML editionnononono
Secondary indexesyesrestrictednonoyes
SQL infoSupport of SQLyes infoSQL interfaced based on SQLite is availablenononoyes
APIs and other access methodsHTTP API
Native Erlang Interface
C++ API
Java API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languages.Net infoFigaro is a .Net framework assembly that extends Berkeley DB XML into an embeddable database engine for .NET
others infoThird-party libraries to manipulate Berkeley DB files are available for many languages
C
C#
C++
Java
JavaScript (Node.js) info3rd party binding
Perl
Python
Tcl
C infounofficial client library
C#
C++ infounofficial client library
Clojure infounofficial client library
Dart infounofficial client library
Erlang
Go infounofficial client library
Groovy infounofficial client library
Haskell infounofficial client library
Java
JavaScript infounofficial client library
Lisp infounofficial client library
Perl infounofficial client library
PHP
Python
Ruby
Scala infounofficial client library
Smalltalk infounofficial client library
C
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
Server-side scripts infoStored proceduresnoErlangnonono
Triggersyes infoonly for the SQL APIyes infopre-commit hooks and post-commit hooksnono
Partitioning methods infoMethods for storing different data on different nodesnoneSharding infono "single point of failure"horizontal partitioningnonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesSource-replica replicationselectable replication factoryesnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyesnonoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integritynono infolinks between data sets can be storednonoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDnoyesAtomic execution of operationsACID
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
Durability infoSupport for making data persistentyesyesyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yesyesyesno
User concepts infoAccess controlnoyes, using Riak SecuritynonoFine grained access rights according to SQL-standard
More information provided by the system vendor
Oracle Berkeley DBRiak KVRocksDBSwayDBTiDB
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
Oracle Berkeley DBRiak KVRocksDBSwayDBTiDB
Recent citations in the news

Margo Seltzer Named ACM Athena Lecturer for Technical and Mentoring Contributions
26 April 2023, HPCwire

ACM recognizes far-reaching technical achievements with special awards
26 May 2021, EurekAlert

Database Trends Report: SQL Beats NoSQL, MySQL Most Popular -- ADTmag
5 March 2019, ADT Magazine

A Quick Look at Open Source Databases for Mobile App Development
29 April 2018, Open Source For You

Motorola A780 Linux based smartphone to have mobile database
14 September 2004, Geekzone

provided by Google News

Basho Revamps Riak Open-Source Database
22 September 2023, InformationWeek

Riak NoSQL Database: Use Cases and Best Practices
23 December 2011, InfoQ.com

Basho, Maker of Riak NoSQL Database, Raises $25M
13 January 2015, Data Center Knowledge

Riak NoSQL snapped up by Bet365
12 September 2017, ComputerWeekly.com

Basho distributes Riak to more customers - DCD
28 November 2013, DatacenterDynamics

provided by Google 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

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

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

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

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.

Present your product here