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. TiDB

System Properties Comparison Spark SQL vs. TiDB

Please select another system to include it in the comparison.

Our visitors often compare Spark SQL and TiDB with MySQL, PostgreSQL and Snowflake.

Editorial information provided by DB-Engines
NameSpark SQL  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionSpark SQL is a component on top of 'Spark Core' for structured data processingTiDB 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 modelRelational DBMSRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score20.15
Rank#36  Overall
#22  Relational DBMS
Score2.92
Rank#113  Overall
#57  Relational DBMS
Websitespark.apache.org/­sqlpingcap.com
Technical documentationspark.apache.org/­docs/­latest/­sql-programming-guide.htmldocs.pingcap.com/­tidb/­stable
DeveloperApache Software FoundationPingCAP, Inc.
Initial release20142016
Current release3.3.0 ( 2.13), June 20226.6.0, February 2023
License infoCommercial or Open SourceOpen Source infoApache 2.0Open Source infoApache 2.0
Cloud-based only infoOnly available as a cloud servicenono
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 languageScalaGo, Rust
Server operating systemsLinux
OS X
Windows
Linux
Data schemeyesyes
Typing infopredefined data types such as float or dateyesyes
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.nono
Secondary indexesnoyes
SQL infoSupport of SQLSQL-like DML and DDL statementsyes
APIs and other access methodsJDBC
ODBC
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesJava
Python
R
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 proceduresnono
Triggersnono
Partitioning methods infoMethods for storing different data on different nodesyes, utilizing Spark Corehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integritynoyes infoallowed in DDL statements, but not checked in DML
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of datanoACID
Concurrency infoSupport for concurrent manipulation of datayesyes
Durability infoSupport for making data persistentyesyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.nono
User concepts infoAccess controlnoFine grained access rights according to SQL-standard
More information provided by the system vendor
Spark SQLTiDB
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

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 SQLTiDB
Recent citations in the news

What is Apache Spark? The big data platform that crushed Hadoop
30 March 2023, InfoWorld

Apache Spark SQL - Market Share, Competitor Insights in Big Data Analytics
19 March 2023, 6Sense

Spark SQL Explained with Examples
19 December 2022, sparkbyexamples.com

Spark SQL Functions in Query Service | Adobe Experience Platform
5 January 2023, Adobe

Amazon EMR on EKS now supports Spark SQL through the StartJobRun API
19 September 2022, AWS Blog

provided by Google News

Apache Druid, TiDB, ClickHouse, or Apache Doris? A Comparison ...
28 March 2023, hackernoon.com

PingCAP’s Innovative TiDB Database – Techstrong.TV
20 October 2022, DevOps.com

PingCAP Announces TiDB Cloud Serverless Tier, Delivering ...
1 November 2022, GlobeNewswire

3.4 times more Oracle MySQL transactions with Pliops' SSD array ...
17 March 2023, Blocks and Files

PingCAP's TiDB Cloud Launches on Google Cloud Marketplace to ...
7 June 2022, PR Newswire

provided by Google News

Job opportunities

Machine Learning Scientist
PayPal, Delaware

CPS Data Analyst Co-op
The Coca-Cola Company, Atlanta, GA

Big Data Developer
Sadup Softech, United States

Data Engineer
Sunixa Solutions, Remote

Data Engineer with Business Analysis(independents Only)
Primesoftinc, Remote

SSBN/SSGN Missile Technician
BAE Systems, Washington, DC

Sales Account Executive Bay Area - Remote
PingCAP, San Francisco Bay Area, CA

Sales Development Representative (SDR)
PingCAP, San Francisco Bay Area, CA

Education Project Manager
PingCAP, San Francisco Bay Area, CA

Web Application Architect 3
Bloomberg BNA, Arlington, VA

jobs by Indeed



Share this page

Featured Products

Redis logo

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

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

Cassandra Forward online event

Want to level up your Cassandra game?
If you missed the event or would like to re-watch a session, replays are available now. Watch now!

Neo4j logo

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

Vertica logo

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

Present your product here