Software Alternatives & Reviews

TiDB VS MongoDB

Compare TiDB VS MongoDB and see what are their differences

TiDB logo TiDB

A distributed NewSQL database compatible with MySQL protocol

MongoDB logo MongoDB

MongoDB (from "humongous") is a scalable, high-performance NoSQL database.
  • TiDB Landing page
    Landing page //
    2023-09-26
  • MongoDB Landing page
    Landing page //
    2023-10-21

TiDB videos

Hands-On TiDB - Episode 1: A Brief Introduction to TiDB

More videos:

  • Review - TiDB Contributor 学习之路
  • Tutorial - TiDB Binlog Tutorial

MongoDB videos

MySQL vs MongoDB

More videos:

  • Review - The Good and Bad of MongoDB
  • Review - what is mongoDB

Category Popularity

0-100% (relative to TiDB and MongoDB)
Databases
5 5%
95% 95
NoSQL Databases
4 4%
96% 96
Relational Databases
7 7%
93% 93
Key-Value Database
100 100%
0% 0

User comments

Share your experience with using TiDB and MongoDB. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare TiDB and MongoDB

TiDB Reviews

20+ MongoDB Alternatives You Should Know About
TiDB is another take on MySQL compatible sharding. This NewSQL engine is MySQL wire protocol compatible but underneath is a distributed database designed from the ground up.
Source: www.percona.com

MongoDB Reviews

Announcing FerretDB 1.0 GA - a truly Open Source MongoDB alternative
MongoDB is no longer open source. We want to bring MongoDB database workloads back to its open source roots. We are enabling PostgreSQL and other database backends to run MongoDB workloads, retaining the opportunities provided by the existing ecosystem around MongoDB.
16 Top Big Data Analytics Tools You Should Know About
The database added a new feature to its list of attributes called MongoDB Atlas. It is a global cloud database technology that allows to deploy a fully managed MongoDB across AWS, Google Cloud, and Azure with its built-in automation for resource, workload optimization and to reduce the time required to handle the database.
9 Best MongoDB alternatives in 2019
MongoDB is an open source NoSQL DBMS which uses a document-oriented database model. It supports various forms of data. However, in MongoDB data consumption is high due to de-normalization.
Source: www.guru99.com
20+ MongoDB Alternatives You Should Know About
If you’re not ready for a major migration effort, there is one more solution for you – Percona Server for MongoDB. Based on MongoDB Community, and enhanced by Percona with Enterprise Features, Percona Server for MongoDB offers 100% compatibility. As we wrote in a previous post, we commit to shipping a supported AGPL version until the situation around SSPL is clearly resolved.
Source: www.percona.com

Social recommendations and mentions

MongoDB might be a bit more popular than TiDB. We know about 15 links to it since March 2021 and only 15 links to TiDB. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

TiDB mentions (15)

  • A MySQL compatible database engine written in pure Go
    Tidb has been around for a while, it is distributed, written in Go and Rust, and MySQL compatible. https://github.com/pingcap/tidb. - Source: Hacker News / 17 days ago
  • Ask HN: Who is hiring? (January 2023)
    PingCAP | https://www.pingcap.com | Database Engineer, Product Manager, Developer Advocate and more | Remote in California | Full-time We work on a MySQL compatible distributed database called TiDB https://github.com/pingcap/tidb/. - Source: Hacker News / over 1 year ago
  • Apache Pegasus – A a distributed key-value storage system
    Isn't TiDB built on top of TiKV?[0] [0]: https://github.com/pingcap/tidb. - Source: Hacker News / over 1 year ago
  • What is your experience with mixed workload (OLTP and OLAP) databases?
    OLTP usually comes with high throughput of transactions, which means usually write(e.g., IUD - insert, update, delete) to read (e.g., select) ratio is above 4 or 5 or even higher. There are some good benchmarks to test OLTP workload like TPC-C (https://www.tpc.org/tpcc/), and some benchmarks to test OLAP workload like TPC-H (https://www.tpc.org/tpch/). For mixed or hybrid OLTP and OLAP (it's called HTAP, see this... - Source: Hacker News / almost 2 years ago
  • NewDB: Fate of an Open Source Database
    I am very agree with some options of this blog. As the maintainer of the open source distributed database TiDB https://github.com/pingcap/tidb, we also face the same problem of choice. We have a community version, an enterprise version(of course, we must sell it to our customers to earn money) and also a cloud service named TiDB cloud. Seven years before, we started to build TiDB to solve MySQL sharding problem,... - Source: Hacker News / almost 2 years ago
View more

MongoDB mentions (15)

  • DocumentDB Elastic Cluster Pricing
    Does anyone know if the most basic Elastic Cluster instance of DocumentDB carries any monthly fixed cost or is it just on-demand cost? Another words if I run like 10,000 queries against the DB per month, what kind of bill would I expect? This is for a super small app. I am currently using mongodb free tier , but want to migrate everything to AWS. Can't seem to find a straight answer to the pricing question. Source: over 1 year ago
  • I wrote some scripts for converting the UTZOO Usenet archive to a Mongo Database
    You can use either MongoDB.com's dashboard (if you host a remote database) or Mongo Compass to run queries on the data or you can modify the express middleware with your own queries. I'm still working on the API, so it's not very robust yet. I will update this when it is. Source: over 1 year ago
  • Is the internet off in Russia ?
    Mongodb.com and many other services that don't work with russians anymore. Source: over 1 year ago
  • Unable to POST, Strange HTTP Response
    If I go to mongodb.com, I can see that no data has been posted to the database. However, the logs DO show that my requests have been received. Source: over 1 year ago
  • MongoDB, Inc. gives your information to other companies
    I recently made an account on mongodb.com, and soon after, I saw checked my Facebook advertisement settings and saw that MongoDB was targeting me through "uploaded a list to target you". Very likely they sell or use your information on/to other platforms and companies too. Source: over 1 year ago
View more

What are some alternatives?

When comparing TiDB and MongoDB, you can also consider the following products

Redis - Redis is an open source in-memory data structure project implementing a distributed, in-memory key-value database with optional durability.

Apache Cassandra - The Apache Cassandra database is the right choice when you need scalability and high availability without compromising performance.

PostgreSQL - PostgreSQL is a powerful, open source object-relational database system.

ClickHouse - ClickHouse is an open-source column-oriented database management system that allows generating analytical data reports in real time.

MySQL - The world's most popular open source database

BangDB - BangDB is Real-time Data Platform for Building Modern Apps