3/24/2023 - MongoDB
Looking to get away from standard Relational DBs?
Last updated
Looking to get away from standard Relational DBs?
Last updated
Mongo DB is a NO-SQL DB, offering support for documents
inside collections
. This allows for a wide range of data structures, similar to JSON, with depth and no table strictness. Obviously this isn't always desired for all use cases, however it has numerous benefits. I tend to use Mongo for many of my personal projects, simply because the amazing free tiers they offer, ease of use from packages within Python or Node.js, and the ability to not have to configure local / hosted machines for a SQL Server.
Most data is stored in RAM (on Mongo's server-side), allowing for fast queries
Simplicity: Mongo has out of the box support for any data structure, free of charge!
Sharding: Larger datasets are able to utilize sharding (dividing horizontally - multiple servers)
No support for JOINs (have to query both collections for example)
Indexing is confusing
High memory usage & non-normalized databases