DB-EnginesCrateDB bannerEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT

DBMS > MongoDB vs. Sphinx vs. TiDB

System Properties Comparison MongoDB vs. Sphinx vs. TiDB

Please select another system to include it in the comparison.

Editorial information provided by DB-Engines
NameMongoDB  Xexclude from comparisonSphinx  Xexclude from comparisonTiDB  Xexclude from comparison
DescriptionOne of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructureOpen source search engine for searching in data from different sources, e.g. relational databasesTiDB is an open source distributed Hybrid Transactional/Analytical Processing (HTAP) database that supports MySQL and Spark SQL syntaxes.
Primary database modelDocument storeSearch engineRelational DBMS
Secondary database modelsSearch engine infointegrated Lucene index, currently in MongoDB Atlas only.Document store
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score412.09
Rank#5  Overall
#1  Document stores
Score7.39
Rank#47  Overall
#5  Search engines
Score1.47
Rank#126  Overall
#64  Relational DBMS
Websitewww.mongodb.comsphinxsearch.compingcap.com
Technical documentationdocs.mongodb.com/­manualsphinxsearch.com/­docspingcap.com/­docs
DeveloperMongoDB, IncSphinx Technologies Inc.PingCAP, Inc.
Initial release200920012016
Current release4.2, August 20193.1.1, October 20183.0.0, June 2019
License infoCommercial or Open SourceOpen Source infoMongoDB Inc.'s Server Side Public License v1. Prior versions were published under GNU AGPL v3.0. Commercial licenses are also available.Open Source infoGPL version 2, commercial licence availableOpen Source infoApache 2.0
Cloud-based only infoOnly available as a cloud serviceno infoMongoDB available as DBaaS (MongoDB Atlas)nono
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
MongoDB Atlas: Deploy a fully managed cloud database on-demand and ready for use in minutes. Available on AWS, Azure, and GCP.
Implementation languageC++C++Go, Rust
Server operating systemsLinux
OS X
Solaris
Windows
FreeBSD
Linux
NetBSD
OS X
Solaris
Windows
Linux
Data schemeschema-free infoAlthough schema-free, documents of the same collection often follow the same structure. Optionally impose all or part of a schema by defining a JSON schema.yesyes
Typing infopredefined data types such as float or dateyes infostring, integer, double, decimal, boolean, date, object_id, geospatialnoyes
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.no
Secondary indexesyesyes infofull-text index on all search fieldsyes
SQL infoSupport of SQLRead-only SQL queries via the MongoDB Connector for BISQL-like query language (SphinxQL)yes
APIs and other access methodsproprietary protocol using JSONProprietary protocolProprietary protocol
JDBC
ODBC
Supported programming languagesActionscript infoinofficial driver
C
C#
C++
Clojure infoinofficial driver
ColdFusion infoinofficial driver
D infoinofficial driver
Dart infoinofficial driver
Delphi infoinofficial driver
Erlang
Go
Groovy infoinofficial driver
Haskell
Java
JavaScript
Lisp infoinofficial driver
Lua infoinofficial driver
MatLab infoinofficial driver
Perl
PHP
PowerShell infoinofficial driver
Prolog infoinofficial driver
Python
R infoinofficial driver
Ruby
Scala
Smalltalk infoinofficial driver
C++ infounofficial client library
Java
Perl infounofficial client library
PHP
Python
Ruby infounofficial client library
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 proceduresJavaScriptnono
Triggersyes infoin MongoDB Atlas onlynono
Partitioning methods infoMethods for storing different data on different nodesSharding infopartitioned by hashed, ranged, or zoned sharding keysSharding infoPartitioning is done manually, search queries against distributed index is supportedhorizontal partitioning (by key range)
Replication methods infoMethods for redundantly storing data on multiple nodesMaster-slave replicationnoneUsing Raft consensus algorithm to ensure data replication with strong consistency among multiple replicas.
MapReduce infoOffers an API for user-defined Map/Reduce methodsyesnoyes infowith TiSpark Connector
Consistency concepts infoMethods to ensure consistency in a distributed systemEventual Consistency
Immediate Consistency infocan be individually decided for each write operation
Immediate Consistency
Foreign keys infoReferential integrityno infotypically not used, however similar functionality with DBRef possiblenono infocurrently only supported in syntax
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataMulti-document ACID Transactions with snapshot isolationnoACID
Concurrency infoSupport for concurrent manipulation of datayesyesyes
Durability infoSupport for making data persistentyes infooptionalyes infoThe original contents of fields are not stored in the Sphinx index.yes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.yes infoIn-memory storage engine introduced with MongoDB version 3.2no
User concepts infoAccess controlAccess rights for users and rolesnoUsers with fine-grained authorization concept. No user groups or roles.
More information provided by the system vendor
MongoDBSphinxTiDB
Specific characteristicsMongoDB is the leading modern, general purpose data platform, designed to unleash...
» more
TiDB is an open source distributed scalable hybrid transactional and analytical processing...
» more
Competitive advantagesThe MongoDB Data Platform can be used by developers building OLTP and analytical...
» more
In the current database landscape, infrastructure engineers often have to use one...
» more
Typical application scenariosInternet of Things and Time Series (Bosch, Jaguar Land Rover) Mobile (The Weather...
» more
TiDB is designed to support both OLTP and OLAP scenarios. You can use TiDB , the...
» more
Key customersADP, Adobe, Amadeus, AstraZeneca, Auto Trader, Barclays, BBVA, Bosch, Cisco, CERN,...
» more
Bank of Beijing (Banking) Mobike (Ridesharing) Toutiao (Media) Ele.me (Catering)...
» more
Market metrics70 million downloads (growing at more than 30 thousand downloads per day). 15,000+...
» more
InfoWorld’s 2018 Best of Open Source Software Award winners 15000+ stars on GitHub...
» more
Licensing and pricing modelsMongoDB database server: Server-Side Public License (SSPL) . Commercial licenses...
» more
Open Source Apache 2.0 with either commercial licensing or fully-hosted DB-as-a-service...
» more
News

Safety First! Common Safety Pitfalls in Distributed Databases Found by Jepsen Tests
18 September 2019

How TSQ Becomes a Performance Bottleneck for TiKV in AWS ARM Environment
26 August 2019

Lesson Learned from Queries over 1.3 Trillion Rows of Data Within Milliseconds of Response Time at Zhihu.com
21 August 2019

Porting TiDB to ARM64 for Greater Flexibility
16 August 2019

Migrating the TiKV Rust Client from Futures 0.1 to 0.3
8 August 2019

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 partiesStudio 3T: The world's favorite IDE for working with MongoDB
» more

Dremio: Analyze your data with standard SQL and any BI tool. Accelerate your queries up to 1,000x.
» more

Knowi: Build MongoDB Reports and Data Visualizations in Minutes with Native Integration
» more

Navicat for MongoDB gives you a highly effective GUI interface for MongoDB database management, administration and development.
» more

CData: Connect to Big Data & NoSQL through standard Drivers.
» more

DBHawk: Powerful web-based MongoDB GUI. Connect securely to on-premise MongoDB or MongoDB on the Cloud, Atlas or mLab.
» more

ScaleGrid: Deploy, monitor, backup and scale MongoDB in the cloud with the #1 Database-as-a-Service (DBaaS) platform.
» more

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

More resources
MongoDBSphinxTiDB
DB-Engines blog posts

PostgreSQL is the DBMS of the Year 2018
2 January 2019, Paul Andlinger, Matthias Gelbmann

PostgreSQL moves up one rank at the expense of MongoDB
1 September 2016, Paul Andlinger

Oracle is the DBMS of the Year
5 January 2016, Paul Andlinger, Matthias Gelbmann

show all

The DB-Engines ranking includes now search engines
4 February 2013, Paul Andlinger

show all

Recent citations in the news

Hedge Funds Piled Into MongoDB (MDB) At The Wrong Time
21 October 2019, Yahoo Finance

MongoDB: Revenue Growth Slowing Down Not Good For Valuation
20 October 2019, Seeking Alpha

Why MongoDB Shares Fell 21% Last Month
9 October 2019, Motley Fool

MongoDB, Inc. [MDB] – What next after Recent Momentum?
21 October 2019, The Dwinnex

MongoDB: Not A Buy Yet
10 October 2019, Seeking Alpha

provided by Google News

Best NZB Search Engines for Usenet
13 September 2019, Tales Buzz

Open Source Tools & Framework: Microservices Perspective
16 August 2019, Analytics India Magazine

Types of open source software and Licenses
8 April 2019, H2S Media

eCommerce Search & Personalization
6 May 2018, SitePoint

First woman to earn a Ph.D. honored with 'Google Doodle'
5 June 2019, The Jerusalem Post

provided by Google News

PingCAP offers titanium bullet to switch to its HTAP database
22 January 2019, DevClass

How TiDB combines OLTP and OLAP in a distributed database
17 October 2018, InfoWorld

TiDB developer PingCAP wants to expand in North America after raising $50M Series C
11 September 2018, TechCrunch

Percona Unveils Stellar Keynote Schedule for Eighth Annual Percona Live Open Source Database Conference
9 May 2019, GlobeNewswire

China’s Biggest Startups Ditch Oracle and IBM for Home-Made Tech
24 June 2019, Bloomberg

provided by Google News

Job opportunities

NoSQL Database Administrator
Hewlett Packard Enterprise, Houston, TX

Database Administrator - Mongo
Allscripts, United States

MongoDB Database Administrator
Coso IT, San Jose, CA

Full Stack JavaScript Engineer
Red Ventures, Charlotte, NC

Full Stack Engineer : 19-00959
Akraya Inc., San Jose, CA

jobs by Indeed




Share this page

Featured Products

Couchbase logo

SQL + JSON + NoSQL.
Power, flexibility & scale.
All open source.
Get started now.

RavenDB logo

Setup a fully managed RavenDB Cloud Database in minutes. Enjoy hosting, management, backups all in one place.
Grab a Free Instance

Neo4j logo

Get your free copy of the new O'Reilly book Graph Algorithms with 20+ examples for
machine learning, graph analytics and more.

Redis logo

Hosted, serverless DBaaS
in 3 steps.

30MB Free!
Start now.


Datastax logo

Build data-driven applications that set the standard for performance, availability,
& scale with DataStax.
Learn more.

Present your product here