MongoDB vs MySQL
Two sides of the database decision: managed database and run it yourself. When each fits, what it costs, who moves from one to the other, and what makers who chose it say.
Which fits you
- Document-shaped data and teams already fluent in Mongo.
Use it whenYour team already knows Mongo, or your records vary so much in shape that a fixed schema gets in the way.
Trade-offNo joins or schema by default, so relational data and migrations take discipline you'd get for free in Postgres.
- PHP, Laravel, WordPress and Rails stacks, and teams that already know MySQL well.
Use it whenYour framework, host or existing data already assumes MySQL, or you're joining a codebase built on it.
Trade-offFewer extensions and advanced types than Postgres, so most new tooling (vectors, JSON-heavy work) targets Postgres first.
At a glance
| Used by | 131 makers' products · 148 open-source projects | 6 makers' products · 178 open-source projects |
|---|---|---|
| Cost at default usagedatabase size 8 GB, data transfer 50 GB, document or row reads 10 million reads, document or row writes 2 million writes | $58/mo Atlas Dedicated M10 | — |
| Downloads | 14.5M/wk−45% vs npm | 14.3M/wk+17% vs npm |
| Pricing | Free Atlas tier; paid clusters by size. · paid from $0.011/hour | Free (open source Community Edition); managed versions are sold by cloud providers. |
| Free tier | Yes | Yes |
| Open source | No · self-hostable | Yes · self-hostable |
| Incidents, 90 daysfrom its status page | 19 (7 major) | no public status feed |
What makers say
Makers on using it for database, from Product Hunt and Starter Story interviews, each linked to the source. Products with a page of their own and fuller notes first.
Shoutout to MongoDB for providing a powerful, flexible database solution that scales with our needs. Your platform helps us manage and analyze vast amounts of data seamlessly!
…nd technology infrastructure: Amazon Web Services (AWS) , Google Analytics , Qovery , and MongoDB Email Marketing: Sendgrid Social Media: Buffer for automation and Canva for design Freela…
…>Salesforce , Hubspot , HeyMantle Customer Support: Intercom Insights: MixPanel Database: MongoDB Hosting: AWS Internal Communications: Slack Creative Design: Figma + Canva Video recordin…
We needed a structured and reliable database to handle team interactions and activity tracking effortlessly. It’s the pizza vault where every slice sent, received, and celebrated is safely stored! 🍕📦
This relational database is known for its reliability and extensive adoption. It benefits from a large community and ample resources for support and learning. By adhering to SQL standards, it eases development and migration processes. Additionally, it provides flexible scalability options, both horizontal and vertica…
We chose MySQL for its reliability, speed, and flexibility, ensuring efficient data management and scalability for our project.
Loved and watch-outs
Themes that recur in makers' words and Hacker News comments, each linked to what it summarises.
- The flexible document model lets fast-changing products evolve their data without rigid migrations. PHPH 2PH 3HN
- Atlas starts on a free tier and handles scaling, backups and monitoring, so there is little database to manage. PHPH 2PH 3PH 4
- Atlas Vector Search keeps embeddings next to regular documents, so RAG and agent data combine vector and structured queries. PHHN
- Its history of unsafe defaults and lost writes left a lasting reputation that still keeps many developers away. HNHN 2HN 3HN 4
- Anything beyond simple reads and writes is hard, and aggregation pipelines feel primitive next to SQL, which costs more over time. HNHN 2
- Indexes are kept in memory, so larger datasets demand a lot of server RAM. HN

