DB-EnginesInfluxDB: Focus on building software with an easy-to-use serverless, scalable time series platformEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Spark SQL vs. TerarkDB vs. TiDB vs. ToroDB

System Properties Comparison Spark SQL vs. TerarkDB vs. TiDB vs. ToroDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameSpark SQL  Xexclude from comparisonTerarkDB  Xexclude from comparisonTiDB  Xexclude from comparisonToroDB  Xexclude from comparison
ToroDB seems to be discontinued. Therefore it is excluded from the DB-Engines Ranking.
DescriptionSpark SQL is a component on top of 'Spark Core' for structured data processingA key-value store forked from RocksDB with advanced compression algorithms. It can be used standalone or as a storage engine for MySQL and MongoDBTiDB 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 MongoDB-compatible JSON document store, built on top of PostgreSQL
Primary database modelRelational DBMSKey-value storeRelational DBMSDocument store
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score18.96
Rank#33  Overall
#20  Relational DBMS
Score0.00
Rank#383  Overall
#60  Key-value stores
Score4.66
Rank#70  Overall
#38  Relational DBMS
Websitespark.apache.org/­sqlgithub.com/­bytedance/­terarkdbpingcap.comgithub.com/­torodb/­server
Technical documentationspark.apache.org/­docs/­latest/­sql-programming-guide.htmlbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKcdocs.pingcap.com/­tidb/­stable
DeveloperApache Software FoundationByteDance, originally TerarkPingCAP, Inc.8Kdata
Initial release2014201620162016
Current release3.5.0 ( 2.13), September 20238.0.0, March 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0commercial inforestricted open source version availableOpen Source infoApache 2.0Open Source infoAGPL-V3
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 languageScalaC++Go, RustJava
Server operating systemsLinux
OS X
Windows
LinuxAll OS with a Java 7 VM
Data schemeyesschema-freeyesschema-free
Typing infopredefined data types such as float or dateyesnoyesyes infostring, integer, double, boolean, date, object_id
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 indexesnonoyes
SQL infoSupport of SQLSQL-like DML and DDL statementsnoyes
APIs and other access methodsJDBC
ODBC
C++ API
Java API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesJava
Python
R
Scala
C++
Java
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 proceduresnonono
Triggersnononono
Partitioning methods infoMethods for storing different data on different nodesyes, utilizing Spark Corenonehorizontal partitioning (by key range)Sharding
Replication methods infoMethods for redundantly storing data on multiple nodesnonenoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.Source-replica replication
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyEventual Consistency
Immediate Consistency
Foreign keys infoReferential integritynonoyes infofull support since version 6.6no
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanonoACIDno
Concurrency infoSupport for concurrent manipulation of datayesyesyesyes
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.noyesno
User concepts infoAccess controlnonoFine grained access rights according to SQL-standardAccess rights for users and roles
More information provided by the system vendor
Spark SQLTerarkDBTiDBToroDB
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
Spark SQLTerarkDBTiDBToroDB
Recent citations in the news

Use Amazon Athena with Spark SQL for your open-source transactional table formats | Amazon Web Services
24 January 2024, AWS Blog

What is Apache Spark? The big data platform that crushed Hadoop
3 April 2024, InfoWorld

Cracking the Apache Spark Interview: 80+ Top Questions and Answers for 2024
1 April 2024, Simplilearn

1.5 Years of Spark Knowledge in 8 Tips | by Michael Berk
23 December 2023, Towards Data Science

Run Apache Hive workloads using Spark SQL with Amazon EMR on EKS | Amazon Web Services
18 October 2023, AWS Blog

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



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

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

Database for your real-time AI and Analytics Apps.
Try it today.

Present your product here