TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to store time-series data in MongoDB, and why that’s a bad idea

13 pointsby RobAtticusabout 7 years ago

1 comment

akulkarniabout 7 years ago
tl;dr<p>- MongoDB good for some things, but not time-series data<p>- In fact TimescaleDB sees 20% higher inserts, up to 1400x faster queries, and a much simpler query language (read: SQL)<p>- But if you still want to store time-series data in MongoDB, this post presents two different ways of doing so, with trade-offs