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 > CockroachDB vs. searchxml vs. TerarkDB vs. TiDB

System Properties Comparison CockroachDB vs. searchxml vs. TerarkDB vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameCockroachDB  Xexclude from comparisonsearchxml  Xexclude from comparisonTerarkDB  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionCockroachDB is a distributed database architected for modern cloud applications. It is wire compatible with PostgreSQL and backed by a Key-Value Store, which is either RocksDB or a purpose-built derivative, called Pebble.DBMS for structured and unstructured content wrapped with an application serverA 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.
Primary database modelRelational DBMSNative XML DBMS
Search engine
Key-value storeRelational DBMS
Secondary database modelsDocument store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score6.10
Rank#58  Overall
#33  Relational DBMS
Score0.01
Rank#386  Overall
#7  Native XML DBMS
#24  Search engines
Score0.04
Rank#377  Overall
#58  Key-value stores
Score4.94
Rank#72  Overall
#40  Relational DBMS
Websitewww.cockroachlabs.comwww.searchxml.net/­category/­productsgithub.com/­bytedance/­terarkdbpingcap.com
Technical documentationwww.cockroachlabs.com/­docswww.searchxml.net/­support/­handoutsbytedance.larkoffice.com/­docs/­doccnZmYFqHBm06BbvYgjsHHcKcdocs.pingcap.com/­tidb/­stable
DeveloperCockroach Labsinformationpartners gmbhByteDance, originally TerarkPingCAP, Inc.
Initial release2015201520162016
Current release23.1.1, May 20231.07.6.0, January 2024
License infoCommercial or Open SourceOpen Source infoApache 2.0, commercial license availablecommercialcommercial inforestricted open source version availableOpen Source infoApache 2.0
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.
CockroachDB: A cloud-native, distributed SQL database designed for speed, scale, and survival. Get started for free today with a fully-managed CockroachDB cluster -- leave operations behind and get your app to market faster.TiDB Cloud: Fully-managed TiDB Service. Bring everything great about TiDB to the cloud.
Implementation languageGoC++C++Go, Rust
Server operating systemsLinux
macOS
Windows
WindowsLinux
Data schemedynamic schemaschema-freeschema-freeyes
Typing infopredefined data types such as float or dateyesyesnoyes
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.noyesnono
Secondary indexesyesyesnoyes
SQL infoSupport of SQLyes, wire compatible with PostgreSQLnonoyes
APIs and other access methodsJDBCRESTful HTTP API
WebDAV
XQuery
XSLT
C++ API
Java API
GORM
JDBC
ODBC
Proprietary protocol
SQLAlchemy
Supported programming languagesC#
C++
Clojure
Go
Java
JavaScript (Node.js)
PHP
Python
Ruby
Rust
C++ infomost other programming languages supported via APIsC++
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 proceduresnoyes infoon the application servernono
Triggersnononono
Partitioning methods infoMethods for storing different data on different nodeshorizontal partitioning (by key range) infoall tables are translated to an ordered KV store and then broken down into 64MB ranges, which are then used as replicas in RAFTnonenonehorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication using RAFTyes infosychronisation to multiple collectionsnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsnononoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate ConsistencyImmediate ConsistencyImmediate Consistency
Foreign keys infoReferential integrityyesnonoyes infofull support since version 6.6
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACIDmultiple readers, single writernoACID
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.nonoyesno
User concepts infoAccess controlRole-based access controlDomain, group and role-based access control at the document level and for application servicesnoFine grained access rights according to SQL-standard
More information provided by the system vendor
CockroachDBsearchxmlTerarkDBTiDB
Specific characteristicsCockroachDB is a cloud-native, distributed SQL database architected for modern applications....
» more
TiDB is an advanced open-source, distributed SQL database for modern application...
» more
Competitive advantages- EFFORTLESS SCALE: Scale your applications, not operational complexity. CockroachDB...
» more
- HORIZONTAL SCALING : TiDB grants total transparency into your data workloads without...
» more
Typical application scenariosPayment processing, user account management, metadata management, identity access...
» more
TiDB is ideal for transactional applications that require extreme scalability and...
» more
Key customersComcast, DoorDash, Mythical Games, Norfolk Southern, Netflix, LUSH, Bose, Shipt,...
» more
Block, Pinterest, Catalyst, Bolt, Flipkart, Capcom, Shopee (E-commerce), JD Cloud...
» more
Market metrics12K+ long-running clusters 25K+ CockroachDB self-hosted clusters 75K+ CockroachDB...
» more
34K+ GitHub stars 5K+ members in TiDB Community Slack 1K+ community contributors...
» more
Licensing and pricing models- Apache 2.0 for core features released up to and including the 19.1 release - Time-limited...
» more
TiDB 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
CockroachDBsearchxmlTerarkDBTiDB
Recent citations in the news

Cockroach Labs Deepens Partnership with Google Cloud, CockroachDB Selected to Join Google Distributed Cloud
9 April 2024, PR Newswire

CockroachDB tempts legacy databases to crawl into the cloud age
29 January 2024, The Register

How DoorDash Migrated from Aurora Postgres to CockroachDB
5 December 2023, The New Stack

How to Unlock Real-Time Data Streams with CockroachDB and Amazon MSK | Amazon Web Services
6 November 2023, AWS Blog

CockroachDB's Latest Enhancements Focus on Resilience
18 January 2024, Database Trends and Applications

provided by Google News

A Chinese company is making the cloud 200x faster ยท TechNode
3 July 2017, TechNode

provided by Google News

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

PingCAP Wins 2024 Data Breakthrough Awards
12 April 2024, GlobeNewswire

How PingCAP transformed TiDB into a serverless DBaaS using Amazon S3 and Amazon EBS | Amazon Web Services
14 November 2023, AWS Blog

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

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

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.

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

Milvus logo

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

Ontotext logo

GraphDB allows you to link diverse data, index it for semantic search and enrich it via text analysis to build big knowledge graphs. Get it free.

Present your product here