0% found this document useful (0 votes)
108 views

Mongo DB Comparison With Influxdb: Compared Mongo With Postgres Nosql Product Timescaledb, According Timescaledb Blog

MongoDB is a cross-platform document-oriented database that uses JSON-like documents and schema-less design. According to blogs and benchmarks, InfluxDB outperformed MongoDB for time series workloads by providing 2.4x greater write throughput, using 20x less disk space, and delivering 5.7x higher query performance. A comparison table shows that InfluxDB is designed for time series data while MongoDB can handle both time series and generic document-based workloads.

Uploaded by

Aditya Ganguly
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
108 views

Mongo DB Comparison With Influxdb: Compared Mongo With Postgres Nosql Product Timescaledb, According Timescaledb Blog

MongoDB is a cross-platform document-oriented database that uses JSON-like documents and schema-less design. According to blogs and benchmarks, InfluxDB outperformed MongoDB for time series workloads by providing 2.4x greater write throughput, using 20x less disk space, and delivering 5.7x higher query performance. A comparison table shows that InfluxDB is designed for time series data while MongoDB can handle both time series and generic document-based workloads.

Uploaded by

Aditya Ganguly
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

MONGO DB comparison with INFLUXDB

MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL


database program, MongoDB uses JSON-like documents with schema

Compared Mongo with Postgres NoSQL product TimescaleDB , according


TimescaleDB blog
Two architecture of MongoDB
MongoDB naïve has fast writes and is extremely simple to implement, but offers poor
query performance and disk space usage
MongoDB aggregate method achieves good query performance on simple queries, but has
worse write performance, higher implementation complexity, and fails to deliver good
query performance on more complex time-series queries when compared to TimescaleDB

According to blogs in Influx website


compare the performance and features of InfluxDB and MongoDB for common time series
workloads, specifically looking at the rates of data ingestion, on-disk data compression, and
query performance
InfluxDB outperformed MongoDB in all three tests with 2.4x greater write throughput, while
using 20x less disk space, and delivering 5.7x higher performance when it came to query
speed

Link : https://db-engines.com/en/system/InfluxDB%3BMongoDB

Comparison Table

Influx MongoDB
Primary database Time Series DBMS Document store
model
Predefined Datatypes Numeric data and strings String, integer, float,
double, Boolean, date,
geospatial
Server side scripts No Javascripts
Storage technique TSM tree Map-reduce
Server operating Linux Linux
OS X
systems OS X
Solaris
Windows
Secondary indexes No Yes
Replication methods (Selectable replication Master slave replication
factor)Only in Enterprise
(methods for redundantly
version
storing data in multiple
nodes)
Possibilities Time-Series based TimeSeries workload,
workloads(exclusively) Document based storage &
serach

Additional Links : http://get.influxdata.com/rs/972-GDU-


533/images/InfluxDB_vs_MongoDB.pdf
https://opsmatters.com/white-papers/benchmarking-influxdb-vs-mongodb-time-series-data-
metrics-and-management

You might also like