Try our new research platform with insights from 80,000+ expert users

ClickHouse vs MongoDB comparison

 

Comparison Buyer's Guide

Executive Summary
 

Categories and Ranking

ClickHouse
Ranking in Open Source Databases
8th
Average Rating
8.8
Number of Reviews
9
Ranking in other categories
Vector Databases (11th)
MongoDB
Ranking in Open Source Databases
5th
Average Rating
8.2
Number of Reviews
76
Ranking in other categories
NoSQL Databases (1st), Managed NoSQL Databases (7th)
 

Featured Reviews

Dmitriy Yugin - PeerSpot reviewer
Jul 8, 2024
Can set it up on computer and run queries without depending on the cloud
The tool is open-source, so you don't need to pay for the software itself. However, you need to consider hardware costs and maintenance. A small company can install it on a company computer. For larger companies, you might need to hire a team for maintenance and consider data safety and privacy issues. Integrating ClickHouse with other tools in our data stack was easy. It has native connections to many tools, such as Google and Amazon cloud solutions, and can easily connect with other databases. For beginners, the ease of use depends on your background. If you're familiar with relational databases, it's easy. If not, you might need to read the documentation or ask for support.
Hamidul Islam - PeerSpot reviewer
Jan 20, 2023
Lightweight with good flexibility and very fast performance for searching data
I used the solution in the production level to search data and create education-based tutorials for a project. We had 30 managers, senior architects, tech leads, and software engineers working on the project.  Currently, I use the solution for my personal work.  The solution has good flexibility…

Quotes from Members

We asked business professionals to review the solutions they use. Here are some excerpts of what they said:
 

Pros

"If you have a real-time basis, you should take a look at ClickHouse because it works on a vector database, and the querying is super fast compared to traditional databases."
"The main feature of ClickHouse is the optimizer because we had too many records to deduplicate, and the optimizer took this task by itself."
"The best thing about the tool is that I can set it up on my computer and run queries without depending on the cloud. This is why I use it every day."
"It's easier to work with big data and calculations using the product."
"ClickHouse is much faster than traditional databases like MySQL and MongoDB. Its column-row searching strategy makes it very efficient. With ClickHouse, we can manage multiple databases, automatically insert data from other databases and delete data as needed. It supports real-time query performance, allowing simultaneous data insertion and retrieval. ClickHouse has improved significantly over the past two years, adding more functions and queries, as well as top functionality."
"The tool's most valuable feature is a database. It supports portal APIs and offers good flexibility."
"We faced a challenge with deploying ClickHouse onto Kubernetes. Recently, we've been using ClickHouse Cloud, and the main issue is the high cost of the cloud service. The pricing isn't very competitive, especially for startups. I would instead buy a server and self-host if I have enough disk space. Besides that, ClickHouse has done very well, with clear goals and effective execution."
"The tool is column-based and infinitely scalable."
"The integration capabilities of MongoDB are fine for the solutions that we use in our company."
"MongoDB has a simple data-loading interface."
"I like that MongoDB has a free version. You can also buy the enterprise edition, which is cheaper than Oracle."
"The solution does not hold data in tabular format like SQL does but rather clusters data so that it can link on a large scale."
"I think that MongoDB isn't too structured, and that's good for our technical team because they are able to search through the database better than if they are using SQL Server."
"It's easy to add and remove things in MongoDB. You can alter the tables. MongoDB is faster at reading, slower at writings."
"The most valuable features of MongoDB include the flexible schema for storing data, its replication capabilities with high availability through a replica set setup, and horizontal scalability using sharding."
"MongoDB is relatively fast compared to relational databases."
 

Cons

"I would like ClickHouse to work more on integration with third-party tools."
"We had a lot of troubles while deploying a whole cluster."
"ClickHouse has its own concept of database triggers and doesn't support traditional database triggers."
"There are some areas where ClickHouse could improve. Specifically, we encountered incompatibilities with its SQL syntax when migrating queries from MySQL or SQL to ClickHouse. This difference in details made it challenging to figure out the exact issues. Additionally, we faced difficulties due to the lack of a proper Django driver for ClickHouse, unlike MySQL, which Django supports out of the box."
"One issue is that you need persistent volumes. Otherwise, if one system goes down, you lose data in that cluster."
"Initially, I faced challenges integrating ClickHouse, particularly with inserting data from ActiveMQ, which caused duplicates. However, after adjusting the ClickHouse settings, the issue was resolved and there were no more duplicates."
"If you join our team, it should be easy for you to use ClickHouse, especially if you are a developer. However, you need to read the documentation and understand the problems you are trying to solve."
"The aggregation capability is a valuable feature. It's highly efficient, allowing us to review entire transaction histories and user activities in the market. We've tried MongoDB, Postgres, MariaDB, and BigQuery, but ClickHouse is the most cost-efficient solution for collecting data at high speeds with minimal cost. We even used ClickHouse Cloud for a month, and it proved to be a great setup, especially for startups looking to handle big data. For example, if there is a need for 2-4 terabytes of data and around 40 billion rows with reasonable computing speed and latency, ClickHouse is ideal. Regarding the real-time query performance of ClickHouse, when using an API server to query it, I achieved query results in less than twenty milliseconds in some of my experiments with one billion rows. However, it depends on the scenario since ClickHouse has limitations in handling mutations. Additionally, one of ClickHouse's strengths is its compression capability. Our experimental server has only four terabytes, and ClickHouse effectively compresses data, allowing us to store large amounts of data at high speed. This compression efficiency is a significant advantage of using ClickHouse."
"It could be more stable. It would be better if it were more user-friendly like Oracle, which is very easy. For example, creating an index is simple in Oracle. In MongoDB, it's quite challenging to do that. Performance could be better. It's fast and good, but you cannot put every application that you would like to in MongoDB."
"The improvements could be made to intelligence to detect disk storage and prevent MongoDB from crashing."
"The scalability of the solution has room for improvement."
"I feel that most people don't know a lot about MongoDB, so maybe they could add some more documentation and tutorials."
"Its security features can be better. Sometimes, my higher authority says that we are not going to use MongoDB because it doesn't provide that much security for the RDBMS or relational data that we use for transactions. Instead of MongoDB, we will use Oracle Database because for a transactional service, you have to rely on RDBMS ACID properties. I would love to work on MongoDB by using my mobile phone. When I am working remotely or traveling and have some instances deployed on my server, I should be able to check through my mobile whether all the data is being pulled. GitHub has a similar feature, where it lets you read from the laptop, and you can also pull and push with your mobile phone. I would request MongoDB to provide such a feature. Basically, I want a mobile version for both iOS and Android versions."
"I rate the support from MongoDB a four out of five."
"MongoDB should better support small and medium companies. There are a lot of clients out there that are interested, however, they need something lighter and less complex and something not so expensive upfront."
"The solution should more easily integrate with custom code."
 

Pricing and Cost Advice

"The tool is open-source."
"If you have an in-house deployment on Kubernetes or something, it's going to be very cheap since you'll be managing everything."
"ClickHouse has an open-source version, which is free to use and has almost all the features."
"ClickHouse Cloud is not expensive compared to other databases, costing a few dollars per month while providing fast performance."
"For pricing, if you use the self-hosted version, it would be free. Cloud services pricing would be an eight out of ten. I try to minimize costs but still have to monitor usage."
"We used the free, community version of ClickHouse."
"The tool is free."
"MongoDB is an open-source solution."
"The pricing is favorable if you opt to install MongoDB on an Amazon EC2 instance as you won't have to pay for the extra Atlas services and can instead manage the scaling yourself. This allows for a cost-effective solution and using MongoDB on a small scale, I have been able to utilize it for free."
"At the moment, all customers are using the community version."
"You only have to pay for the paid version, not the open-source version."
"There is an annual subscription for the use of this solution."
"MongoDB is a bit expensive compared to its competitors."
"It's open-source."
"MongoDB has a free version. You can also buy the enterprise edition, which is cheaper than Oracle."
report
Use our free recommendation engine to learn which Open Source Databases solutions are best for your needs.
814,649 professionals have used our research since 2012.
 

Top Industries

By visitors reading reviews
Computer Software Company
28%
Educational Organization
18%
Manufacturing Company
9%
University
8%
Financial Services Firm
16%
Computer Software Company
14%
Manufacturing Company
7%
University
6%
 

Company Size

By reviewers
Large Enterprise
Midsize Enterprise
Small Business
 

Questions from the Community

What needs improvement with ClickHouse?
There aren't too many improvements I'd suggest for ClickHouse as it covers all my needs. There are just a few technical issues. For example, sometimes, when you want to get unique values and use ce...
What is your primary use case for ClickHouse?
I used ClickHouse to collect data, put it in the database, and then analyze it to find insights. The main advantage is that I can install it on my computer instead of using cloud-based solutions, s...
What do you like most about MongoDB?
MongoDB's approach to handling data in documents rather than traditional tables has been particularly beneficial.
What is your experience regarding pricing and costs for MongoDB?
MongoDB is free of charge. that said, there is also a paid version. We use both free and paid versions.
What needs improvement with MongoDB?
The free tools, like MongoDB Compass, could be enhanced. This is especially relevant for the IDEs or similar tools.
 

Comparisons

 

Overview

 

Sample Customers

Information Not Available
Facebook, MetLife, City of Chicago, Expedia, eBay, Google
Find out what your peers are saying about ClickHouse vs. MongoDB and other solutions. Updated: October 2024.
814,649 professionals have used our research since 2012.