DB-EnginesExtremeDB: the mission critical dbmsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > Spark SQL vs. TerarkDB vs. TiDB

System Properties Comparison Spark SQL vs. TerarkDB vs. TiDB

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 comparison
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 Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelRelational DBMSKey-value storeRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score22.86
Rank#35  Overall
#21  Relational DBMS
Score0.00
Rank#354  Overall
#54  Key-value stores
Score3.54
Rank#93  Overall
#49  Relational DBMS
Websitespark.apache.org/­sqlgithub.com/­Terark/­terarkdbpingcap.com
Technical documentationspark.apache.org/­docs/­latest/­sql-programming-guide.htmlgithub.com/­Terark/­terarkdb/­wikidocs.pingcap.com/­tidb/­stable
DeveloperApache Software FoundationTerarkPingCAP, Inc.
Initial release201420162016
Current release3.2.0, October 20215.0.1, April 2021
License infoCommercial or Open SourceOpen Source infoApache 2.0commercial inforestricted open source version availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenonono
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, Rust
Server operating systemsLinux
OS X
Windows
Linux
Data schemeyesschema-freeyes
Typing infopredefined data types such as float or dateyesnoyes
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 indexesnonoyes
SQL infoSupport of SQLSQL-like DML and DDL statementsnoyes
APIs and other access methodsJDBC
ODBC
C++ API
Java API
JDBC
ODBC
Proprietary protocol
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
Triggersnonono
Partitioning methods infoMethods for storing different data on different nodesyes, utilizing Spark Corenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesnonenoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integritynonono infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanonoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyesyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.noyesno
User concepts infoAccess controlnonoUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
Spark SQLTerarkDBTiDB
Specific characteristicsTiDB is an open-source NewSQL database built by PingCAP. TiDB supports Hybrid Transactional...
» more
Competitive advantagesIn the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosTiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersShopee (E-commerce) BookMyShow.com (E-commerce) Yiguo.com (E-commerce) JD Cloud &...
» more
Market metrics25K+ GitHub Stars for TiDB, and 8K+ GitHub Stars for TiKV 1.6K+ members in TiDB Community...
» more
Licensing and pricing modelsOpen Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

TiDB Operator Source Code Reading (V): Backup and Restore
14 December 2021

Implementing Chaos Engineering in K8s: Chaos Mesh Principle Analysis and Control Plane Development
9 December 2021

TiDB 5.3: Delivering Enhancements for Data Intensive Applications
7 December 2021

Believe in the Multiplicative Power of Openness
30 November 2021

How to Connect TiDB Cloud to Metabase
24 November 2021

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 partiesSQLFlow: Provides a visual representation of the overall flow of data. Automated SQL data lineage analysis across Databases, ETL, Business Intelligence, Cloud and Hadoop environments by parsing SQL Script and stored procedure.
» more

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

More resources
Spark SQLTerarkDBTiDB
Recent citations in the news

Top online courses to learn Apache Spark
5 May 2022, Analytics India Magazine

Inside the Modern Data Stack
23 May 2022, Datanami

Software Architectural Patterns in Data Engineering | by Kunal Sharma | Expedia Group Technology | May, 2022
24 May 2022, Medium

Application Architects: Degree in Comp. Sc/Eng related. MS (2 yr)
18 May 2022, New Jersey Hills

Spark Gets Closer Hooks to Pandas, SQL with Version 3.2
26 October 2021, Datanami

provided by Google News

Understand NVMe 2.0 specification and its related features
4 January 2022, TechTarget

ByteDance eyes big data push with Terark acquisition EJINSIGHT
30 April 2019, EJ Insight

provided by Google News

PingCap brings TiDB distributed SQL HTAP database to cloud
11 May 2022, TechTarget

Takuya Hirano Joins PingCAP as an Executive Advisor
19 May 2022, PR Newswire

PingCAP Enhances Support for Data Intensive Applications with TiDB 5.3
7 December 2021, PR Newswire

PingCap TiDB 5.3 Supports Both High Volume Transaction Processing and Real-Time Analytics
4 January 2022, Database Trends and Applications

PingCAP Introduces its New Developer Tier to Boost Application Innovation with TiDB Cloud
9 November 2021, PR Newswire

provided by Google News

Job opportunities

Big Data Support Engineer (Spark, SQL)
Teamware Solutions, United States

ETL Tester
Cool Minds LLC, Remote

Data Engineer - Spark SQL, Scala, AWS Data Lake
Nasdaq, Inc., Boston, MA

Lead Data Scientist
New Balance, Massachusetts

Data Engineer
Clairvoyant, Remote

Software Engineer - Availability, Cash App
Cash App, Los Angeles, CA

Software Engineer - Availability, Cash App
Cash App, New York, NY

Sales Account Executive- Remote
PingCAP, Remote

Software Engineer - Cash Cards
Cash App, Austin, TX

Software Engineer - Cash Cards
Cash App, New York, NY

jobs by Indeed



Share this page

Featured Products

Datastax Astra logo

Build cloud-native apps fast with Astra, the open-source, multi-cloud stack for
modern data apps.
Get started with 80GB free.

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Vertica logo

Vertica Accelerator. The fastest analytics and machine learning, delivered as SaaS, with automated setup, administration, and management. Free trial.

Redis logo

The world’s most loved real‑time data platform.
Try free

Present your product here