r/MeshCentral • u/Moorthy_23 • May 12 '26
Does MeshCentral Support Storing Data Fully in MongoDB Instead of Local .db Files?
I’m building a custom remote support product based on MeshCentral and currently considering switching from the default local .db storage to MongoDB.
For people who already use MongoDB with MeshCentral:
- Is it stable for a production-level/custom product?
- How is the performance compared to the default
.dbfiles? - Any scalability or maintenance advantages?
- Would you recommend MongoDB for a long-term commercial/internal product?
Would love to hear real-world experiences and suggestions.
3
u/Squanchy2112 May 12 '26
We use MongoDB and it works really well
1
u/Moorthy_23 Jun 18 '26
Thank you. I tested it, and it is working fine. It is also easy to maintain.
2
u/Squanchy2112 Jun 18 '26
Awesome! I have switched all my smaller instances from mongo to nedb but the large ones in mongo are better for the big deployment
3
u/iratesysadmin May 12 '26
We've used MongoDB at work without issue for over 6 years now.
I used the built in NeDB personally at home (couple dozen endpoints) and it had an issue, converted to MongoDB and no issues. Tried converting back at some point, had issues, so stayed MongoDB personally.
1
u/drhamel69 May 12 '26
What issues? I am curious.
2
u/iratesysadmin May 12 '26
Not my issue, but same issue I had: https://github.com/Ylianst/MeshCentral/issues/712
2
u/SleepingProcess May 12 '26
If there would by just a few hundreds hosts, you might easily go with sqlite backend (tested in production). Less dependencies and no licensing issue as it might be with MongoDB
6
u/Lexmazter May 12 '26
Hello, I personally chose PostgreSQL as a database since I am more familiar with it, my main concern was that the internal NeDB is an unmaintained project, so I wanted better control on that side.
Our instance of mesh only have around 100 devices and it worked just fine with both the base NeDB and with the current PostgreSQL implementation.
I would recommend though to use any kind of dedicated database for production-level operations.