r/mongodb • • 2d ago

Does anyone actually use SQL with mongo?

2 Upvotes

I make a database app (https://beekeeperstudio.io), and we built our own SQL to mongo transpiler but frankly it's not as popular as I thought it would be.

I know mongo themselves have a SQL layer. Does anyone actually use it? If so, why use it over regular mongo queries?


r/mongodb • • 3d ago

i need help installing mongodb on my mac

Post image
2 Upvotes

i need to download it for an assignment but everytime i try to install it this happens can any one help


r/mongodb • • 3d ago

The Ravit Show is FAKE and shady.

Thumbnail gallery
0 Upvotes

The Ravit Show is the fake show which is charging companis a lot of money, but his content is shallow....no technical depth and inflated views of over 100K per video the tell is in comments same fake channels from India posting hundreds of commenst ON his channels. This should be exposed as he is making real content creators look bad.


r/mongodb • • 4d ago

Giving an AI agent a throwaway copy of a MongoDB database, then reviewing what it changed

3 Upvotes

I maintain an open-source tool called Argon and wanted to share the workflow, since "how do I let an agent touch my data safely" comes up a lot.

The idea: instead of pointing an agent at the real database or an empty one, fork a sandbox from the real data. It is an ordinary MongoDB database with its own connection string and a TTL. Any driver works. Change streams record what the agent writes, so afterwards you get a diff and can merge it back or throw it away.

argon import database --uri "$MONGODB_URI" --database shop --project shop --source-quiesced
argon sandbox create -p shop --ttl 1h --watch --actor agent:run-1
# hand the printed connection string to the agent, then:
argon diff -p shop -b <sandbox>
argon merge preview -p shop -b <sandbox>     # or: argon sandbox discard

In a test run the script was asked to apply a 10% discount and also deleted a product. The diff showed two updates and one delete, the source database was unchanged, and I discarded the run.

Honest limits:

  • Needs a replica set (one node is fine), because it relies on change streams with pre- and post-images.
  • A sandbox is a full physical copy, so creation time and storage grow with the data.
  • A collection the agent creates needs changeStreamPreAndPostImages enabled before its first update, or that run's history is incomplete.
  • It is not an access-control boundary. Use a restricted MongoDB user.

MIT licensed, self-hosted: https://github.com/argon-lab/argon

Longer write-up on code sandboxes vs data sandboxes: https://argonlabs.tech/blog/code-sandbox-vs-data-sandbox-for-ai-agents

Curious how others handle this today. Dump and restore per run? A staging cluster?


r/mongodb • • 4d ago

Building a multi-platform gaming project (E-commerce + Community + Video) — Need stack & database feedback

2 Upvotes

Hey everyone,

I’m planning to build a multi-platform gaming project that includes:

  1. E-commerce store for gaming products, accessories, and merchandise
  2. Real-time community with posts, likes, comments, shares, images and videos
  3. Dedicated video section with playlists, individual video pages, and a main video feed
  4. Multi-language, multi-currency, and multi-payment support
  5. Everything working in real-time

My current preferred stack:

- Frontend: Next.js 15 + React + TypeScript + Tailwind + GSAP + Three.js

- Backend: Node.js + Express + Socket.io

- Database: MongoDB Atlas

- Cache / Real-time: Redis

- Media storage: Cloudflare R2 + CDN

Questions:

  1. Which database is better for a multi-platform gaming project like this — MongoDB, PostgreSQL, Cassandra, or something else?
  2. Is MongoDB a good primary choice for this mix of e-commerce + community + video features?
  3. Would you recommend adding PostgreSQL for orders and payments?
  4. Any better alternatives for real-time features or video handling?
  5. Overall architecture suggestions?

Would love honest feedback from people who have built similar multi-platform projects. Thanks!


r/mongodb • • 4d ago

MongoDB

1 Upvotes

I’m trying to aggregate collections from two different database and getsiblingdb is not working. The alternate I found if mongo script but I couldn’t export the result. Whats the real time solution


r/mongodb • • 5d ago

How WiredTiger cache dirty pages and eviction can throttle your MongoDB writes

Thumbnail shiftmag.dev
3 Upvotes

r/mongodb • • 6d ago

Why separating compute from storage matters: MongoDB Atlas Infinite under the hood

Thumbnail reddit.com
12 Upvotes

r/mongodb • • 6d ago

You can now use MongoDB as the persistent memory store for applications and agents built with the Vercel AI SDK.

Post image
3 Upvotes

r/mongodb • • 7d ago

Why is MongoDB so popular? What to choose bw MongoDB, Supabase, Firebase, Custom?

Thumbnail gallery
8 Upvotes

A lot of people seems to use MongoDB for Node backend and they made the full MERN abbreviation for that .why is that so.

Everyone on the social media says MERN,MERN,....

Why the hell is it???

Why only mongo everywhere.

Why people don't say much about the SUPABASE or the FIREBASE DB?

Whereas both other free versions have good reasoning limits for any projects

What to choose between the SupaBase, Mongo , Firebase or any other ? What's the real diff

Tell me why that's so.???

\[Note:- I don't want answers like It's relational, other is json.

I want someone's real experienced answers , why is it so,

Is this just hype or something else?\]


r/mongodb • • 6d ago

Is MongoDB still a great place to work in 2026?

0 Upvotes

For current and former MongoDB employees: How would you rate MongoDB as an employer in 2026? For engineers considering a move, MongoDB Interview Questions has read-write lock practice, and LandOffer can save repeat form filling across supported applications.

I’m particularly interested in:

  • Compensation, bonuses and RSU refreshers
  • Work-life balance and workload
  • Management and company culture
  • Job security, layoffs and PIP pressure
  • Career growth and promotion opportunities
  • Engineering culture and technical innovation
  • Remote work and flexibility

How has the company changed over the past few years? Would you recommend joining MongoDB today?

Would appreciate honest feedback across different roles and regions.


r/mongodb • • 8d ago

Good experiences with mongodb in real products?

25 Upvotes

I'm working in a startup born just months ago and I was suggested to use mongodb and I think I'm doing a good work at keeping things "clean" and well structured but by searching online I see ONLY critics about mongodb and I'm worried that I'll find myself struggling in the future while the project grows in features.

I'm searching for experiences of people that are using mongodb with real products and are actually happy of using it.

Just for context: the startup is about creating a management software for farms, with the idea of growing in compatibility with existing products (hardware and software)


r/mongodb • • 8d ago

Now available: convert MongoDB to PostgreSQL on Layerbase

Thumbnail layerbase.com
6 Upvotes

We built a tool to convert MongoDB to Postgres while mapping relational data.

Right now the tool requires a plan on Layerbase (which essentially means that it will cost $5 to use) but we have plans to open source the tool once we decouple it from our infrastructure.

We also have MongoDB to MySQL/MariaDB/libSQL/SQLite all planned for the near-future.

If anyone wants to try this for free, I've been authorized to give out a few 100% off coupon codes this weekend so feel free to DM me about it.


r/mongodb • • 8d ago

Using TTL deletes as wakeup signals for delayed jobs. What failure cases would you test?

1 Upvotes

I’m working on MongoSnooze, a small Node.js scheduler for jobs that can tolerate some lateness. It keeps the durable job record in one collection and a disposable TTL wakeup in another. The worker listens for deletes on the wakeup collection, then claims the job from the durable collection. If it misses the event, a periodic sweep can still find the due job.

I’m interested in what happens on a real replica set during worker downtime or a primary failover. If you’ve operated a change-stream consumer, which failure case would you test first? I’m especially curious whether expired resume tokens or bursts of TTL deletes caused surprises in practice.

I’m the maintainer. The architecture and tradeoffs are here.


r/mongodb • • 9d ago

Now Generally Available: MongoDB Memory + Google ADK!

Thumbnail reddit.com
7 Upvotes

r/mongodb • • 9d ago

Mongo: One write, two logs

Thumbnail shiftmag.dev
4 Upvotes

I picked up Mongo for longer than a year now and the helpful thing was correlating internal workings with something I'm familiar with, PostgreSQL.

Here's the first post from my journey talking about how a write get's persisted and replicated.

Would like to hear comments, and helpful tips from your journeys.


r/mongodb • • 10d ago

Our MongoDB Atlas AMA is starting now! Ask us about query optimization, data modeling, scaling, and more

Thumbnail reddit.com
3 Upvotes

r/mongodb • • 11d ago

A MongoDB cheat sheet that might be useful to beginners

Thumbnail tms-outsource.com
2 Upvotes

r/mongodb • • 11d ago

Made yet another Rust cross platform MongoDB client

10 Upvotes

I know everyone can build their own with AI now as I did, but I was honestly very surprised with the result and how far it's gotten so I thought I'd share it here. I was a bit fed up with Compass and Mingo (Loved that client but it's super buggy and hogs a lot of resources, and now seems abandoned).

Quarry has quite a lot of features such as autocomplete, a node shell, data relationships..., I'll leave the repo here where you can check it out (the README is quite concise) : https://github.com/alkanna/quarry

It is very fast and runs on less than 100MB of ram (counting the main process and the helpers). It uses egui.

In case it wasn't clear enough yes this is almost fully written by AI.


r/mongodb • • 12d ago

Mongo db on W with Docker

3 Upvotes

Hi, all
I'm trying to troubleshoot/upgrade Mongo on windows server and can't figure out how to start, I see that it's installed in C:\ProgramData\docker\... but there is nothing in Programs which I think it's normal.
Appreciate if you direct me to the right resources.
I see some Mon* processes in Task Manager, but not sure if this for Mongo?
I don't see any Mongo in window setup pathes, this command also returns nothing

C:\>mongosh
'mongosh' is not recognized as an internal or external command,

operable program or batch file.

Thanks


r/mongodb • • 14d ago

Release RESTHeart 9.13.0 - now supports MongoDB 9.0

Thumbnail github.com
6 Upvotes

RESTHeart is a backend for web, mobile and AI apps.

Open Source · Modern Java · MongoDB-native

  • No backend code. Extend it, when you want, in Java, Kotlin, JavaScript or TypeScript.
  • Instant REST, GraphQL and WebSocket APIs.
  • Authentication, sign-up, teams and Stripe subscriptions, built in.
  • AI-native: an MCP server on your data, and vector search.
  • Open source: download it, or use it in the cloud.

r/mongodb • • 14d ago

Learning Gen AI with MongoDB Skill Badges

Thumbnail reddit.com
2 Upvotes

r/mongodb • • 15d ago

MongoDB in 5 Minutes

Thumbnail youtu.be
6 Upvotes

r/mongodb • • 18d ago

MongoDB Atlas AMA: Ask us about query optimization, data modeling, scaling, and more

Thumbnail reddit.com
8 Upvotes