r/mongodb • • 2h ago

After months of job rejections, I spent 2 years building a MongoDB GUI. It just got added to Microsoft's Azure docs.

4 Upvotes

After struggling to land a job in 2024, when the market was pretty rough, I decided to take a different route and build something real. My goal was simple: either build something genuinely useful or gain more experience than anything else could offer.

Two years and countless 90-hour weeks later, VisuaLeaf is now featured in Microsoft's Azure DocumentDB documentation as a client for connecting to its MongoDB-compatible database service:

https://learn.microsoft.com/en-us/azure/documentdb/how-to-connect-visualeaf

It started as a MongoDB GUI, so posting this announcement really means a lot to me since this was the subreddit that started it all.

From the beginning, I wanted every part of the database workflow to feel as straightforward as possible, from exploring nested documents and building queries to database management and integrating AI. VisuaLeaf has evolved quite a bit since I first shared it here.

Today, VisuaLeaf supports MongoDB, Postgres, MySQL, SQLite, DuckDB, and 40+ more database engines.

What it does:

  • Table + tree views built for nested documents: Expand nested objects and arrays directly into columns within the table instead of having to deal with json in 1 cell, or having a separate embedded view dedicated for an array. Both views stay smooth even with massive collections.
  • Visual query builder + MongoDB shell: Build queries by clicking or dragging fields directly from the table and tree views, or write commands in the built-in MongoDB shell with real-time syntax error highlighting and intelligent autocomplete. Generated queries are readable and can be copied or executed.
  • Data transfers with transformations: Move data between databases (Postgres → MongoDB, SQLite → MongoDB, MongoDB → MongoDB), mask sensitive fields, apply custom JavaScript transformations, and enrich data with lookups from other collections.
  • Compare and sync: Compare collection structures and data, preview differences, and synchronize databases between environments, with dry-run support.
  • AI / MCP:  The MCP server is read-only by default. You can grant write access per connection, so an agent can run aggregations, data transfers, or anything else the app can do. There's also a built-in assistant for quick tasks, similar to Compass's.
  • Sharding and clusters: manage shards on any sharded cluster (shard-key advisor, chunks, zones, balancer, resharding), or deploy and run your own self-hosted replica set or sharded cluster on Docker or Kubernetes.
  • ERDs, charts, dashboards, mock data, index management, query profilers, and a lot more than I can fit into one post
  • Performance:  I've stress-tested datasets up to 1.6 GB, and the tree can expand thousands of rows at once. Existing grid libraries like AG-Grid couldn't support the nested column expansion I wanted, so I built my own grid from scratch, which took roughly a year to develop and optimize. (In my testing, VisuaLeaf also loaded data several seconds faster than nearly all MongoDB GUIs I’ve tested it against).

There's a free version that covers what most people need day to day:

https://visualeaf.com

I'd really appreciate feedback! And happy to answer any questions!

PS. VisuaLeaf is the only app that actually supports MongoDB Version 3.4 and newer versions of MongoDB in one app (from what I’ve seen). 


r/mongodb • • 18h ago

MongoDB Acquires Firebolt to Bring Lightning-Fast Real-Time Analytics Into Its Intelligent Data Platform

Thumbnail mongodb.com
20 Upvotes

what do you guys think? Analytics play beneficial here? Are they trying to infringe on Snowflake/Databrick's turf (since I know Databricks has bought Neon, a postgres company). AI narrative?


r/mongodb • • 2h ago

I m new to mongo db and have to upload this assignment now This assignment needs to be done in MongoDB using mongosh (MongoDB Shell) or MongoDB Compass

1 Upvotes

i want screenshots to upload Please 1. Q1

5 marks

Create the four collections (mentioned in Problem Statement) in MongoDB.\

For posts and comments, justify in one line each whether userId should be embedded (storing user details directly inside the document) or referenced (storing only the _id and looking it up separately), and implement the chosen design consistently across all four collections.\

Insert one sample document into each collection and display it with find() to confirm the structure before proceeding.

Drag & drop or click to browsePDF, ZIP, DOCX, PNG, JPG, DOC, TXT up to 25MB · max 1 fileQ2. Data Population

5 marks

Q2 Insert at least 6 users, 10 posts (across different users), 15 comments (across different posts) and 20 likes (across different posts/users), ensuring enough variety to support later aggregation (e.g., at least one user with multiple posts, at least one post with no comments).

Then perform: (a) find() with a filter (e.g., posts by one specific user), (b) updateOne() to edit a post's content, (c) deleteOne() to remove one comment, showing the collection state after each operation.

Drag & drop or click to browsePDF, DOCX, DOC, JPG, PNG, ZIP, TXT up to 25MB · max 1 file

Q3. Aggregation pipelines

5 marks

Write three aggregation pipelines using $match, $group and $sort: (a) total likes per post, sorted descending, (b) total posts per user, (c) average number of comments per post across the whole posts collection.

Use $lookup in at least one pipeline to join posts with users and display the user's name alongside their post's like count.

Drag & drop or click to browsePDF, ZIP, TXT, DOCX, PNG, DOC, JPG up to 25MB · max 1 file

4. Q4. Index

5 marks

Create a single-field index on posts.userId and a compound index on comments covering postId and createdAt.

Re-run one query from Q3 before and after creating the relevant index, and compare the output of explain("executionStats") (documents examined, execution time) for both runs.

Drag & drop or click to browsePDF, ZIP, TXT, DOCX, PNG, DOC, JPG up to 25MB · max 1 file

You can submit once. Make sure all files are added.

Submit

Give each image for each question seperate


r/mongodb • • 2h ago

i m new to mongo db and have to upload this assignment now This assignment needs to be done in MongoDB using mongosh (MongoDB Shell) or MongoDB Compass

1 Upvotes

i want screenshots to upload Please 1. Q1

5 marks

Create the four collections (mentioned in Problem Statement) in MongoDB.\

For posts and comments, justify in one line each whether userId should be embedded (storing user details directly inside the document) or referenced (storing only the _id and looking it up separately), and implement the chosen design consistently across all four collections.\

Insert one sample document into each collection and display it with find() to confirm the structure before proceeding.

Drag & drop or click to browsePDF, ZIP, DOCX, PNG, JPG, DOC, TXT up to 25MB · max 1 fileQ2. Data Population

5 marks

Q2 Insert at least 6 users, 10 posts (across different users), 15 comments (across different posts) and 20 likes (across different posts/users), ensuring enough variety to support later aggregation (e.g., at least one user with multiple posts, at least one post with no comments).

Then perform: (a) find() with a filter (e.g., posts by one specific user), (b) updateOne() to edit a post's content, (c) deleteOne() to remove one comment, showing the collection state after each operation.

Drag & drop or click to browsePDF, DOCX, DOC, JPG, PNG, ZIP, TXT up to 25MB · max 1 file

Q3. Aggregation pipelines

5 marks

Write three aggregation pipelines using $match, $group and $sort: (a) total likes per post, sorted descending, (b) total posts per user, (c) average number of comments per post across the whole posts collection.

Use $lookup in at least one pipeline to join posts with users and display the user's name alongside their post's like count.

Drag & drop or click to browsePDF, ZIP, TXT, DOCX, PNG, DOC, JPG up to 25MB · max 1 file

4. Q4. Index

5 marks

Create a single-field index on posts.userId and a compound index on comments covering postId and createdAt.

Re-run one query from Q3 before and after creating the relevant index, and compare the output of explain("executionStats") (documents examined, execution time) for both runs.

Drag & drop or click to browsePDF, ZIP, TXT, DOCX, PNG, DOC, JPG up to 25MB · max 1 file

You can submit once. Make sure all files are added.

Submit

Give each image for each question seperate


r/mongodb • • 1d ago

Data migration

6 Upvotes

Hi,

We're using the Community Edition and want to migrate 20TB of data to a new cloud environment. Do you have any recommendations on the best approach, or any other advice you could share?


r/mongodb • • 4d ago

Does anyone actually use SQL with mongo?

4 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 • • 6d 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 • • 5d 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 • • 6d 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 • • 6d 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 • • 6d 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 • • 7d ago

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

Thumbnail shiftmag.dev
3 Upvotes

r/mongodb • • 8d ago

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

Thumbnail reddit.com
13 Upvotes

r/mongodb • • 8d 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 • • 9d 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 • • 8d 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 • • 10d ago

Good experiences with mongodb in real products?

26 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 • • 10d 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 • • 10d 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 • • 11d ago

Now Generally Available: MongoDB Memory + Google ADK!

Thumbnail reddit.com
7 Upvotes

r/mongodb • • 11d 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 • • 13d 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 • • 13d ago

A MongoDB cheat sheet that might be useful to beginners

Thumbnail tms-outsource.com
2 Upvotes

r/mongodb • • 13d 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.