software development

software development Community

50K+ Active Members 25K+ Questions Answered 100+ Categories
BR
Brian Thompson
Asked on 07-10-2026

Is there a limit to how many collections I can have?

I am planning to create a new collection for every user in my app to ensure complete isolation. My coworker says this is a bad idea, but why? Is there a hard limit or just a performance limit to how m...
Software Development
202 views
9 votes
GR
Greg Foster
Asked on 07-10-2026

How to store financial transactions securely?

I am working on a ledger application. I need to make sure my data is accurate and immutable. Is there a specific document structure for financial records that helps with auditing? I am worried about s...
Software Development
279 views
1 votes
TA
Tanvi Chiplunkar
Asked on 07-10-2026

Can I use MongoDB for real-time analytics?

I want to store user event logs and run aggregation queries to see real-time trends. My current approach is just dumping everything into a single collection, but the aggregations are getting slow. Wha...
Software Development
297 views
2 votes
WA
Wayne Patterson
Asked on 07-10-2026

How can I monitor document growth over time?

I am worried about my documents growing too large and causing fragmentation. Is there a way to track the average size of documents in a collection over time? I want to be proactive about re-shaping my...
Software Development
209 views
8 votes
PA
Patrick Fowler
Asked on 07-10-2026

What is the best way to monitor query performance?

I have a few endpoints that feel slow, but I do not know which specific queries are to blame. What tools should I be using to profile my database? I have heard of explain(), but I find the output real...
Software Development
308 views
6 votes
MA
Matthew Nelson
Asked on 07-10-2026

How to handle big int values?

I am working with large numbers that exceed the standard 64-bit integer size. Does MongoDB handle this natively or do I need to store them as strings? I am worried about sorting and filtering on these...
Software Development
334 views
15 votes
SU
Susan Albright
Asked on 07-10-2026

Why is my aggregation pipeline so slow?

I am running a complex aggregation to calculate monthly stats. It works on my dev machine with 100 docs, but it dies in production with 1 million docs. I am using group, match, and project. How do I d...
Software Development
157 views
10 votes
EL
Elizabeth Hall
Asked on 07-10-2026

How to handle localizing data in a global app?

My app is going global and I need to support multiple languages for product descriptions. Should I store each language as a nested object in the document, or use separate collections per locale? I wan...
Software Development
262 views
13 votes
KE
Kenneth Moore
Asked on 07-10-2026

When is it appropriate to use arrays in MongoDB?

I see conflicting advice online about using arrays in documents. Some say it is great for performance, while others warn about memory issues. If I have a list of tags or category IDs, is it better to ...
Software Development
321 views
7 votes
AR
Arthur King
Asked on 07-10-2026

How to handle field-level encryption?

I need to store sensitive user information like SSNs in my database. I know I should encrypt at rest, but what about field-level encryption? Is there a standard way to do this in the app layer so the ...
Software Development
154 views
4 votes

Still have questions? Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Book Free Session

Book Free Session